Salome HOME
Fix problems with compilation
[modules/visu.git] / src / VISU_I / Makefile.am
1 # Copyright (C) 2007-2013  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         -I$(top_builddir)
137
138 libVISUEngineImpl_la_LDFLAGS= \
139         $(KERNEL_LDFLAGS) \
140         $(GUI_LDFLAGS) \
141         $(MED_LDFLAGS) \
142         ../../idl/libSalomeIDLVISU.la \
143         $(PYTHON_LIBS) \
144         $(BOOST_LIB_SIGNALS) \
145         $(BOOST_LIB_THREAD)  \
146         $(BOOST_LIB_SYSTEM)  \
147         $(BOOST_LIB_FILESYSTEM)  \
148         $(VTK_LIBS)
149
150 libVISUEngineImpl_la_LIBADD= \
151         ../CONVERTOR/libVisuConvertor.la \
152         ../PIPELINE/libVisuPipeLine.la \
153         ../OBJECT/libVisuObject.la \
154         -lSalomeIDLKernel \
155         -lSalomeHDFPersist \
156         -lSalomeGenericObj \
157         -lSalomeContainer \
158         -lSalomeCommunication \
159         -lSalomeNS \
160         -lTOOLSDS \
161         -lOpUtil \
162         -lSalomeLifeCycleCORBA \
163         -lCAM \
164         -lVTKViewer \
165         -lSVTK \
166         -lEvent \
167         -lSalomeApp \
168         -lSalomeSession \
169         -lPlot2d \
170         -lSPlot2d \
171         -lqtx \
172         -lLightApp \
173         -lstd
174
175 if MED_ENABLE_MULTIPR
176   libVISUEngineImpl_la_CPPFLAGS+= $(MULTIPR_CPPFLAGS)
177   libVISUEngineImpl_la_LIBADD+= $(MULTIPR_LIBS)
178 endif
179
180 # Executables targets
181 bin_PROGRAMS = VISU_I
182 dist_VISU_I_SOURCES=VISU_I.cxx
183 VISU_I_CPPFLAGS=$(libVISUEngineImpl_la_CPPFLAGS)
184 VISU_I_LDADD=\
185         $(libVISUEngineImpl_la_LIBADD) \
186         $(libVISUEngineImpl_la_LDFLAGS) \
187         $(KERNEL_LDFLAGS) \
188         -lSALOMEBasics \
189         -lSalomeCatalog \
190         -lwith_loggerTraceCollector \
191         -lSalomeLifeCycleCORBA \
192         -lRegistry \
193         -lSalomeNotification \
194         -lSALOMELocalTrace \
195         -lSalomeResourcesManager \
196         -lSalomeDSClient \
197         -lSalomeLauncher \
198         -lSalomeObject \
199         -lqtx \
200         -lsuit \
201         -lstd \
202         -lCAM \
203         -lObjBrowser \
204         -lPyConsole \
205         -lLightApp \
206         -lSalomePrs \
207         -lPyInterp \
208         -lLogWindow \
209         -lToolsGUI  \
210         -lGLViewer \
211         -lOCCViewer \
212         -lSUPERVGraph \
213         -lSOCC \
214         -lPlot2d \
215         -lMEDWrapper \
216         -lMEDWrapperBase \
217         -lMEDWrapper_V2_2 \
218         @CORBA_LIBS@