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