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 include $(top_srcdir)/adm_local/unix/make_common_starter.am
21 # this directory must be recompiled before Test folder
27 lib_LTLIBRARIES= librenumber.la
29 salomeinclude_HEADERS= \
30 RENUMBER_Renumbering.hxx \
31 RenumberingFactory.hxx \
35 salomeinclude_HEADERS+= RENUMBER_METISRenumbering.hxx
38 salomeinclude_HEADERS+= RENUMBER_BOOSTRenumbering.hxx
41 dist_librenumber_la_SOURCES= \
42 RENUMBER_Renumbering.cxx \
43 RenumberingFactory.cxx
46 dist_librenumber_la_SOURCES+= RENUMBER_METISRenumbering.cxx
49 dist_librenumber_la_SOURCES+= RENUMBER_BOOSTRenumbering.cxx
52 librenumber_la_CPPFLAGS= $(MED3_INCLUDES) $(HDF5_INCLUDES) @CXXTMPDPTHFLAGS@ \
54 -I$(srcdir)/../MEDLoader -I$(srcdir)/../MEDCoupling -I$(srcdir)/../INTERP_KERNEL/Bases \
55 -I$(srcdir)/../INTERP_KERNEL/GaussPoints \
56 -I$(srcdir)/../INTERP_KERNEL
58 librenumber_la_LDFLAGS=
59 #libmedsplitter_la_LDFLAGS= $(MED3_LIBS_C_ONLY) $(HDF5_LIBS) $(STDLIB) \
60 # ../MEDLoader/libmedloader.la
63 librenumber_la_CPPFLAGS+= $(METIS_CPPFLAGS)
64 librenumber_la_LDFLAGS+= $(METIS_LIBS)
67 librenumber_la_CPPFLAGS+= $(BOOST_CPPFLAGS) -DENABLE_BOOST
68 librenumber_la_LDFLAGS+= $(BOOST_LIBS)
71 librenumber_la_CPPFLAGS+= ${KERNEL_CXXFLAGS}
72 librenumber_la_LDFLAGS+= ${KERNEL_LDFLAGS} -lSALOMELocalTrace
75 librenumber_la_LDFLAGS+= $(MED3_LIBS_C_ONLY) $(HDF5_LIBS) $(STDLIB) \
76 ../MEDLoader/libmedloader.la ../MEDCoupling/libmedcoupling.la ../INTERP_KERNEL/libinterpkernel.la
79 bin_PROGRAMS= renumber
81 dist_renumber_SOURCES= renumbering.cxx
83 renumber_CPPFLAGS= $(librenumber_la_CPPFLAGS)
84 renumber_LDADD= $(librenumber_la_LDFLAGS) -lm $(BOOST_LIBS) librenumber.la
86 renumber_LDADD+= -lSALOMEBasics
90 # MEDSPLITTER_SequentialTopology.cxx \
91 # test_HighLevelAPI.cxx
93 EXTRA_DIST += $(OBSOLETE_FILES) testRenumbering.py