]> SALOME platform Git repositories - modules/med.git/blob - src/MEDMEM/Makefile.am
Salome HOME
Merge from BR_V5_DEV 16Feb09
[modules/med.git] / src / MEDMEM / Makefile.am
1 #  Copyright (C) 2007-2008  CEA/DEN, EDF R&D, OPEN CASCADE
2 #
3 #  Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 #  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
5 #
6 #  This library is free software; you can redistribute it and/or
7 #  modify it under the terms of the GNU Lesser General Public
8 #  License as published by the Free Software Foundation; either
9 #  version 2.1 of the License.
10 #
11 #  This library is distributed in the hope that it will be useful,
12 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
13 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 #  Lesser General Public License for more details.
15 #
16 #  You should have received a copy of the GNU Lesser General Public
17 #  License along with this library; if not, write to the Free Software
18 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
19 #
20 #  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 #
22 #  MED MEDMEM : MED files in memory
23 #
24 include $(top_srcdir)/adm_local/unix/make_common_starter.am
25
26 # first '.' says that this folder must be compiled before Test (MEDMEM/Test uses MEDMEM)
27 #if CPPUNIT_IS_OK
28 # SUBDIRS=. Test
29 #endif
30
31 #DIST_SUBDIRS= Test
32
33 lib_LTLIBRARIES= libmedmem.la
34
35 salomeinclude_HEADERS= \
36 MEDMEM_PointerOf.hxx \
37 MEDMEM_CellModel.hxx \
38 MEDMEM_Connectivity.hxx \
39 MEDMEM_Coordinate.hxx \
40 MEDMEM_define.hxx \
41 MEDMEM_DriversDef.hxx \
42 MEDMEM_DriverFactory.hxx \
43 MEDMEM_Family.hxx \
44 MEDMEM_Field.hxx \
45 MEDMEM_GenDriver.hxx \
46 MEDMEM_Group.hxx \
47 MEDMEM_Array.hxx \
48 MEDMEM_Exception.hxx \
49 MEDMEM_MedFieldDriver.hxx \
50 MEDMEM_AsciiFieldDriver.hxx \
51 MEDMEM_Med.hxx \
52 MEDMEM_MedMedDriver.hxx \
53 MEDMEM_MedMeshDriver.hxx \
54 MEDMEM_GibiMeshDriver.hxx \
55 MEDMEM_PorflowMeshDriver.hxx \
56 MEDMEM_DriverTools.hxx \
57 MEDMEM_ModulusArray.hxx \
58 MEDMEM_SkyLineArray.hxx \
59 MEDMEM_VtkMedDriver.hxx \
60 MEDMEM_VtkMeshDriver.hxx \
61 MEDMEM_VtkFieldDriver.hxx \
62 MEDMEM_Mesh.hxx \
63 MEDMEM_Meshing.hxx \
64 MEDMEM_STRING.hxx \
65 MEDMEM_Support.hxx \
66 MEDMEM_Unit.hxx \
67 MEDMEM_Grid.hxx \
68 MEDMEM_RCBase.hxx \
69 MEDMEM_medimport_src.hxx \
70 MEDMEM_MedVersion.hxx \
71 MEDMEM_Compatibility21_22.hxx \
72 MEDMEM_MedFieldDriver21.hxx \
73 MEDMEM_MedMeshDriver21.hxx \
74 MEDMEM_MedMedDriver21.hxx \
75 MEDMEM_PolyhedronArray.hxx \
76 MEDMEM_MedFieldDriver22.hxx \
77 MEDMEM_MedMedDriver22.hxx \
78 MEDMEM_MedMeshDriver22.hxx \
79 MEDMEM_TopLevel.hxx \
80 MEDMEM_Utilities.hxx \
81 MEDMEM_ArrayInterface.hxx \
82 MEDMEM_IndexCheckingPolicy.hxx \
83 MEDMEM_InterlacingPolicy.hxx \
84 MEDMEM_InterlacingTraits.hxx \
85 MEDMEM_nArray.hxx \
86 MEDMEM_Tags.hxx \
87 MEDMEM_FieldConvert.hxx \
88 MEDMEM_ArrayConvert.hxx \
89 MEDMEM_FieldForward.hxx \
90 MEDMEM_GaussLocalization.hxx \
91 MEDMEM_SetInterlacingType.hxx\
92 MEDMEM_ConnectZone.hxx \
93 MEDMEM_EnsightMedDriver.hxx \
94 MEDMEM_EnsightMeshDriver.hxx \
95 MEDMEM_EnsightFieldDriver.hxx \
96 MEDMEM.hxx \
97 MEDMEM_OptionManager.hxx \
98 MEDMEM_EnsightUtils.hxx \
99 MEDMEM_Extractor.hxx \
100 Remapper.hxx \
101 PointLocator.hxx \
102 MEDNormalizedUnstructuredMesh.hxx
103
104 # not exported headers
105 EXTRA_DIST+= DataTest \
106 MEDMEM_MEDMEMchampLire.hxx \
107 MEDMEM_MEDMEMgaussEcr.hxx \
108 MEDMEM_MEDMEMprofilEcr.hxx
109
110 dist_libmedmem_la_SOURCES= \
111 MEDMEM_Init.cxx \
112 MEDMEM_CellModel.cxx \
113 MEDMEM_Connectivity.cxx \
114 MEDMEM_Coordinate.cxx \
115 MEDMEM_DriversDef.cxx \
116 MEDMEM_DriverFactory.cxx \
117 MEDMEM_Family.cxx \
118 MEDMEM_Field.cxx \
119 MEDMEM_GenDriver.cxx \
120 MEDMEM_Group.cxx \
121 MEDMEM_Med.cxx \
122 MEDMEM_Exception.cxx \
123 MEDMEM_MedMedDriver.cxx \
124 MEDMEM_MedMeshDriver.cxx \
125 MEDMEM_GibiMeshDriver.cxx \
126 MEDMEM_PorflowMeshDriver.cxx \
127 MEDMEM_SkyLineArray.cxx \
128 MEDMEM_Mesh.cxx \
129 MEDMEM_Meshing.cxx \
130 MEDMEM_Support.cxx \
131 MEDMEM_Unit.cxx \
132 MEDMEM_VtkMedDriver.cxx \
133 MEDMEM_VtkMeshDriver.cxx \
134 MEDMEM_Grid.cxx \
135 MEDMEM_MedVersion.cxx \
136 MEDMEM_Compatibility21_22.cxx \
137 MEDMEM_MedMeshDriver21.cxx \
138 MEDMEM_MedMedDriver21.cxx \
139 MEDMEM_medimport_src.cxx \
140 MEDMEM_PolyhedronArray.cxx \
141 MEDMEM_MedMedDriver22.cxx \
142 MEDMEM_MedMeshDriver22.cxx \
143 MEDMEM_TopLevel.cxx \
144 MEDMEM_ConnectZone.cxx \
145 MEDMEM_EnsightFieldDriver.cxx \
146 MEDMEM_EnsightUtils.cxx \
147 MEDMEM_EnsightMedDriver.cxx \
148 MEDMEM_EnsightMeshDriver.cxx \
149 MEDMEM_DriverTools.cxx \
150 MEDMEM_GaussLocalization.cxx \
151 MEDMEM_Extractor.cxx \
152 PointLocator.cxx \
153 Remapper.cxx
154
155 #libmedmem_la_LDFLAGS= -L$(top_builddir)/lib@LIB_LOCATION_SUFFIX@/salome 
156 # libmedmem_la_CPPFLAGS= $(MED2_INCLUDES) $(HDF5_INCLUDES) @CXXTMPDPTHFLAGS@
157 libmedmem_la_CPPFLAGS= $(MED2_INCLUDES) $(HDF5_INCLUDES) \
158         -I$(srcdir)/../MEDWrapper/Base \
159         -I$(srcdir)/../INTERP_KERNEL \
160         -I$(srcdir)/../INTERP_KERNEL/Bases \
161         -I$(srcdir)/../INTERP_KERNEL/Geometric2D \
162         -I$(srcdir)/../MEDWrapper/V2_1/Core -I$(srcdir)/../INTERPOLATION
163 libmedmem_la_CXXFLAGS= @CXXTMPDPTHFLAGS@
164
165 # change motivated by the bug KERNEL4778.
166 libmedmem_la_LDFLAGS=$(MED2_LIBS) $(HDF5_LIBS) ../MEDWrapper/V2_1/Core/libmed_V2_1.la \
167         ../MEDWrapper/Base/libMEDWrapperBase.la $(STDLIB) ../INTERP_KERNEL/libinterpkernel.la
168
169
170 AM_CPPFLAGS= $(libmedmem_la_CPPFLAGS)
171 AM_CXXFLAGS= $(libmedmem_la_CXXFLAGS)
172 LDADD= $(libmedmem_la_LDFLAGS) -lm libmedmem.la
173
174 OBSOLETE_FILES = \
175         MEDMEM_MEDMEMchampLire.cxx \
176         MEDMEM_MEDMEMgaussEcr.cxx \
177         MEDMEM_MEDMEMprofilEcr.cxx \
178         MEDMEM_TypeMeshDriver.cxx \
179         MEDMEM_TypeMeshDriver.hxx \
180         checkScript
181
182 EXTRA_DIST += $(OBSOLETE_FILES)