-# -* Makefile *-
+# SMESH DriverMED : driver to read and write 'med' files
#
-# Author : Marc Tajchman (CEA)
-# Date : 5/07/2001
-# $Header$
+# 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 : Marc Tajchman (CEA)
+# Module : SMESH
+# $Header$
-# source path
top_srcdir=@top_srcdir@
top_builddir=../..
srcdir=@srcdir@
@COMMENCE@
# header files
-EXPORT_HEADERS= DriverMED_R_SMDS_Mesh.h DriverMED_R_SMESHDS_Mesh.h DriverMED_R_SMESHDS_Document.h DriverMED_W_SMDS_Mesh.h DriverMED_W_SMESHDS_Mesh.h DriverMED_W_SMESHDS_Document.h
+EXPORT_HEADERS = \
+ DriverMED_R_SMDS_Mesh.h DriverMED_R_SMESHDS_Mesh.h DriverMED_R_SMESHDS_Document.h \
+ DriverMED_W_SMDS_Mesh.h DriverMED_W_SMESHDS_Mesh.h DriverMED_W_SMESHDS_Document.h \
+ DriverMED_Family.h SMESH_DriverMED.hxx
# Libraries targets
LIB = libMeshDriverMED.la
-LIB_SRC = DriverMED_R_SMDS_Mesh.cxx DriverMED_R_SMESHDS_Mesh.cxx DriverMED_R_SMESHDS_Document.cxx DriverMED_W_SMDS_Mesh.cxx DriverMED_W_SMESHDS_Mesh.cxx DriverMED_W_SMESHDS_Document.cxx
+LIB_SRC = \
+ DriverMED_R_SMDS_Mesh.cxx \
+ DriverMED_R_SMESHDS_Mesh.cxx \
+ DriverMED_R_SMESHDS_Document.cxx \
+ DriverMED_W_SMDS_Mesh.cxx \
+ DriverMED_W_SMESHDS_Document.cxx \
+ DriverMED_W_SMESHDS_Mesh.cxx \
+ DriverMED_Family.cxx
+
+# Executables targets
+BIN = MED_Test
LIB_CLIENT_IDL =
LIB_SERVER_IDL =
# additionnal information to compil and link file
-CPPFLAGS += $(OCC_INCLUDES) $(QT_INCLUDES)
-CXXFLAGS += $(OCC_CXXFLAGS) $(MED2_INCLUDES)
-LDFLAGS += $(OCC_LIBS) $(MED2_LIBS) -lMeshDriver -lmed
+CPPFLAGS += $(OCC_INCLUDES) $(MED_CXXFLAGS) $(BOOST_CPPFLAGS)
+CXXFLAGS += $(OCC_CXXFLAGS) $(HDF5_INCLUDES) $(KERNEL_CXXFLAGS)
+LDFLAGS += -lMeshDriver $(MED_LDFLAGS) -lMEDWrapper
-%_moc.cxx: %.h
- $(MOC) $< -o $@
+LDFLAGSFORBIN += -lMeshDriver -lSMDS -lSMESHDS $(KERNEL_LDFLAGS) $(MED_LDFLAGS) -lMEDWrapper -lMEDWrapperBase -lMEDWrapper_V2_1 -lmed_V2_1 -lMEDWrapper_V2_2 -lOpUtil -lSALOMELocalTrace -lSALOMEBasics
@CONCLUDE@