1 # Copyright (C) 2007-2013 CEA/DEN, EDF R&D
3 # This library is free software; you can redistribute it and/or
4 # modify it under the terms of the GNU Lesser General Public
5 # License as published by the Free Software Foundation; either
6 # version 2.1 of the License.
8 # This library is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 # Lesser General Public License for more details.
13 # You should have received a copy of the GNU Lesser General Public
14 # License along with this library; if not, write to the Free Software
15 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
19 # MED MEDMEM : MED files in memory
21 include $(top_srcdir)/adm_local/unix/make_common_starter.am
23 # this directory must be recompiled before Test folder
29 lib_LTLIBRARIES= librenumber.la
31 salomeinclude_HEADERS= \
32 RENUMBER_Renumbering.hxx \
33 RenumberingFactory.hxx \
37 salomeinclude_HEADERS+= RENUMBER_METISRenumbering.hxx
40 salomeinclude_HEADERS+= RENUMBER_BOOSTRenumbering.hxx
43 dist_librenumber_la_SOURCES= \
44 RENUMBER_Renumbering.cxx \
45 RenumberingFactory.cxx
48 dist_librenumber_la_SOURCES+= RENUMBER_METISRenumbering.cxx
51 dist_librenumber_la_SOURCES+= RENUMBER_BOOSTRenumbering.cxx
54 librenumber_la_CPPFLAGS= $(MED3_INCLUDES) $(HDF5_INCLUDES) @CXXTMPDPTHFLAGS@ \
56 -I$(srcdir)/../MEDMEM -I$(srcdir)/../INTERP_KERNEL/Bases \
57 -I$(srcdir)/../INTERP_KERNEL/GaussPoints \
58 -I$(srcdir)/../INTERP_KERNEL
60 librenumber_la_LDFLAGS=
61 #libmedsplitter_la_LDFLAGS= $(MED3_LIBS_C_ONLY) $(HDF5_LIBS) $(STDLIB) \
62 # ../MEDMEM/libmedmem.la
65 librenumber_la_CPPFLAGS+= $(METIS_CPPFLAGS)
66 librenumber_la_LDFLAGS+= $(METIS_LIBS)
69 librenumber_la_CPPFLAGS+= $(BOOST_CPPFLAGS) -DENABLE_BOOST
70 librenumber_la_LDFLAGS+= $(BOOST_LIBS)
73 librenumber_la_CPPFLAGS+= ${KERNEL_CXXFLAGS}
74 librenumber_la_LDFLAGS+= ${KERNEL_LDFLAGS} -lSALOMELocalTrace
77 librenumber_la_LDFLAGS+= $(MED3_LIBS_C_ONLY) $(HDF5_LIBS) $(STDLIB) \
78 ../MEDMEM/libmedmem.la ../INTERP_KERNEL/libinterpkernel.la
81 bin_PROGRAMS= renumber
83 dist_renumber_SOURCES= renumbering.cxx
85 renumber_CPPFLAGS= $(librenumber_la_CPPFLAGS)
86 renumber_LDADD= $(librenumber_la_LDFLAGS) -lm $(BOOST_LIBS) librenumber.la
88 renumber_LDADD+= -lSALOMEBasics
92 # MEDSPLITTER_SequentialTopology.cxx \
93 # test_HighLevelAPI.cxx
95 EXTRA_DIST += $(OBSOLETE_FILES) testRenumbering.py