Salome HOME
0021478: EDF 2083 ALL: Write the version of Salome used to create the study in the...
[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
20 #  File   : Makefile.am
21 #  Author : Alexey Petrov
22 #  Module : VISU
23 #
24 include $(top_srcdir)/adm_local/unix/make_common_starter.am
25
26 # Libraries targets
27 lib_LTLIBRARIES= libVISUEngineImpl.la
28
29 salomeinclude_HEADERS = \
30         VISU_I.hxx \
31         VISUConfig.hh \
32         VISU_Gen_i.hh \
33         VISU_Tools.h \
34         VISU_Result_i.hh \
35         VISU_MultiResult_i.hh \
36         VISU_PrsObject_i.hh \
37         VISU_Table_i.hh \
38         VISU_ResultUtils.hh \
39         VISU_PointMap3d_i.hh \
40         VISU_Prs3d_i.hh \
41         VISU_Mesh_i.hh \
42         VISU_ColoredPrs3d_i.hh \
43         VISU_CorbaMedConvertor.hxx \
44         VISU_ScalarMap_i.hh \
45         VISU_IsoSurfaces_i.hh \
46         VISU_DeformedShape_i.hh \
47         VISU_Plot3D_i.hh \
48         VISU_CutPlanes_i.hh \
49         VISU_CutLinesBase_i.hh \
50         VISU_CutLines_i.hh \
51         VISU_CutSegment_i.hh \
52         VISU_Prs3dUtils.hh \
53         VISU_Vectors_i.hh \
54         VISU_StreamLines_i.hh \
55         VISU_GaussPoints_i.hh \
56         VISU_ViewManager_i.hh \
57         VISU_View_i.hh \
58         VISU_TimeAnimation.h \
59         VISU_Evolution.h \
60         VISU_DeformedShapeAndScalarMap_i.hh \
61         VISU_ColoredPrs3dCache_i.hh \
62         VISU_ColoredPrs3dHolder_i.hh \
63         VISU_ColoredPrs3dFactory.hh \
64         VISU_MonoColorPrs_i.hh \
65         VISU_Deformation_i.hh \
66         VISU_OptionalDeformation_i.hh \
67         SALOME_GenericObjPointer.hh \
68         VISU_ClippingPlaneMgr.hxx \
69         VISU_TableDlg.h
70
71 libVISUEngineImpl_la_SOURCES = \
72         VISUConfig.cc \
73         VISU_Tools.cxx \
74         VISU_Result_i.cc \
75         VISU_ResultUtils.cc \
76         VISU_MultiResult_i.cc \
77         VISU_Gen_i.cc \
78         VISU_CorbaMedConvertor.cxx \
79         VISU_PrsObject_i.cc \
80         VISU_Prs3d_i.cc \
81         VISU_Prs3dUtils.cc \
82         VISU_ColoredPrs3d_i.cc \
83         VISU_ScalarMap_i.cc \
84         VISU_GaussPoints_i.cc \
85         VISU_IsoSurfaces_i.cc \
86         VISU_DeformedShape_i.cc \
87         VISU_Plot3D_i.cc \
88         VISU_CutPlanes_i.cc \
89         VISU_CutLinesBase_i.cc \
90         VISU_CutLines_i.cc \
91         VISU_CutSegment_i.cc \
92         VISU_Vectors_i.cc \
93         VISU_StreamLines_i.cc \
94         VISU_DeformedShapeAndScalarMap_i.cc \
95         VISU_ColoredPrs3dCache_i.cc \
96         VISU_ColoredPrs3dHolder_i.cc \
97         VISU_ColoredPrs3dFactory.cc \
98         VISU_Mesh_i.cc \
99         VISU_ViewManager_i.cc \
100         VISU_TimeAnimation.cxx \
101         VISU_Evolution.cxx \
102         VISU_View_i.cc \
103         VISU_Table_i.cc \
104         VISU_PointMap3d_i.cc \
105         VISU_DumpPython.cc \
106         VISU_MonoColorPrs_i.cc \
107         VISU_Deformation_i.cc \
108         VISU_OptionalDeformation_i.cc \
109         SALOME_GenericObjPointer.cc \
110         VISU_ClippingPlaneMgr.cxx \
111         VISU_TableDlg.cxx
112
113 MOC_FILES = \
114         VISU_TimeAnimation_moc.cxx \
115         VISU_TableDlg_moc.cxx
116
117 nodist_libVISUEngineImpl_la_SOURCES= $(MOC_FILES)
118
119 # additionnal information to compil and link file
120 libVISUEngineImpl_la_CPPFLAGS= \
121         -ftemplate-depth-32 \
122         $(QT_INCLUDES) \
123         $(PYTHON_INCLUDES) \
124         @CAS_CPPFLAGS@ @CAS_CXXFLAGS@ \
125         $(VTK_INCLUDES) \
126         $(HDF5_INCLUDES) \
127         $(QWT_INCLUDES) \
128         $(BOOST_CPPFLAGS)\
129         $(KERNEL_CXXFLAGS) \
130         $(MED_CXXFLAGS) \
131         $(GUI_CXXFLAGS) \
132         $(CORBA_CXXFLAGS) $(CORBA_INCLUDES) \
133         -I$(srcdir)/../CONVERTOR \
134         -I$(srcdir)/../PIPELINE \
135         -I$(srcdir)/../OBJECT \
136         -I$(top_builddir)/idl \
137         -I$(top_builddir)
138
139 libVISUEngineImpl_la_LDFLAGS= \
140         $(KERNEL_LDFLAGS) \
141         $(GUI_LDFLAGS) \
142         $(MED_LDFLAGS) \
143         ../../idl/libSalomeIDLVISU.la \
144         $(PYTHON_LIBS) \
145         $(BOOST_LIB_SIGNALS) \
146         $(BOOST_LIB_THREAD)  \
147         $(BOOST_LIB_SYSTEM)  \
148         $(BOOST_LIB_FILESYSTEM)  \
149         $(VTK_LIBS)
150
151 libVISUEngineImpl_la_LIBADD= \
152         ../CONVERTOR/libVisuConvertor.la \
153         ../PIPELINE/libVisuPipeLine.la \
154         ../OBJECT/libVisuObject.la \
155         -lSalomeIDLKernel \
156         -lSalomeHDFPersist \
157         -lSalomeGenericObj \
158         -lSalomeContainer \
159         -lSalomeCommunication \
160         -lSalomeNS \
161         -lTOOLSDS \
162         -lOpUtil \
163         -lSalomeLifeCycleCORBA \
164         -lCAM \
165         -lVTKViewer \
166         -lSVTK \
167         -lEvent \
168         -lSalomeApp \
169         -lSalomeSession \
170         -lPlot2d \
171         -lSPlot2d \
172         -lqtx \
173         -lLightApp \
174         -lstd
175
176 if MED_ENABLE_MULTIPR
177   libVISUEngineImpl_la_CPPFLAGS+= $(MULTIPR_CPPFLAGS)
178   libVISUEngineImpl_la_LIBADD+= $(MULTIPR_LIBS)
179 endif
180
181 # Executables targets
182 bin_PROGRAMS = VISU_I
183 dist_VISU_I_SOURCES=VISU_I.cxx
184 VISU_I_CPPFLAGS=$(libVISUEngineImpl_la_CPPFLAGS)
185 VISU_I_LDADD=\
186         $(libVISUEngineImpl_la_LIBADD) \
187         $(libVISUEngineImpl_la_LDFLAGS) \
188         $(KERNEL_LDFLAGS) \
189         -lSALOMEBasics \
190         -lSalomeCatalog \
191         -lwith_loggerTraceCollector \
192         -lSalomeLifeCycleCORBA \
193         -lRegistry \
194         -lSalomeNotification \
195         -lSALOMELocalTrace \
196         -lSalomeResourcesManager \
197         -lSalomeDSClient \
198         -lSalomeLauncher \
199         -lSalomeObject \
200         -lqtx \
201         -lsuit \
202         -lstd \
203         -lCAM \
204         -lObjBrowser \
205         -lPyConsole \
206         -lLightApp \
207         -lSalomePrs \
208         -lPyInterp \
209         -lLogWindow \
210         -lToolsGUI  \
211         -lGLViewer \
212         -lOCCViewer \
213         -lSUPERVGraph \
214         -lSOCC \
215         -lPlot2d \
216         -lMEDWrapper \
217         -lMEDWrapperBase \
218         -lMEDWrapper_V2_2 \
219         -lMEDWrapper_V2_1 \
220         -lmedmem \
221         @CORBA_LIBS@