Salome HOME
Join modifications from BR_Dev_For_4_0 tag V4_1_1.
[modules/visu.git] / src / VISU_I / Makefile.am
1 #  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
2 #  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
3
4 #  This library is free software; you can redistribute it and/or 
5 #  modify it under the terms of the GNU Lesser General Public 
6 #  License as published by the Free Software Foundation; either 
7 #  version 2.1 of the License. 
8
9 #  This library is distributed in the hope that it will be useful, 
10 #  but WITHOUT ANY WARRANTY; without even the implied warranty of 
11 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
12 #  Lesser General Public License for more details. 
13
14 #  You should have received a copy of the GNU Lesser General Public 
15 #  License along with this library; if not, write to the Free Software 
16 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
17
18 #  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
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_Result_i.hh \
34         VISU_MultiResult_i.hh \
35         VISU_PrsObject_i.hh \
36         VISU_Table_i.hh \
37         VISU_Prs3d_i.hh \
38         VISU_Mesh_i.hh \
39         VISU_ColoredPrs3d_i.hh \
40         VISU_ScalarMap_i.hh \
41         VISU_IsoSurfaces_i.hh \
42         VISU_DeformedShape_i.hh \
43         VISU_Plot3D_i.hh \
44         VISU_CutPlanes_i.hh \
45         VISU_CutLines_i.hh \
46         VISU_Vectors_i.hh \
47         VISU_StreamLines_i.hh \
48         VISU_GaussPoints_i.hh \
49         VISU_ViewManager_i.hh \
50         VISU_View_i.hh \
51         VISU_TimeAnimation.h \
52         VISU_ScalarMapOnDeformedShape_i.hh \
53         VISU_ColoredPrs3dFactory.hh \
54         SALOME_GenericObjPointer.hh
55
56 libVISUEngineImpl_la_SOURCES = \
57         VISUConfig.cc \
58         VISU_Result_i.cc \
59         VISU_ResultUtils.cc \
60         VISU_MultiResult_i.cc \
61         VISU_Gen_i.cc \
62         VISU_CorbaMedConvertor.cxx \
63         VISU_PrsObject_i.cc \
64         VISU_Prs3d_i.cc \
65         VISU_Prs3dUtils.cc \
66         VISU_ColoredPrs3d_i.cc \
67         VISU_ScalarMap_i.cc \
68         VISU_GaussPoints_i.cc \
69         VISU_IsoSurfaces_i.cc \
70         VISU_DeformedShape_i.cc \
71         VISU_Plot3D_i.cc \
72         VISU_CutPlanes_i.cc \
73         VISU_CutLines_i.cc \
74         VISU_Vectors_i.cc \
75         VISU_StreamLines_i.cc \
76         VISU_ScalarMapOnDeformedShape_i.cc \
77         VISU_ColoredPrs3dCache_i.cc \
78         VISU_ColoredPrs3dHolder_i.cc \
79         VISU_ColoredPrs3dFactory.cc \
80         VISU_Mesh_i.cc \
81         VISU_ViewManager_i.cc \
82         VISU_TimeAnimation.cxx \
83         VISU_View_i.cc \
84         VISU_Table_i.cc \
85         VISU_DumpPython.cc \
86         SALOME_GenericObjPointer.cc
87
88 MOC_FILES = VISU_TimeAnimation_moc.cxx
89 nodist_libVISUEngineImpl_la_SOURCES= $(MOC_FILES)
90
91 # additionnal information to compil and link file
92 libVISUEngineImpl_la_CPPFLAGS= \
93         -ftemplate-depth-32 \
94         $(QT_INCLUDES) \
95         $(PYTHON_INCLUDES) \
96         @CAS_CPPFLAGS@ @CAS_CXXFLAGS@ \
97         $(VTK_INCLUDES) \
98         $(HDF5_INCLUDES) \
99         $(QWT_INCLUDES) \
100         $(BOOST_CPPFLAGS)\
101         $(KERNEL_CXXFLAGS) \
102         $(MED_CXXFLAGS) \
103         $(GUI_CXXFLAGS) \
104         $(CORBA_CXXFLAGS) $(CORBA_INCLUDES) \
105         -I$(srcdir)/../CONVERTOR \
106         -I$(srcdir)/../PIPELINE \
107         -I$(srcdir)/../OBJECT \
108         -I$(srcdir)/../VVTK \
109         -I$(srcdir)/../GUITOOLS \
110         -I$(top_builddir)/idl \
111         -I$(top_builddir)/salome_adm/unix
112
113 libVISUEngineImpl_la_LDFLAGS= \
114         $(VTK_LIBS) \
115         $(PYTHON_LIBS) \
116         $(QT_MT_LIBS) \
117         $(QWT_LIBS) \
118         @BOOST_LIBS@  \
119         $(KERNEL_LDFLAGS) \
120         $(GUI_LDFLAGS) \
121         $(MED_LDFLAGS) \
122         ../../idl/libSalomeIDLVISU.la
123
124 libVISUEngineImpl_la_LIBADD= \
125         -lboost_signals@BOOST_LIBSUFFIX@ \
126         -lboost_thread@BOOST_LIBSUFFIX@ \
127         -lSalomeHDFPersist \
128         -lSalomeGenericObj \
129         -lSalomeContainer \
130         -lSalomeCommunication \
131         -lSalomeNS \
132         -lTOOLSDS \
133         -lOpUtil \
134         -lVTKViewer \
135         -lSVTK \
136         -lEvent \
137         -lSalomeApp \
138         -lSalomeSession \
139         -lSPlot2d \
140         ../CONVERTOR/libVisuConvertor.la \
141         ../PIPELINE/libVisuPipeLine.la \
142         ../OBJECT/libVisuObject.la \
143         ../VVTK/libVVTK.la \
144         ../GUITOOLS/libVISUGUITOOLS.la
145
146 if MED_ENABLE_MULTIPR
147   libVISUEngineImpl_la_CPPFLAGS+= $(MULTIPR_CPPFLAGS)
148   libVISUEngineImpl_la_LIBADD+= $(MULTIPR_LIBS)
149 endif
150
151 # Executables targets
152 bin_PROGRAMS = VISU_I
153 dist_VISU_I_SOURCES=VISU_I.cxx
154 VISU_I_CPPFLAGS=$(libVISUEngineImpl_la_CPPFLAGS)
155 VISU_I_LDADD=\
156         $(libVISUEngineImpl_la_LIBADD) \
157         $(libVISUEngineImpl_la_LDFLAGS) \
158         $(KERNEL_LDFLAGS) \
159         -lSALOMEBasics \
160         -lSalomeCatalog \
161         -lwith_loggerTraceCollector \
162         -lSalomeLifeCycleCORBA \
163         -lRegistry \
164         -lSalomeNotification \
165         -lSALOMELocalTrace \
166         -lSalomeResourcesManager \
167         -lSalomeDSClient \
168         -lSalomeLauncher \
169         -lSalomeObject \
170         -lqtx \
171         -lsuit \
172         -lstd \
173         -lCAM \
174         -lLightApp \
175         -lObjBrowser \
176         -lSalomePrs \
177         -lPyInterp \
178         -lPythonConsole \
179         -lLogWindow \
180         -lToolsGUI  \
181         -lGLViewer \
182         -lOCCViewer \
183         -lSUPERVGraph \
184         -lSOCC \
185         -lPlot2d \
186         -lMEDWrapper \
187         -lMEDWrapperBase \
188         -lMEDWrapper_V2_2 \
189         -lMEDWrapper_V2_1 \
190         -lmed_V2_1 \
191         -lmedmem