1 # MED MEDMEM : MED files in memory
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.salome-platform.org/ or email : webmaster.salome@opencascade.com
23 include $(top_srcdir)/adm_local/unix/make_common_starter.am
25 # this directory must be recompiled before Test folder
31 lib_LTLIBRARIES= libmedsplitter.la
33 salomeinclude_HEADERS= \
34 MEDSPLITTER_Topology.hxx \
35 MEDSPLITTER_MESHCollection.hxx \
36 MEDSPLITTER_MESHCollectionDriver.hxx \
37 MEDSPLITTER_MESHCollectionMedXMLDriver.hxx \
38 MEDSPLITTER_MESHCollectionMedAsciiDriver.hxx \
39 MEDSPLITTER_ParallelTopology.hxx \
40 MEDSPLITTER_FaceModel.hxx \
41 MEDSPLITTER_Graph.hxx\
42 MEDSPLITTER_UserGraph.hxx\
47 salomeinclude_HEADERS+= MEDSPLITTER_METISGraph.hxx
50 salomeinclude_HEADERS+= MEDSPLITTER_SCOTCHGraph.hxx
53 dist_libmedsplitter_la_SOURCES= \
54 MEDSPLITTER_MESHCollection.cxx \
55 MEDSPLITTER_MESHCollectionDriver.cxx \
56 MEDSPLITTER_MESHCollectionMedXMLDriver.cxx \
57 MEDSPLITTER_MESHCollectionMedAsciiDriver.cxx \
58 MEDSPLITTER_ParallelTopology.cxx \
59 MEDSPLITTER_Graph.cxx\
60 MEDSPLITTER_UserGraph.cxx\
64 dist_libmedsplitter_la_SOURCES+= MEDSPLITTER_METISGraph.cxx
67 dist_libmedsplitter_la_SOURCES+= MEDSPLITTER_SCOTCHGraph.cxx
70 libmedsplitter_la_CPPFLAGS= $(MED2_INCLUDES) $(HDF5_INCLUDES) @CXXTMPDPTHFLAGS@ \
71 $(BOOST_CPPFLAGS) $(LIBXML_CPPFLAGS) \
72 -I$(srcdir)/../MEDMEM -I$(srcdir)/../MEDWrapper/V2_1/Core
73 libmedsplitter_la_LDFLAGS= $(MED2_LIBS) $(HDF5_LIBS) $(STDLIB) $(LIBXML_LIBS) \
74 ../MEDMEM/libmedmem.la ../MEDWrapper/V2_1/Core/libmed_V2_1.la
77 libmedsplitter_la_CPPFLAGS+= ${KERNEL_CXXFLAGS}
78 libmedsplitter_la_LDFLAGS+= ${KERNEL_LDFLAGS} -lSALOMELocalTrace
81 libmedsplitter_la_CPPFLAGS+= $(METIS_CPPFLAGS)
82 libmedsplitter_la_LDFLAGS+= $(METIS_LIBS)
85 libmedsplitter_la_CPPFLAGS+= $(SCOTCH_CPPFLAGS)
86 libmedsplitter_la_LDFLAGS+= $(SCOTCH_LIBS)
90 bin_PROGRAMS= medsplitter
92 dist_medsplitter_SOURCES= medsplitter.cxx
94 medsplitter_CPPFLAGS= $(libmedsplitter_la_CPPFLAGS)
95 medsplitter_LDADD= $(libmedsplitter_la_LDFLAGS) -lm $(BOOST_LIBS) libmedsplitter.la
97 medsplitter_LDADD+= -lSALOMEBasics