Salome HOME
2d727cef80613df69a9e7a9527291a0cf25bc70b
[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.hxx
49
50 EXPORT_PYSCRIPTS = smeshpy.py
51
52 # Libraries targets
53
54 LIB= libSMESHEngine.la
55
56 LIB_SRC = \
57         SMESH_Gen_i.cxx \
58         SMESH_Gen_i_1.cxx \
59         SMESH_DumpPython.cxx \
60         SMESH_Mesh_i.cxx \
61         SMESH_MEDMesh_i.cxx \
62         SMESH_MEDFamily_i.cxx \
63         SMESH_MEDSupport_i.cxx \
64         SMESH_subMesh_i.cxx \
65         SMESH_MeshEditor_i.cxx \
66         SMESH_Hypothesis_i.cxx \
67         SMESH_Algo_i.cxx \
68         SMESH_1D_Algo_i.cxx \
69         SMESH_2D_Algo_i.cxx \
70         SMESH_3D_Algo_i.cxx \
71         SMESH_Filter_i.cxx \
72         SMESH_Group_i.cxx \
73         SMESH_Pattern_i.cxx
74
75 LIB_SERVER_IDL = SMESH_Gen.idl SMESH_Hypothesis.idl SMESH_Mesh.idl \
76                  SALOME_Component.idl SALOME_Exception.idl \
77                  SMESH_Filter.idl SMESH_Group.idl SMESH_Pattern.idl
78
79 LIB_CLIENT_IDL = SALOMEDS.idl GEOM_Gen.idl MED.idl SALOMEDS_Attributes.idl SALOME_GenericObj.idl SALOME_Comm.idl
80
81 # Executables targets
82 BIN = SMESHEngine
83 BIN_SRC = 
84
85 # additionnal information to compil and link file
86 CPPFLAGS+= $(OCC_INCLUDES) $(HDF5_INCLUDES) -I${KERNEL_ROOT_DIR}/include/salome \
87            -I${MED_ROOT_DIR}/include/salome -I${GEOM_ROOT_DIR}/include/salome $(BOOST_CPPFLAGS)
88 CXXFLAGS+= $(OCC_CXXFLAGS) $(HDF5_INCLUDES) -I${KERNEL_ROOT_DIR}/include/salome \
89            -I${MED_ROOT_DIR}/include/salome -I${GEOM_ROOT_DIR}/include/salome
90
91 LDFLAGS+= -L${KERNEL_ROOT_DIR}/lib/salome -lSalomeContainer -lSalomeNS -lRegistry -lSalomeHDFPersist -lSalomeLifeCycleCORBA -lTOOLSDS -lSalomeGenericObj \
92           -L${GEOM_ROOT_DIR}/lib/salome -lGEOMClient -lSMESHimpl -lSMESHControls \
93     $(OCC_LDPATH) -lTKCDF -lTKBO
94
95
96 LDFLAGSFORBIN += -lSMDS -lSMESHDS \
97                 -L${MED_ROOT_DIR}/lib/salome -lMEDWrapper -lMEDWrapperBase -lMEDWrapper_V2_1 -lMEDWrapper_V2_2 \
98                 -lMeshDriver -lMeshDriverMED -lMeshDriverUNV -lMeshDriverDAT -lMeshDriverSTL \
99                 -L${KERNEL_ROOT_DIR}/lib/salome -lSalomeContainer -lSalomeNS -lRegistry -lSalomeResourcesManager \
100                 -lOpUtil -lSALOMELocalTrace -lSALOMEBasics -lSalomeNotification -lCASCatch \
101                 -lSalomeHDFPersist -lSalomeLifeCycleCORBA -lTOOLSDS -lSalomeGenericObj \
102                 -L${GEOM_ROOT_DIR}/lib/salome -lGEOMClient -lSMESHimpl -lSMESHControls -lNMTTools -lNMTDS \
103      $(OCC_LDPATH) -lTKCDF -lTKBO -lTKMath
104
105 @CONCLUDE@