Salome HOME
Merge from MrgToV7main1804
[modules/med.git] / src / MEDCoupling / Makefile.am
index ea0f7153b4cb1946b262793e9e4de810dff50a91..4c11df0cb0ac8338ad14379f1ea3abe22acf6889 100644 (file)
@@ -1,21 +1,23 @@
-#  Copyright (C) 2007-2008  CEA/DEN, EDF R&D
+# Copyright (C) 2007-2013  CEA/DEN, EDF R&D
 #
-#  This library is free software; you can redistribute it and/or
-#  modify it under the terms of the GNU Lesser General Public
-#  License as published by the Free Software Foundation; either
-#  version 2.1 of the License.
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License.
 #
-#  This library is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY; without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-#  Lesser General Public License for more details.
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
 #
-#  You should have received a copy of the GNU Lesser General Public
-#  License along with this library; if not, write to the Free Software
-#  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 #
-#  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
+# Author : Anthony Geay (CEA/DEN)
+
 include $(top_srcdir)/adm_local/unix/make_common_starter.am
 
 if CPPUNIT_IS_OK
@@ -24,45 +26,79 @@ endif
 
 # first '.' says that this folder must be compiled before Test (MEDMEM/Test uses MEDMEM)
 
-lib_LTLIBRARIES = libmedcoupling.la
+lib_LTLIBRARIES = libmedcoupling.la libmedcouplingremapper.la
 
 
-salomeinclude_HEADERS = \
-MEDCouplingFieldDouble.hxx  MEDCouplingMesh.hxx MEDCouplingUMesh.hxx TimeLabel.hxx \
-MEDCouplingField.hxx MEDCouplingNormalizedUnstructuredMesh.hxx MemArray.hxx        \
-MEDCouplingNormalizedUnstructuredMesh.txx  MemArray.txx RefCountObject.hxx         \
-MEDCouplingSMesh.hxx
+salomeinclude_HEADERS = MEDCoupling.hxx \
+MEDCouplingFieldDouble.hxx  MEDCouplingMesh.hxx MEDCouplingUMesh.hxx MEDCouplingTimeLabel.hxx     \
+MEDCouplingField.hxx MEDCouplingNormalizedUnstructuredMesh.hxx MEDCouplingMemArray.hxx            \
+MEDCouplingNormalizedUnstructuredMesh.txx  MEDCouplingMemArray.txx MEDCouplingRefCountObject.hxx  \
+MEDCouplingCMesh.hxx MEDCouplingTimeDiscretization.hxx                                            \
+MEDCouplingFieldDiscretization.hxx MEDCouplingPointSet.hxx                                        \
+MEDCouplingUMeshDesc.hxx MEDCouplingNatureOfField.hxx MEDCouplingFieldTemplate.hxx                \
+MEDCouplingNormalizedCartesianMesh.hxx MEDCouplingNormalizedCartesianMesh.txx                     \
+MEDCouplingRemapper.hxx MEDCouplingExtrudedMesh.hxx MEDCouplingGaussLocalization.hxx              \
+MEDCouplingAutoRefCountObjectPtr.hxx MEDCouplingMultiFields.hxx MEDCouplingDefinitionTime.hxx     \
+MEDCouplingFieldOverTime.hxx MEDCouplingCurveLinearMesh.hxx MEDCouplingStructuredMesh.hxx
 
 # Libraries targets
 
 dist_libmedcoupling_la_SOURCES = \
