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