]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
*** empty log message ***
authorageay <ageay>
Tue, 19 Oct 2010 09:08:15 +0000 (09:08 +0000)
committerageay <ageay>
Tue, 19 Oct 2010 09:08:15 +0000 (09:08 +0000)
src/MEDLoader/Makefile.am

index ab110a19dbe1f0b0a0aa097d49e3c2e1868c80cb..3a2fbb7608bd22f46993b7e5411eafd93bd28908 100755 (executable)
 #  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
 
-#  MED MEDMEM_SWIG : binding of C++ implementation and Python
-#
 include $(top_srcdir)/adm_local/unix/make_common_starter.am
 
-lib_LTLIBRARIES = _libMEDLoader_Swig.la
-
-salomeinclude_HEADERS =  \
-       libMEDLoader_Swig.i MEDLoaderTypemaps.i
-
-SWIG_DEF = libMEDLoader_Swig.i MEDLoaderTypemaps.i
+MEDLOADER_SUBDIRS =
 
-SWIG_FLAGS = @SWIG_FLAGS@ -I$(srcdir) -I$(srcdir)/.. -I$(srcdir)/../../MEDCoupling -I$(srcdir)/../../MEDCoupling_Swig \
-       -I$(srcdir)/../../INTERP_KERNEL -I$(srcdir)/../../INTERP_KERNEL/Bases
+if !MED_ENABLE_MICROMED
+   MEDLOADER_SUBDIRS += . Swig
+if CPPUNIT_IS_OK
+   MEDLOADER_SUBDIRS += Test
+endif
+endif
 
-dist__libMEDLoader_Swig_la_SOURCES   = $(SWIG_DEF)
-nodist__libMEDLoader_Swig_la_SOURCES = libMEDLoader_Swig_wrap.cxx
-libMEDLoader_Swig.py: libMEDLoader_Swig_wrap.cxx
+SUBDIRS = $(MEDLOADER_SUBDIRS)
 
-libMEDLoader_Swig_wrap.cxx: $(SWIG_DEF)
-       $(SWIG) $(SWIG_FLAGS) -o $@  $<
+#DIST_SUBDIRS = Swig
 
-_libMEDLoader_Swig_la_CPPFLAGS = $(PYTHON_INCLUDES) \
-       $(MED2_INCLUDES) $(HDF5_INCLUDES) @CXXTMPDPTHFLAGS@ \
-       -I$(srcdir)/../../INTERP_KERNEL \
-       -I$(srcdir)/.. -I$(srcdir)/../../MEDCoupling_Swig -I$(srcdir)/../../INTERP_KERNEL/Bases \
-       -I$(srcdir)/../../MEDCoupling
+lib_LTLIBRARIES = libmedloader.la
 
-_libMEDLoader_Swig_la_LDFLAGS  = -module $(MED2_LIBS) $(HDF5_LIBS) $(PYTHON_LIBS) \
-       ../../MEDCoupling/libmedcoupling.la ../../INTERP_KERNEL/libinterpkernel.la \
-       ../libmedloader.la
+salomeinclude_HEADERS= \
+MEDLoaderDefines.hxx \
+MEDLoader.hxx MEDLoaderBase.hxx
 
-CLEANFILES = libMEDLoader_Swig_wrap.cxx libMEDLoader_Swig.py
+dist_libmedloader_la_SOURCES= \
+MEDLoader.cxx MEDLoaderBase.cxx
 
-dist_salomescript_DATA= libMEDLoader_Swig.py MEDLoaderDataForTest.py MEDLoaderTest.py MEDLoaderTest2.py
+libmedloader_la_CPPFLAGS= $(MED2_INCLUDES) $(HDF5_INCLUDES) @CXXTMPDPTHFLAGS@ \
+       -I$(srcdir)/../INTERP_KERNEL \
+       -I$(srcdir)/../INTERP_KERNEL/Geometric2D \
+       -I$(srcdir)/../INTERP_KERNEL/Bases \
+       -I$(srcdir)/../MEDCoupling
 
-UNIT_TEST_PROG = MEDLoaderTest.py MEDLoaderTest2.py
\ No newline at end of file
+libmedloader_la_LDFLAGS= ../MEDCoupling/libmedcoupling.la \
+../INTERP_KERNEL/libinterpkernel.la $(MED2_LIBS) $(HDF5_LIBS)