-       MEDCouplingField.cxx  MEDCouplingFieldDouble.cxx  \
-       MEDCouplingUMesh.cxx  MemArray.cxx  TimeLabel.cxx \
-       MEDCouplingSMesh.cxx
+       MEDCouplingField.cxx  MEDCouplingFieldDouble.cxx                                    \
+       MEDCouplingUMesh.cxx  MEDCouplingMemArray.cxx  MEDCouplingTimeLabel.cxx             \
+       MEDCouplingCMesh.cxx MEDCouplingTimeDiscretization.cxx                              \
+       MEDCouplingFieldDiscretization.cxx MEDCouplingRefCountObject.cxx                    \
+       MEDCouplingPointSet.cxx MEDCouplingUMeshDesc.cxx  MEDCouplingFieldTemplate.cxx      \
+       MEDCouplingExtrudedMesh.cxx MEDCouplingMesh.cxx MEDCouplingGaussLocalization.cxx    \
+       MEDCouplingNatureOfField.cxx MEDCouplingMultiFields.cxx                             \
+       MEDCouplingDefinitionTime.cxx MEDCouplingFieldOverTime.cxx                          \
+       MEDCouplingCurveLinearMesh.cxx MEDCouplingStructuredMesh.cxx                        \
+       MEDCouplingMemArrayChar.cxx
 
 libmedcoupling_la_LDFLAGS= 
 
 libmedcoupling_la_CPPFLAGS=  @CXXTMPDPTHFLAGS@ \
-       -I$(srcdir) -I$(srcdir)/../INTERP_KERNEL/Bases -I$(srcdir)/../INTERP_KERNEL
+       -I$(top_builddir) -I$(srcdir) -I$(srcdir)/../INTERP_KERNEL/Bases \
+       -I$(srcdir)/../INTERP_KERNEL -I$(srcdir)/../INTERP_KERNEL/Geometric2D \
+       -I$(srcdir)/../INTERP_KERNEL/ExprEval -I$(srcdir)/../INTERP_KERNEL/GaussPoints
 
 # the geom2D library is included in the interpkernel one
 libmedcoupling_la_LIBADD= ../INTERP_KERNEL/libinterpkernel.la
 
-AM_CPPFLAGS= $(libinterpkernel_la_CPPFLAGS)
+dist_libmedcouplingremapper_la_SOURCES = MEDCouplingRemapper.cxx
+
+libmedcouplingremapper_la_CPPFLAGS =  @CXXTMPDPTHFLAGS@ \
+       -I$(srcdir) -I$(srcdir)/../INTERP_KERNEL/Bases -I$(srcdir)/../INTERP_KERNEL \
+       -I$(srcdir)/../INTERP_KERNEL/Geometric2D
+
+libmedcouplingremapper_la_LDFLAGS = 
+
+libmedcouplingremapper_la_LIBADD = libmedcoupling.la
+
+AM_CPPFLAGS += $(libinterpkernel_la_CPPFLAGS)
 LDADD= $(libinterpkernel_la_LDFLAGS)
-if MED_ENABLE_KERNEL
-     LDADD+=-lSALOMEBasics
-endif
 
 EXTRA_DIST += \
        MEDCouplingFieldDouble.hxx                \
+       MEDCouplingTimeDiscretization.hxx         \
+       MEDCouplingFieldDiscretization.hxx        \
         MEDCouplingMesh.hxx                       \
         MEDCouplingUMesh.hxx                      \
-        MEDCouplingSMesh.hxx                      \
-        TimeLabel.hxx                             \
+        MEDCouplingCMesh.hxx                      \
+        MEDCouplingTimeLabel.hxx                  \
        MEDCouplingField.hxx                      \
        MEDCouplingNormalizedUnstructuredMesh.hxx \
-       MemArray.hxx                              \
+       MEDCouplingMemArray.hxx                   \
        MEDCouplingNormalizedUnstructuredMesh.txx \
-       MemArray.txx                              \
-       RefCountObject.hxx
+       MEDCouplingMemArray.txx                   \
+       MEDCouplingRefCountObject.hxx             \
+       MEDCouplingPointSet.hxx                   \
+       MEDCouplingUMeshDesc.hxx                  \
+       MEDCouplingNatureOfField.hxx              \
+       MEDCouplingRemapper.hxx                   \
+       MEDCouplingExtrudedMesh.hxx               \
+       MEDCouplingGaussLocalization.hxx          \
+       MEDCouplingMultiFields.hxx                \
+       MEDCouplingFieldTemplate.hxx              \
+       MEDCouplingDefinitionTime.hxx             \
+       MEDCouplingFieldOverTime.hxx