Salome HOME
c8787fdd3ce373b975b3f38f7a624c70587bf8b6
[modules/smesh.git] / src / SMESH_I / Makefile.in
1 #  SMESH SMESH_I : idl implementation based on 'SMESH' unit's calsses
2 #
3 #  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 #  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
5
6 #  This library is free software; you can redistribute it and/or 
7 #  modify it under the terms of the GNU Lesser General Public 
8 #  License as published by the Free Software Foundation; either 
9 #  version 2.1 of the License. 
10
11 #  This library is distributed in the hope that it will be useful, 
12 #  but WITHOUT ANY WARRANTY; without even the implied warranty of 
13 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
14 #  Lesser General Public License for more details. 
15
16 #  You should have received a copy of the GNU Lesser General Public 
17 #  License along with this library; if not, write to the Free Software 
18 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
19
20 #  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
21 #
22 #
23 #
24 #  File   : Makefile.in
25 #  Author : Paul RASCLE, EDF
26 #  Module : SMESH
27 #  $Header$
28
29
30 top_srcdir=@top_srcdir@
31 top_builddir=../..
32 srcdir=@srcdir@
33 VPATH=.:@srcdir@:@top_srcdir@/idl:$(top_builddir)/idl:
34
35
36 @COMMENCE@
37
38 # header files  
39 EXPORT_HEADERS= \
40         SMESH_Gen_i.hxx \
41         SMESH_Algo_i.hxx \
42         SMESH_1D_Algo_i.hxx \
43         SMESH_2D_Algo_i.hxx \
44         SMESH_3D_Algo_i.hxx \
45         SMESH_subMesh_i.hxx \
46         SMESH_Mesh_i.hxx \
47         SMESH_Hypothesis_i.hxx \
48         SMESH_PythonDump.hxx \
49         SMESH.hxx
50
51 EXPORT_PYSCRIPTS = smeshpy.py
52
53 # Libraries targets
54
55 LIB= libSMESHEngine.la
56
57 LIB_SRC = \
58         SMESH_Gen_i.cxx \
59         SMESH_Gen_i_1.cxx \
60         SMESH_DumpPython.cxx \
61         SMESH_Mesh_i.cxx \
62         SMESH_MEDMesh_i.cxx \
63         SMESH_MEDFamily_i.cxx \
64         SMESH_MEDSupport_i.cxx \
65         SMESH_subMesh_i.cxx \
66         SMESH_MeshEditor_i.cxx \
67         SMESH_Hypothesis_i.cxx \
68         SMESH_Algo_i.cxx \
69         SMESH_1D_Algo_i.cxx \
70         SMESH_2D_Algo_i.cxx \
71         SMESH_3D_Algo_i.cxx \
72         SMESH_Filter_i.cxx \
73         SMESH_Group_i.cxx \
74         SMESH_Pattern_i.cxx \
75         SMESH_2smeshpy.cxx
76
77 LIB_SERVER_IDL = \
78         SMESH_Gen.idl \
79         SMESH_Hypothesis.idl \
80         SMESH_Mesh.idl \
81         SALOME_Component.idl \
82         SALOME_Exception.idl \
83         SMESH_Filter.idl \
84         SMESH_Group.idl \
85         SMESH_Pattern.idl
86
87 LIB_CLIENT_IDL = \
88         SALOMEDS.idl \
89         GEOM_Gen.idl \
90         MED.idl \
91         SALOMEDS_Attributes.idl \
92         SALOME_GenericObj.idl \
93         SALOME_Comm.idl
94
95 # Executables targets
96 BIN = SMESHEngine
97 BIN_SRC = 
98
99 # additionnal information to compil and link file
100 CPPFLAGS+= \
101         $(OCC_INCLUDES) \
102         $(HDF5_INCLUDES) \
103         $(BOOST_CPPFLAGS) \
104         -I${KERNEL_ROOT_DIR}/include/salome \
105         -I${MED_ROOT_DIR}/include/salome \
106         -I${GEOM_ROOT_DIR}/include/salome 
107
108 CXXFLAGS+= \
109         $(OCC_CXXFLAGS) \
110         $(HDF5_INCLUDES) \
111         -I${KERNEL_ROOT_DIR}/include/salome \
112         -I${MED_ROOT_DIR}/include/salome \
113         -I${GEOM_ROOT_DIR}/include/salome
114
115 LDFLAGS+= \
116         -L${KERNEL_ROOT_DIR}/lib/salome \
117         -lSalomeContainer \
118         -lSalomeNS \
119         -lRegistry \
120         -lSalomeHDFPersist \
121         -lSalomeLifeCycleCORBA \
122         -lTOOLSDS \
123         -lSalomeGenericObj \
124         -L${GEOM_ROOT_DIR}/lib/salome \
125         -lGEOMClient \
126         -lSMESHimpl \
127         -lSMESHControls \
128         $(OCC_LDPATH) \
129         -lTKCDF \
130         -lTKBO
131
132 LDFLAGSFORBIN+= \
133         -lSMDS \
134         -lSMESHDS \
135         -L${MED_ROOT_DIR}/lib/salome \
136         -lMEDWrapper \
137         -lMEDWrapperBase \
138         -lMEDWrapper_V2_1 \
139         -lMEDWrapper_V2_2 \
140         -lmed_V2_1 \
141         -lMeshDriver \
142         -lMeshDriverMED \
143         -lMeshDriverUNV \
144         -lMeshDriverDAT \
145         -lMeshDriverSTL \
146         -L${KERNEL_ROOT_DIR}/lib/salome \
147         -lSalomeContainer \
148         -lSalomeNS \
149         -lRegistry \
150         -lSalomeResourcesManager \
151         -lOpUtil \
152         -lSALOMELocalTrace \
153         -lSALOMEBasics \
154         -lSalomeNotification \
155         -lSalomeHDFPersist \
156         -lSalomeLifeCycleCORBA \
157         -lTOOLSDS \
158         -lSalomeGenericObj \
159         -L${GEOM_ROOT_DIR}/lib/salome \
160         -lGEOMClient \
161         -lSMESHimpl \
162         -lSMESHControls \
163         -lNMTTools \
164         -lNMTDS \
165         $(OCC_LDPATH) \
166         -lTKCDF \
167         -lTKBO \
168         -lTKMath
169
170 @CONCLUDE@