Salome HOME
Mantis issue 0021668: [CEA 564] MED2.1 to MED2.3
[modules/visu.git] / src / VISU_I / Makefile.am
1 # Copyright (C) 2007-2012  CEA/DEN, EDF R&D, OPEN CASCADE
2 #
3 # This library is free software; you can redistribute it and/or
4 # modify it under the terms of the GNU Lesser General Public
5 # License as published by the Free Software Foundation; either
6 # version 2.1 of the License.
7 #
8 # This library is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11 # Lesser General Public License for more details.
12 #
13 # You should have received a copy of the GNU Lesser General Public
14 # License along with this library; if not, write to the Free Software
15 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
16 #
17 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18
19 #  File   : Makefile.am
20 #  Author : Alexey Petrov
21 #  Module : VISU
22
23 include $(top_srcdir)/adm_local/unix/make_common_starter.am
24
25 # Libraries targets
26 lib_LTLIBRARIES= libVISUEngineImpl.la
27
28 salomeinclude_HEADERS = \
29         VISU_I.hxx \
30         VISUConfig.hh \
31         VISU_Gen_i.hh \
32         VISU_Tools.h \
33         VISU_Result_i.hh \
34         VISU_MultiResult_i.hh \
35         VISU_PrsObject_i.hh \
36         VISU_Table_i.hh \
37         VISU_ResultUtils.hh \
38         VISU_PointMap3d_i.hh \
39         VISU_Prs3d_i.hh \
40         VISU_Mesh_i.hh \
41         VISU_ColoredPrs3d_i.hh \
42         VISU_CorbaMedConvertor.hxx \
43         VISU_ScalarMap_i.hh \
44         VISU_IsoSurfaces_i.hh \
45         VISU_DeformedShape_i.hh \
46         VISU_Plot3D_i.hh \
47         VISU_CutPlanes_i.hh \
48         VISU_CutLinesBase_i.hh \
49         VISU_CutLines_i.hh \
50         VISU_CutSegment_i.hh \
51         VISU_Prs3dUtils.hh \
52         VISU_Vectors_i.hh \
53         VISU_StreamLines_i.hh \
54         VISU_GaussPoints_i.hh \
55         VISU_ViewManager_i.hh \
56         VISU_View_i.hh \
57         VISU_TimeAnimation.h \
58         VISU_Evolution.h \
59         VISU_DeformedShapeAndScalarMap_i.hh \
60         VISU_ColoredPrs3dCache_i.hh \
61         VISU_ColoredPrs3dHolder_i.hh \
62         VISU_ColoredPrs3dFactory.hh \
63         VISU_MonoColorPrs_i.hh \
64         VISU_Deformation_i.hh \
65         VISU_OptionalDeformation_i.hh \
66         SALOME_GenericObjPointer.hh \
67         VISU_ClippingPlaneMgr.hxx \
68         VISU_TableDlg.h
69
70 libVISUEngineImpl_la_SOURCES = \
71         VISUConfig.cc \
72         VISU_Tools.cxx \
73         VISU_Result_i.cc \
74         VISU_ResultUtils.cc \
75         VISU_MultiResult_i.cc \
76         VISU_Gen_i.cc \
77         VISU_CorbaMedConvertor.cxx \
78         VISU_PrsObject_i.cc \
79         VISU_Prs3d_i.cc \
80         VISU_Prs3dUtils.cc \
81         VISU_ColoredPrs3d_i.cc \
82         VISU_ScalarMap_i.cc \
83         VISU_GaussPoints_i.cc \
84         VISU_IsoSurfaces_i.cc \
85         VISU_DeformedShape_i.cc \
86         VISU_Plot3D_i.cc \
87         VISU_CutPlanes_i.cc \
88         VISU_CutLinesBase_i.cc \
89         VISU_CutLines_i.cc \
90         VISU_CutSegment_i.cc \
91         VISU_Vectors_i.cc \
92         VISU_StreamLines_i.cc \
93         VISU_DeformedShapeAndScalarMap_i.cc \
94         VISU_ColoredPrs3dCache_i.cc \
95         VISU_ColoredPrs3dHolder_i.cc \
96         VISU_ColoredPrs3dFactory.cc \
97         VISU_Mesh_i.cc \
98         VISU_ViewManager_i.cc \
99         VISU_TimeAnimation.cxx \
100         VISU_Evolution.cxx \
101         VISU_View_i.cc \
102         VISU_Table_i.cc \
103         VISU_PointMap3d_i.cc \
104         VISU_DumpPython.cc \
105         VISU_MonoColorPrs_i.cc \
106         VISU_Deformation_i.cc \
107         VISU_OptionalDeformation_i.cc \
108         SALOME_GenericObjPointer.cc \
109         VISU_ClippingPlaneMgr.cxx \
110         VISU_TableDlg.cxx
111
112 MOC_FILES = \
113         VISU_TimeAnimation_moc.cxx \
114         VISU_TableDlg_moc.cxx
115
116 nodist_libVISUEngineImpl_la_SOURCES= $(MOC_FILES)
117
118 # additionnal information to compil and link file
119 libVISUEngineImpl_la_CPPFLAGS= \
120         -ftemplate-depth-32 \
121         $(QT_INCLUDES) \
122         $(PYTHON_INCLUDES) \
123         @CAS_CPPFLAGS@ @CAS_CXXFLAGS@ \
124         $(VTK_INCLUDES) \
125         $(HDF5_INCLUDES) \
126         $(QWT_INCLUDES) \
127         $(BOOST_CPPFLAGS)\
128         $(KERNEL_CXXFLAGS) \
129         $(MED_CXXFLAGS) \
130         $(GUI_CXXFLAGS) \
131         $(CORBA_CXXFLAGS) $(CORBA_INCLUDES) \
132         -I$(srcdir)/../CONVERTOR \
133         -I$(srcdir)/../PIPELINE \
134         -I$(srcdir)/../OBJECT \
135         -I$(top_builddir)/idl
136
137 libVISUEngineImpl_la_LDFLAGS= \
138         $(KERNEL_LDFLAGS) \
139         $(GUI_LDFLAGS) \
140         $(MED_LDFLAGS) \
141         ../../idl/libSalomeIDLVISU.la \
142         $(PYTHON_LIBS) \
143         $(BOOST_LIB_SIGNALS) \
144         $(BOOST_LIB_THREAD)  \
145         $(BOOST_LIB_SYSTEM)  \
146         $(BOOST_LIB_FILESYSTEM)  \
147         $(VTK_LIBS)
148
149 libVISUEngineImpl_la_LIBADD= \
150         ../CONVERTOR/libVisuConvertor.la \
151         ../PIPELINE/libVisuPipeLine.la \
152         ../OBJECT/libVisuObject.la \
153         -lSalomeIDLKernel \
154         -lSalomeHDFPersist \
155         -lSalomeGenericObj \
156         -lSalomeContainer \
157         -lSalomeCommunication \
158         -lSalomeNS \
159         -lTOOLSDS \
160         -lOpUtil \
161         -lSalomeLifeCycleCORBA \
162         -lCAM \
163         -lVTKViewer \
164         -lSVTK \
165         -lEvent \
166         -lSalomeApp \
167         -lSalomeSession \
168         -lPlot2d \
169         -lSPlot2d \
170         -lqtx \
171         -lLightApp \
172         -lstd
173
174 if MED_ENABLE_MULTIPR
175   libVISUEngineImpl_la_CPPFLAGS+= $(MULTIPR_CPPFLAGS)
176   libVISUEngineImpl_la_LIBADD+= $(MULTIPR_LIBS)
177 endif
178
179 # Executables targets
180 bin_PROGRAMS = VISU_I
181 dist_VISU_I_SOURCES=VISU_I.cxx
182 VISU_I_CPPFLAGS=$(libVISUEngineImpl_la_CPPFLAGS)
183 VISU_I_LDADD=\
184         $(libVISUEngineImpl_la_LIBADD) \
185         $(libVISUEngineImpl_la_LDFLAGS) \
186         $(KERNEL_LDFLAGS) \
187         -lSALOMEBasics \
188         -lSalomeCatalog \
189         -lwith_loggerTraceCollector \
190         -lSalomeLifeCycleCORBA \
191         -lRegistry \
192         -lSalomeNotification \
193         -lSALOMELocalTrace \
194         -lSalomeResourcesManager \
195         -lSalomeDSClient \
196         -lSalomeLauncher \
197         -lSalomeObject \
198         -lqtx \
199         -lsuit \
200         -lstd \
201         -lCAM \
202         -lObjBrowser \
203         -lPyConsole \
204         -lLightApp \
205         -lSalomePrs \
206         -lPyInterp \
207         -lLogWindow \
208         -lToolsGUI  \
209         -lGLViewer \
210         -lOCCViewer \
211         -lSUPERVGraph \
212         -lSOCC \
213         -lPlot2d \
214         -lMEDWrapper \
215         -lMEDWrapperBase \
216         -lMEDWrapper_V2_2 \
217         -lmedmem \
218         @CORBA_LIBS@