Salome HOME
SOURCE -> PROJECT
[tools/medcoupling.git] / src / ParaMEDMEM / 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
20 include $(top_srcdir)/adm_local/unix/make_common_starter.am
21
22 lib_LTLIBRARIES= libparamedmem.la
23
24 salomeinclude_HEADERS= \
25 CommInterface.hxx\
26 MPIProcessorGroup.hxx\
27 ProcessorGroup.hxx\
28 BlockTopology.hxx\
29 Topology.hxx\
30 ParaGRID.hxx\
31 ParaMESH.hxx\
32 ComponentTopology.hxx\
33 ExplicitTopology.hxx\
34 ParaFIELD.hxx\
35 DEC.hxx\
36 DisjointDEC.hxx\
37 OverlapDEC.hxx\
38 DECOptions.hxx\
39 MxN_Mapping.hxx\
40 OverlapMapping.hxx\
41 StructuredCoincidentDEC.hxx\
42 InterpolationMatrix.hxx\
43 OverlapInterpolationMatrix.hxx\
44 InterpKernelDEC.hxx\
45 ExplicitCoincidentDEC.hxx\
46 ElementLocator.hxx\
47 OverlapElementLocator.hxx\
48 ExplicitMapping.hxx\
49 ICoCoField.hxx \
50 ICoCoMEDField.hxx \
51 ICoCoTrioField.hxx \
52 MPIAccess.hxx \
53 MPIAccessDEC.hxx \
54 TimeInterpolator.hxx \
55 LinearTimeInterpolator.hxx
56
57 dist_libparamedmem_la_SOURCES= \
58 ProcessorGroup.cxx \
59 MPIProcessorGroup.cxx\
60 ParaMESH.cxx\
61 ComponentTopology.cxx\
62 MPIAccess.cxx \
63 InterpolationMatrix.cxx\
64 OverlapInterpolationMatrix.cxx\
65 StructuredCoincidentDEC.cxx\
66 ExplicitCoincidentDEC.cxx\
67 InterpKernelDEC.cxx\
68 ElementLocator.cxx\
69 OverlapElementLocator.cxx\
70 MPIAccessDEC.cxx \
71 TimeInterpolator.cxx \
72 LinearTimeInterpolator.cxx\
73 DEC.cxx\
74 DisjointDEC.cxx\
75 OverlapDEC.cxx\
76 ExplicitTopology.cxx\
77 MxN_Mapping.cxx\
78 OverlapMapping.cxx\
79 ICoCoMEDField.cxx\
80 ICoCoField.cxx\
81 ICoCoTrioField.cxx\
82 ParaFIELD.cxx\
83 ParaGRID.cxx\
84 BlockTopology.cxx
85
86 #libmedmem_la_LDFLAGS= -L$(top_builddir)/lib@LIB_LOCATION_SUFFIX@/salome 
87 libparamedmem_la_CPPFLAGS= $(MPI_INCLUDES) @CXXTMPDPTHFLAGS@ \
88         -I$(srcdir)/../INTERP_KERNEL \
89         -I$(srcdir)/../INTERP_KERNEL/Bases \
90         -I$(srcdir)/../INTERP_KERNEL/Geometric2D \
91         -I$(srcdir)/../MEDCoupling
92
93 # change motivated by the bug KERNEL4778.
94 libparamedmem_la_LDFLAGS= ../MEDCoupling/libmedcoupling.la \
95 ../INTERP_KERNEL/libinterpkernel.la \
96 $(MPI_LIBS)
97
98 if MED_ENABLE_FVM
99         salomeinclude_HEADERS += NonCoincidentDEC.hxx
100         libparamedmem_la_SOURCES+= NonCoincidentDEC.cxx
101         libparamedmem_la_LDFLAGS+= $(FVM_LIBS)
102         libparamedmem_la_CPPFLAGS+= $(FVM_INCLUDES)
103 endif
104
105 LDADD= -lm
106
107 EXTRA_DIST += \
108         BASICS_JR \
109         CommInterface.cxx \
110         NonCoincidentDEC.cxx \
111         NonCoincidentDEC.hxx \
112         DECOptions.hxx \
113         README_JR \
114         TODO_JR \
115         Topology.cxx