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