1 # Copyright (C) 2007-2012 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
20 # MED MEDMEM : MED files in memory
22 include $(top_srcdir)/adm_local/unix/make_common_starter.am
24 # this directory must be recompiled before Test folder
30 lib_LTLIBRARIES= librenumber.la
32 salomeinclude_HEADERS= \
33 RENUMBER_Renumbering.hxx \
34 RenumberingFactory.hxx \
38 salomeinclude_HEADERS+= RENUMBER_METISRenumbering.hxx
41 salomeinclude_HEADERS+= RENUMBER_BOOSTRenumbering.hxx
44 dist_librenumber_la_SOURCES= \
45 RENUMBER_Renumbering.cxx \
46 RenumberingFactory.cxx
49 dist_librenumber_la_SOURCES+= RENUMBER_METISRenumbering.cxx
52 dist_librenumber_la_SOURCES+= RENUMBER_BOOSTRenumbering.cxx
55 librenumber_la_CPPFLAGS= $(MED3_INCLUDES) $(HDF5_INCLUDES) @CXXTMPDPTHFLAGS@ \
57 -I$(srcdir)/../MEDMEM -I$(srcdir)/../MEDWrapper/V2_1/Core -I$(srcdir)/../INTERP_KERNEL/Bases \
58 -I$(srcdir)/../INTERP_KERNEL/GaussPoints \
59 -I$(srcdir)/../INTERP_KERNEL
61 librenumber_la_LDFLAGS=
62 #libmedsplitter_la_LDFLAGS= $(MED3_LIBS_C_ONLY) $(HDF5_LIBS) $(STDLIB) \
63 # ../MEDMEM/libmedmem.la ../MEDWrapper/V2_1/Core/libmed_V2_1.la
66 librenumber_la_CPPFLAGS+= $(METIS_CPPFLAGS)
67 librenumber_la_LDFLAGS+= $(METIS_LIBS)
70 librenumber_la_CPPFLAGS+= $(BOOST_CPPFLAGS) -DENABLE_BOOST
71 librenumber_la_LDFLAGS+= $(BOOST_LIBS)
74 librenumber_la_CPPFLAGS+= ${KERNEL_CXXFLAGS}
75 librenumber_la_LDFLAGS+= ${KERNEL_LDFLAGS} -lSALOMELocalTrace
78 librenumber_la_LDFLAGS+= $(MED3_LIBS_C_ONLY) $(HDF5_LIBS) $(STDLIB) \
79 ../MEDMEM/libmedmem.la ../MEDWrapper/V2_1/Core/libmed_V2_1.la ../INTERP_KERNEL/libinterpkernel.la
82 bin_PROGRAMS= renumber
84 dist_renumber_SOURCES= renumbering.cxx
86 renumber_CPPFLAGS= $(librenumber_la_CPPFLAGS)
87 renumber_LDADD= $(librenumber_la_LDFLAGS) -lm $(BOOST_LIBS) librenumber.la
89 renumber_LDADD+= -lSALOMEBasics
93 # MEDSPLITTER_SequentialTopology.cxx \
94 # test_HighLevelAPI.cxx
96 EXTRA_DIST += $(OBSOLETE_FILES) testRenumbering.py