Salome HOME
Merge from MrgToV7main1804
[tools/medcoupling.git] / src / MEDCoupling / Makefile.am
1 # Copyright (C) 2007-2013  CEA/DEN, EDF R&D
2 #
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.
7 #
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.
12 #
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
16 #
17 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18 #
19 # Author : Anthony Geay (CEA/DEN)
20
21 include $(top_srcdir)/adm_local/unix/make_common_starter.am
22
23 if CPPUNIT_IS_OK
24   SUBDIRS = . Test
25 endif
26
27 # first '.' says that this folder must be compiled before Test (MEDMEM/Test uses MEDMEM)
28
29 lib_LTLIBRARIES = libmedcoupling.la libmedcouplingremapper.la
30
31
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 MEDCouplingCurveLinearMesh.hxx MEDCouplingStructuredMesh.hxx
43
44 # Libraries targets
45
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                          \
55         MEDCouplingCurveLinearMesh.cxx MEDCouplingStructuredMesh.cxx                        \
56         MEDCouplingMemArrayChar.cxx
57
58 libmedcoupling_la_LDFLAGS= 
59
60 libmedcoupling_la_CPPFLAGS=  @CXXTMPDPTHFLAGS@ \
61         -I$(top_builddir) -I$(srcdir) -I$(srcdir)/../INTERP_KERNEL/Bases \
62         -I$(srcdir)/../INTERP_KERNEL -I$(srcdir)/../INTERP_KERNEL/Geometric2D \
63         -I$(srcdir)/../INTERP_KERNEL/ExprEval -I$(srcdir)/../INTERP_KERNEL/GaussPoints
64
65 # the geom2D library is included in the interpkernel one
66 libmedcoupling_la_LIBADD= ../INTERP_KERNEL/libinterpkernel.la
67
68 dist_libmedcouplingremapper_la_SOURCES = MEDCouplingRemapper.cxx
69
70 libmedcouplingremapper_la_CPPFLAGS =  @CXXTMPDPTHFLAGS@ \
71         -I$(srcdir) -I$(srcdir)/../INTERP_KERNEL/Bases -I$(srcdir)/../INTERP_KERNEL \
72         -I$(srcdir)/../INTERP_KERNEL/Geometric2D
73
74 libmedcouplingremapper_la_LDFLAGS = 
75
76 libmedcouplingremapper_la_LIBADD = libmedcoupling.la
77
78 AM_CPPFLAGS += $(libinterpkernel_la_CPPFLAGS)
79 LDADD= $(libinterpkernel_la_LDFLAGS)
80
81 EXTRA_DIST += \
82         MEDCouplingFieldDouble.hxx                \
83         MEDCouplingTimeDiscretization.hxx         \
84         MEDCouplingFieldDiscretization.hxx        \
85         MEDCouplingMesh.hxx                       \
86         MEDCouplingUMesh.hxx                      \
87         MEDCouplingCMesh.hxx                      \
88         MEDCouplingTimeLabel.hxx                  \
89         MEDCouplingField.hxx                      \
90         MEDCouplingNormalizedUnstructuredMesh.hxx \
91         MEDCouplingMemArray.hxx                   \
92         MEDCouplingNormalizedUnstructuredMesh.txx \
93         MEDCouplingMemArray.txx                   \
94         MEDCouplingRefCountObject.hxx             \
95         MEDCouplingPointSet.hxx                   \
96         MEDCouplingUMeshDesc.hxx                  \
97         MEDCouplingNatureOfField.hxx              \
98         MEDCouplingRemapper.hxx                   \
99         MEDCouplingExtrudedMesh.hxx               \
100         MEDCouplingGaussLocalization.hxx          \
101         MEDCouplingMultiFields.hxx                \
102         MEDCouplingFieldTemplate.hxx              \
103         MEDCouplingDefinitionTime.hxx             \
104         MEDCouplingFieldOverTime.hxx