-#==============================================================================
-# File : Makefile.in
-# Created : mar mai 21 09:12:43 CEST 2002
-# Author : Paul RASCLE, EDF
-# Project : SALOME
-# Copyright : EDF 2002
+# SMESH SMESH_I : idl implementation based on 'SMESH' unit's calsses
+#
+# Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
+# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+#
+#
+# File : Makefile.in
+# Author : Paul RASCLE, EDF
+# Module : SMESH
# $Header$
-#==============================================================================
-# source path
+
top_srcdir=@top_srcdir@
top_builddir=../..
srcdir=@srcdir@
-VPATH=.:@srcdir@:@top_srcdir@/idl:$(top_builddir)/idl:${KERNEL_ROOT_DIR}/idl/salome:${MED_ROOT_DIR}/idl/salome
+VPATH=.:@srcdir@:@top_srcdir@/idl:$(top_builddir)/idl:
@COMMENCE@
-EXPORT_PYSCRIPTS = smeshpy.py SMESH_test.py
+# header files
+EXPORT_HEADERS= \
+ SMESH_Gen_i.hxx \
+ SMESH_Algo_i.hxx \
+ SMESH_1D_Algo_i.hxx \
+ SMESH_2D_Algo_i.hxx \
+ SMESH_3D_Algo_i.hxx \
+ SMESH_subMesh_i.hxx \
+ SMESH_Mesh_i.hxx \
+ SMESH_Hypothesis_i.hxx \
+ SMESH_PythonDump.hxx \
+ SMESH.hxx
+
+EXPORT_PYSCRIPTS = smeshpy.py
# Libraries targets
LIB= libSMESHEngine.la
-LIB_SRC = SMESH_Gen_i.cxx SMESH_Mesh_i.cxx SMESH_MEDMesh_i.cxx \
- SMESH_MEDFamily_i.cxx SMESH_MEDSupport_i.cxx \
- SMESH_subMesh_i.cxx \
- SMESH_MeshEditor_i.cxx \
- SMESH_Hypothesis_i.cxx \
- SMESH_topo.cxx SMESH_HypothesisFactory_i.cxx \
- SMESH_Algo_i.cxx \
- SMESH_1D_Algo_i.cxx \
- SMESH_2D_Algo_i.cxx \
- SMESH_3D_Algo_i.cxx \
- SMESH_NumberOfSegments_i.cxx \
- SMESH_LocalLength_i.cxx \
- SMESH_MaxElementArea_i.cxx \
- SMESH_MaxElementVolume_i.cxx \
- SMESH_Regular_1D_i.cxx \
- SMESH_Quadrangle_2D_i.cxx \
- SMESH_MEFISTO_2D_i.cxx \
- SMESH_Hexa_3D_i.cxx
-
-LIB_SERVER_IDL = SMESH_Gen.idl SMESH_Hypothesis.idl SMESH_Mesh.idl \
- SALOME_Component.idl SALOME_Exception.idl \
- SMESH_BasicHypothesis.idl
-
-LIB_CLIENT_IDL = SALOMEDS.idl GEOM_Gen.idl GEOM_Shape.idl MED.idl SALOMEDS_Attributes.idl
+LIB_SRC = \
+ SMESH_Gen_i.cxx \
+ SMESH_Gen_i_1.cxx \
+ SMESH_DumpPython.cxx \
+ SMESH_Mesh_i.cxx \
+ SMESH_MEDMesh_i.cxx \
+ SMESH_MEDFamily_i.cxx \
+ SMESH_MEDSupport_i.cxx \
+ SMESH_subMesh_i.cxx \
+ SMESH_MeshEditor_i.cxx \
+ SMESH_Hypothesis_i.cxx \
+ SMESH_Algo_i.cxx \
+ SMESH_1D_Algo_i.cxx \
+ SMESH_2D_Algo_i.cxx \
+ SMESH_3D_Algo_i.cxx \
+ SMESH_Filter_i.cxx \
+ SMESH_Group_i.cxx \
+ SMESH_Pattern_i.cxx \
+ SMESH_2smeshpy.cxx
+
+LIB_SERVER_IDL = \
+ SMESH_Gen.idl \
+ SMESH_Hypothesis.idl \
+ SMESH_Mesh.idl \
+ SALOME_Component.idl \
+ SALOME_Exception.idl \
+ SMESH_Filter.idl \
+ SMESH_Group.idl \
+ SMESH_Pattern.idl
+
+LIB_CLIENT_IDL = \
+ SALOMEDS.idl \
+ GEOM_Gen.idl \
+ MED.idl \
+ SALOMEDS_Attributes.idl \
+ SALOME_GenericObj.idl \
+ SALOME_Comm.idl
# Executables targets
-BIN =
+BIN = SMESHEngine
BIN_SRC =
# additionnal information to compil and link file
-CPPFLAGS+= $(OCC_INCLUDES) $(MED2_INCLUDES) $(HDF5_INCLUDES) -I${KERNEL_ROOT_DIR}/include/salome -I${GEOM_ROOT_DIR}/include/salome
-CXXFLAGS+= $(OCC_CXXFLAGS) $(MED2_INCLUDES) $(HDF5_INCLUDES) -I${KERNEL_ROOT_DIR}/include/salome -I${GEOM_ROOT_DIR}/include/salome
+CPPFLAGS+= \
+ $(OCC_INCLUDES) \
+ $(HDF5_INCLUDES) \
+ $(BOOST_CPPFLAGS) \
+ $(KERNEL_CXXFLAGS) \
+ $(MED_CXXFLAGS) \
+ $(GEOM_CXXFLAGS)
-#IDLCXXFLAGS+= -Wbtp
+CXXFLAGS+= \
+ $(OCC_INCLUDES) \
+ $(OCC_CXXFLAGS) \
+ $(HDF5_INCLUDES) \
+ $(KERNEL_CXXFLAGS) \
+ $(MED_CXXFLAGS) \
+ $(GEOM_CXXFLAGS)
-LDFLAGS+= $(OCC_LIBS) $(HDF5_LIBS) $(MED2_LIBS) -lSMESHimpl -lSalomeContainer -lSalomeNS -lSalomeDS -lRegistry -lSalomeHDFPersist -lOpUtil -lGeometryClient -lSMESHDS -lSMDS -lMEFISTO2D -lMeshDriverMED -lSalomeLifeCycleCORBA -L${KERNEL_ROOT_DIR}/lib/salome -L${GEOM_ROOT_DIR}/lib/salome
+LDFLAGS+= \
+ $(KERNEL_LDFLAGS) \
+ -lSalomeContainer \
+ -lSalomeNS \
+ -lRegistry \
+ -lSalomeHDFPersist \
+ -lSalomeLifeCycleCORBA \
+ -lTOOLSDS \
+ -lSalomeGenericObj \
+ $(GEOM_LDFLAGS) \
+ -lGEOMClient \
+ -lSMESHimpl \
+ -lSMESHControls \
+ $(OCC_LDPATH) \
+ -lTKCDF \
+ -lTKBO \
+ -lTKShHealing
-@CONCLUDE@
+LDFLAGSFORBIN+= \
+ -lSMDS \
+ -lSMESHDS \
+ $(MED_LDFLAGS) \
+ -lMEDWrapper \
+ -lMEDWrapperBase \
+ -lMEDWrapper_V2_1 \
+ -lMEDWrapper_V2_2 \
+ -lmed_V2_1 \
+ -lMeshDriver \
+ -lMeshDriverMED \
+ -lMeshDriverUNV \
+ -lMeshDriverDAT \
+ -lMeshDriverSTL \
+ $(KERNEL_LDFLAGS) \
+ -lSalomeContainer \
+ -lSalomeNS \
+ -lRegistry \
+ -lSalomeResourcesManager \
+ -lOpUtil \
+ -lSALOMELocalTrace \
+ -lSALOMEBasics \
+ -lSalomeNotification \
+ -lSalomeHDFPersist \
+ -lSalomeLifeCycleCORBA \
+ -lTOOLSDS \
+ -lSalomeGenericObj \
+ $(GEOM_LDFLAGS) \
+ -lGEOMClient \
+ -lSMESHimpl \
+ -lSMESHControls \
+ -lNMTTools \
+ -lNMTDS \
+ $(OCC_LDPATH) \
+ -lTKCDF \
+ -lTKBO \
+ -lTKMath \
+ -lTKShHealing
+@CONCLUDE@