1 # MED MEDMEM_SWIG : binding of C++ implementation and Python
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 lib_LTLIBRARIES = _libParaMEDMEM_Swig.la
27 salomeinclude_HEADERS = \
30 SWIG_DEF = libParaMEDMEM_Swig.i
32 SWIG_FLAGS = @SWIG_FLAGS@ -I$(srcdir) $(MPI_INCLUDES) -I$(srcdir)/../MEDMEM_SWIG
34 dist__libParaMEDMEM_Swig_la_SOURCES = libParaMEDMEM_Swig.i
35 nodist__libParaMEDMEM_Swig_la_SOURCES = libParaMEDMEM_Swig_wrap.cxx
36 libParaMEDMEM_Swig.py: libParaMEDMEM_Swig_wrap.cxx
38 libParaMEDMEM_Swig_wrap.cxx: $(SWIG_DEF)
39 $(SWIG) $(SWIG_FLAGS) -o $@ $<
41 _libParaMEDMEM_Swig_la_CPPFLAGS = $(CORBA_CXXFLAGS) $(CORBA_INCLUDES) $(PYTHON_INCLUDES) \
42 $(MED2_INCLUDES) $(HDF5_INCLUDES) @CXXTMPDPTHFLAGS@ \
43 -I$(srcdir)/../MEDMEM -I$(srcdir)/../MEDWrapper/V2_1/Core -I$(srcdir)/../INTERP_KERNEL \
44 $(MPI_INCLUDES) -I$(srcdir)/../ParaMEDMEM -I$(srcdir)/../MEDMEM_SWIG -I$(srcdir)/../INTERP_KERNEL/Bases \
45 -I$(srcdir)/../MEDCoupling
47 _libParaMEDMEM_Swig_la_LDFLAGS = -module $(MED2_LIBS) $(HDF5_LIBS) $(PYTHON_LIBS) $(MPI_LIBS) \
48 ../MEDMEM/libmedmem.la ../INTERP_KERNEL/libinterpkernel.la \
49 ../ParaMEDMEM/libparamedmem.la
52 _libParaMEDMEM_Swig_la_CPPFLAGS += ${KERNEL_CXXFLAGS}
53 _libParaMEDMEM_Swig_la_LDFLAGS += ${KERNEL_LDFLAGS} -lSALOMELocalTrace
56 CLEANFILES = libParaMEDMEM_Swig_wrap.cxx libParaMEDMEM_Swig.py
58 nodist_salomescript_DATA= libParaMEDMEM_Swig.py
60 dist_salomescript_DATA= test_IntersectionDEC.py \
61 test_NonCoincidentDEC.py \
62 test_StructuredCoincodentDEC.py \