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
19 # Author : Anthony Geay (CEA/DEN)
21 include $(top_srcdir)/adm_local/unix/make_common_starter.am
27 # first '.' says that this folder must be compiled before Test (MEDMEM/Test uses MEDMEM)
29 lib_LTLIBRARIES = libmedcoupling.la libmedcouplingremapper.la
32 salomeinclude_HEADERS = MEDCoupling.hxx \
33 MEDCouplingFieldDouble.hxx MEDCouplingMesh.hxx MEDCouplingUMesh.hxx MEDCouplingTimeLabel.hxx \
34 MEDCouplingField.hxx MEDCouplingNormalizedUnstructuredMesh.hxx MEDCouplingMemArray.hxx \
35 MEDCouplingNormalizedUnstructuredMesh.txx MEDCouplingMemArray.txx MEDCouplingRefCountObject.hxx \
36 MEDCouplingCMesh.hxx MEDCouplingTimeDiscretization.hxx \
37 MEDCouplingFieldDiscretization.hxx MEDCouplingPointSet.hxx \
38 MEDCouplingUMeshDesc.hxx MEDCouplingNatureOfField.hxx MEDCouplingFieldTemplate.hxx \
39 MEDCouplingNormalizedCartesianMesh.hxx MEDCouplingNormalizedCartesianMesh.txx \
40 MEDCouplingRemapper.hxx MEDCouplingExtrudedMesh.hxx MEDCouplingGaussLocalization.hxx \
41 MEDCouplingAutoRefCountObjectPtr.hxx MEDCouplingMultiFields.hxx MEDCouplingDefinitionTime.hxx \
42 MEDCouplingFieldOverTime.hxx
46 dist_libmedcoupling_la_SOURCES = \
47 MEDCouplingField.cxx MEDCouplingFieldDouble.cxx \
48 MEDCouplingUMesh.cxx MEDCouplingMemArray.cxx MEDCouplingTimeLabel.cxx \
49 MEDCouplingCMesh.cxx MEDCouplingTimeDiscretization.cxx \
50 MEDCouplingFieldDiscretization.cxx MEDCouplingRefCountObject.cxx \
51 MEDCouplingPointSet.cxx MEDCouplingUMeshDesc.cxx MEDCouplingFieldTemplate.cxx \
52 MEDCouplingExtrudedMesh.cxx MEDCouplingMesh.cxx MEDCouplingGaussLocalization.cxx \
53 MEDCouplingNatureOfField.cxx MEDCouplingMultiFields.cxx \
54 MEDCouplingDefinitionTime.cxx MEDCouplingFieldOverTime.cxx
56 libmedcoupling_la_LDFLAGS=
58 libmedcoupling_la_CPPFLAGS= @CXXTMPDPTHFLAGS@ \
59 -I$(top_builddir) -I$(srcdir) -I$(srcdir)/../INTERP_KERNEL/Bases \
60 -I$(srcdir)/../INTERP_KERNEL -I$(srcdir)/../INTERP_KERNEL/Geometric2D \
61 -I$(srcdir)/../INTERP_KERNEL/ExprEval -I$(srcdir)/../INTERP_KERNEL/GaussPoints
63 # the geom2D library is included in the interpkernel one
64 libmedcoupling_la_LIBADD= ../INTERP_KERNEL/libinterpkernel.la
66 dist_libmedcouplingremapper_la_SOURCES = MEDCouplingRemapper.cxx
68 libmedcouplingremapper_la_CPPFLAGS = @CXXTMPDPTHFLAGS@ \
69 -I$(srcdir) -I$(srcdir)/../INTERP_KERNEL/Bases -I$(srcdir)/../INTERP_KERNEL \
70 -I$(srcdir)/../INTERP_KERNEL/Geometric2D
72 libmedcouplingremapper_la_LDFLAGS =
74 libmedcouplingremapper_la_LIBADD = libmedcoupling.la
76 AM_CPPFLAGS += $(libinterpkernel_la_CPPFLAGS)
77 LDADD= $(libinterpkernel_la_LDFLAGS)
80 MEDCouplingFieldDouble.hxx \
81 MEDCouplingTimeDiscretization.hxx \
82 MEDCouplingFieldDiscretization.hxx \
84 MEDCouplingUMesh.hxx \
85 MEDCouplingCMesh.hxx \
86 MEDCouplingTimeLabel.hxx \
87 MEDCouplingField.hxx \
88 MEDCouplingNormalizedUnstructuredMesh.hxx \
89 MEDCouplingMemArray.hxx \
90 MEDCouplingNormalizedUnstructuredMesh.txx \
91 MEDCouplingMemArray.txx \
92 MEDCouplingRefCountObject.hxx \
93 MEDCouplingPointSet.hxx \
94 MEDCouplingUMeshDesc.hxx \
95 MEDCouplingNatureOfField.hxx \
96 MEDCouplingRemapper.hxx \
97 MEDCouplingExtrudedMesh.hxx \
98 MEDCouplingGaussLocalization.hxx \
99 MEDCouplingMultiFields.hxx \
100 MEDCouplingFieldTemplate.hxx \
101 MEDCouplingDefinitionTime.hxx \
102 MEDCouplingFieldOverTime.hxx