Salome HOME
5ea16f7fc9ed1f151ba744aaba4cc166ccc88200
[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 = SMESH_Gen.idl SMESH_Hypothesis.idl SMESH_Mesh.idl \
78                  SALOME_Component.idl SALOME_Exception.idl \
79                  SMESH_Filter.idl SMESH_Group.idl SMESH_Pattern.idl
80
81 LIB_CLIENT_IDL = SALOMEDS.idl GEOM_Gen.idl MED.idl SALOMEDS_Attributes.idl SALOME_GenericObj.idl SALOME_Comm.idl
82
83 # Executables targets
84 BIN = SMESHEngine
85 BIN_SRC = 
86
87 # additionnal information to compil and link file
88 CPPFLAGS+= $(OCC_INCLUDES) $(HDF5_INCLUDES) -I${KERNEL_ROOT_DIR}/include/salome \
89            -I${MED_ROOT_DIR}/include/salome -I${GEOM_ROOT_DIR}/include/salome $(BOOST_CPPFLAGS)
90 CXXFLAGS+= $(OCC_CXXFLAGS) $(HDF5_INCLUDES) -I${KERNEL_ROOT_DIR}/include/salome \
91            -I${MED_ROOT_DIR}/include/salome -I${GEOM_ROOT_DIR}/include/salome
92
93 LDFLAGS+= -L${KERNEL_ROOT_DIR}/lib/salome -lSalomeContainer -lSalomeNS -lRegistry -lSalomeHDFPersist -lSalomeLifeCycleCORBA -lTOOLSDS -lSalomeGenericObj \
94           -L${GEOM_ROOT_DIR}/lib/salome -lGEOMClient -lSMESHimpl -lSMESHControls \
95     $(OCC_LDPATH) -lTKCDF -lTKBO
96
97
98 LDFLAGSFORBIN += -lSMDS -lSMESHDS \
99                 -L${MED_ROOT_DIR}/lib/salome -lMEDWrapper -lMEDWrapperBase -lMEDWrapper_V2_1 -lMEDWrapper_V2_2 \
100                 -lMeshDriver -lMeshDriverMED -lMeshDriverUNV -lMeshDriverDAT -lMeshDriverSTL \
101                 -L${KERNEL_ROOT_DIR}/lib/salome -lSalomeContainer -lSalomeNS -lRegistry -lSalomeResourcesManager \
102                 -lOpUtil -lSALOMELocalTrace -lSALOMEBasics -lSalomeNotification -lCASCatch \
103                 -lSalomeHDFPersist -lSalomeLifeCycleCORBA -lTOOLSDS -lSalomeGenericObj \
104                 -L${GEOM_ROOT_DIR}/lib/salome -lGEOMClient -lSMESHimpl -lSMESHControls -lNMTTools -lNMTDS \
105      $(OCC_LDPATH) -lTKCDF -lTKBO -lTKMath
106
107 @CONCLUDE@