1 # SMESH SMESH_I : idl implementation based on 'SMESH' unit's calsses
3 # Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 # CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
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.
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.
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
20 # See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
25 # Author : Paul RASCLE, EDF
30 top_srcdir=@top_srcdir@
33 VPATH=.:@srcdir@:@top_srcdir@/idl:$(top_builddir)/idl:${KERNEL_ROOT_DIR}/idl/salome:${MED_ROOT_DIR}/idl/salome
38 EXPORT_PYSCRIPTS = smeshpy.py SMESH_test.py
42 LIB= libSMESHEngine.la
44 LIB_SRC = SMESH_Gen_i.cxx SMESH_Mesh_i.cxx SMESH_MEDMesh_i.cxx \
45 SMESH_MEDFamily_i.cxx SMESH_MEDSupport_i.cxx \
47 SMESH_MeshEditor_i.cxx \
48 SMESH_Hypothesis_i.cxx \
49 SMESH_topo.cxx SMESH_HypothesisFactory_i.cxx \
54 SMESH_NumberOfSegments_i.cxx \
55 SMESH_LocalLength_i.cxx \
56 SMESH_MaxElementArea_i.cxx \
57 SMESH_LengthFromEdges_i.cxx \
58 SMESH_MaxElementVolume_i.cxx \
59 SMESH_Regular_1D_i.cxx \
60 SMESH_Quadrangle_2D_i.cxx \
61 SMESH_MEFISTO_2D_i.cxx \
64 LIB_SERVER_IDL = SMESH_Gen.idl SMESH_Hypothesis.idl SMESH_Mesh.idl \
65 SALOME_Component.idl SALOME_Exception.idl \
66 SMESH_BasicHypothesis.idl
68 LIB_CLIENT_IDL = SALOMEDS.idl GEOM_Gen.idl GEOM_Shape.idl MED.idl SALOMEDS_Attributes.idl
74 # additionnal information to compil and link file
75 CPPFLAGS+= $(OCC_INCLUDES) $(MED2_INCLUDES) $(HDF5_INCLUDES) -I${KERNEL_ROOT_DIR}/include/salome -I${GEOM_ROOT_DIR}/include/salome
76 CXXFLAGS+= $(OCC_CXXFLAGS) $(MED2_INCLUDES) $(HDF5_INCLUDES) -I${KERNEL_ROOT_DIR}/include/salome -I${GEOM_ROOT_DIR}/include/salome
80 LDFLAGS+= $(HDF5_LIBS) $(MED2_LIBS) -lSMESHimpl -lSalomeContainer -lSalomeNS -lSalomeDS -lRegistry -lSalomeHDFPersist -lOpUtil -lGEOMClient -lSMESHDS -lSMDS -lMEFISTO2D -lMeshDriverMED -lSalomeLifeCycleCORBA -L${KERNEL_ROOT_DIR}/lib/salome -L${GEOM_ROOT_DIR}/lib/salome
82 ifeq (@WITHNETGEN@,yes)
83 LIB_SRC += SMESH_NETGEN_3D_i.cxx