1 # Copyright (C) 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE
3 # Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 # CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
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.
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.
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
20 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
22 # MED MEDMEM : MED files in memory
24 include $(top_srcdir)/adm_local/unix/make_common_starter.am
26 # first '.' says that this folder must be compiled before Test (MEDMEM/Test uses MEDMEM)
33 lib_LTLIBRARIES= libmedmem.la
35 salomeinclude_HEADERS= \
36 MEDMEM_PointerOf.hxx \
37 MEDMEM_CellModel.hxx \
38 MEDMEM_Connectivity.hxx \
39 MEDMEM_Coordinate.hxx \
41 MEDMEM_DriversDef.hxx \
42 MEDMEM_DriverFactory.hxx \
45 MEDMEM_GenDriver.hxx \
48 MEDMEM_Exception.hxx \
49 MEDMEM_MedFieldDriver.hxx \
50 MEDMEM_AsciiFieldDriver.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 \
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 \
80 MEDMEM_Utilities.hxx \
81 MEDMEM_ArrayInterface.hxx \
82 MEDMEM_IndexCheckingPolicy.hxx \
83 MEDMEM_InterlacingPolicy.hxx \
84 MEDMEM_InterlacingTraits.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 \
97 MEDMEM_OptionManager.hxx \
98 MEDMEM_EnsightUtils.hxx \
99 MEDMEM_Extractor.hxx \
102 MEDNormalizedUnstructuredMesh.hxx
104 # not exported headers
105 EXTRA_DIST+= DataTest \
106 MEDMEM_MEDMEMchampLire.hxx \
107 MEDMEM_MEDMEMgaussEcr.hxx \
108 MEDMEM_MEDMEMprofilEcr.hxx
110 dist_libmedmem_la_SOURCES= \
112 MEDMEM_CellModel.cxx \
113 MEDMEM_Connectivity.cxx \
114 MEDMEM_Coordinate.cxx \
115 MEDMEM_DriversDef.cxx \
116 MEDMEM_DriverFactory.cxx \
119 MEDMEM_GenDriver.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 \
132 MEDMEM_VtkMedDriver.cxx \
133 MEDMEM_VtkMeshDriver.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 \
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@
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
170 AM_CPPFLAGS= $(libmedmem_la_CPPFLAGS)
171 AM_CXXFLAGS= $(libmedmem_la_CXXFLAGS)
172 LDADD= $(libmedmem_la_LDFLAGS) -lm libmedmem.la
175 MEDMEM_MEDMEMchampLire.cxx \
176 MEDMEM_MEDMEMgaussEcr.cxx \
177 MEDMEM_MEDMEMprofilEcr.cxx \
178 MEDMEM_TypeMeshDriver.cxx \
179 MEDMEM_TypeMeshDriver.hxx \
182 EXTRA_DIST += $(OBSOLETE_FILES)