smesh/src/SMESH/Makefile.in
2003-12-08 15:43:20 +00:00

109 lines
2.9 KiB
Makefile

# SMESH SMESH : implementaion of SMESH idl descriptions
#
# 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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
#
#
#
# File : Makefile.in
# Author : Paul RASCLE, EDF
# Module : SMESH
# $Header$
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
@COMMENCE@
# header files
EXPORT_HEADERS= \
SMESH_Gen.hxx \
SMESH_Mesh.hxx \
SMESH_subMesh.hxx \
SMESH_Hypothesis.hxx \
SMESH_HypothesisFactory.hxx \
SMESH_Algo.hxx \
SMESH_1D_Algo.hxx \
SMESH_2D_Algo.hxx \
SMESH_3D_Algo.hxx \
SMESH_NumberOfSegments.hxx \
SMESH_LocalLength.hxx \
SMESH_LengthFromEdges.hxx \
SMESH_MaxElementArea.hxx \
SMESH_MaxElementVolume.hxx \
SMESH_Regular_1D.hxx \
SMESH_Quadrangle_2D.hxx \
SMESH_MEFISTO_2D.hxx \
SMESH_Hexa_3D.hxx \
SMESH_HypothesisCreator.hxx
EXPORT_PYSCRIPTS =
# Libraries targets
LIB= libSMESHimpl.la
LIB_SRC = SMESH_Gen.cxx SMESH_Mesh.cxx SMESH_subMesh.cxx \
SMESH_Hypothesis.cxx \
SMESH_HypothesisFactory.cxx \
SMESH_Algo.cxx \
SMESH_1D_Algo.cxx \
SMESH_2D_Algo.cxx \
SMESH_3D_Algo.cxx \
SMESH_NumberOfSegments.cxx \
SMESH_LocalLength.cxx \
SMESH_LengthFromEdges.cxx \
SMESH_MaxElementArea.cxx \
SMESH_MaxElementVolume.cxx \
SMESH_Regular_1D.cxx \
SMESH_Quadrangle_2D.cxx \
SMESH_MEFISTO_2D.cxx \
SMESH_Hexa_3D.cxx
LIB_SERVER_IDL =
LIB_CLIENT_IDL =
# Executables targets
BIN =
BIN_SRC =
# additionnal information to compil and link file
CPPFLAGS+= $(OCC_INCLUDES) $(MED2_INCLUDES) $(HDF5_INCLUDES) -I${KERNEL_ROOT_DIR}/include/salome
CXXFLAGS+= $(OCC_CXXFLAGS) $(MED2_INCLUDES) $(HDF5_INCLUDES) -I${KERNEL_ROOT_DIR}/include/salome
#IDLCXXFLAGS+= -Wbtp
LDFLAGS+= $(HDF5_LIBS) $(MED2_LIBS) -lOpUtil -lSMESHDS -lSMDS -lMEFISTO2D -lMeshDriverDAT -lMeshDriverMED -lMeshDriverUNV -L${KERNEL_ROOT_DIR}/lib/salome
ifeq (@WITHNETGEN@,yes)
EXPORT_HEADERS+= SMESH_NETGEN_3D.hxx
LIB_SRC+= SMESH_NETGEN_3D.cxx
NETGEN_INCLUDES=@NETGEN_INCLUDES@
CPPFLAGS+= $(NETGEN_INCLUDES)
CXXFLAGS+= $(NETGEN_INCLUDES)
LDFLAGS+= -lNETGEN
endif
@CONCLUDE@