Salome HOME
Merge from V6_main 01/04/2013
[modules/med.git] / src / MEDMEM / Makefile.am
1 # Copyright (C) 2007-2013  CEA/DEN, EDF R&D, OPEN CASCADE
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 #  MED MEDMEM : MED files in memory
21 #
22 include $(top_srcdir)/adm_local/unix/make_common_starter.am
23
24 # first '.' says that this folder must be compiled before Test (MEDMEM/Test uses MEDMEM)
25 #if CPPUNIT_IS_OK
26 # SUBDIRS=. Test
27 #endif
28
29 #DIST_SUBDIRS= Test
30
31 lib_LTLIBRARIES= libmedmem.la
32
33 salomeinclude_HEADERS= \
34 MEDMEM_PointerOf.hxx \
35 MEDMEM_CellModel.hxx \
36 MEDMEM_Connectivity.hxx \
37 MEDMEM_Coordinate.hxx \
38 MEDMEM_define.hxx \
39 MEDMEM_DriversDef.hxx \
40 MEDMEM_DriverFactory.hxx \
41 MEDMEM_DriverFactory.ixx \
42 MEDMEM_Family.hxx \
43 MEDMEM_Field.hxx \
44 MEDMEM_GenDriver.hxx \
45 MEDMEM_Group.hxx \
46 MEDMEM_Array.hxx \
47 MEDMEM_Exception.hxx \
48 MEDMEM_MedFieldDriver.hxx \
49 MEDMEM_MedFieldDriver.txx \
50 MEDMEM_AsciiFieldDriver.hxx \
51 MEDMEM_MedMeshDriver.hxx \
52 MEDMEM_GibiMeshDriver.hxx \
53 MEDMEM_PorflowMeshDriver.hxx \
54 MEDMEM_DriverTools.hxx \
55 MEDMEM_ModulusArray.hxx \
56 MEDMEM_SkyLineArray.hxx \
57 MEDMEM_VtkMedDriver.hxx \
58 MEDMEM_VtkMeshDriver.hxx \
59 MEDMEM_VtkFieldDriver.hxx \
60 MEDMEM_Mesh.hxx \
61 MEDMEM_Meshing.hxx \
62 MEDMEM_STRING.hxx \
63 MEDMEM_Support.hxx \
64 MEDMEM_Unit.hxx \
65 MEDMEM_Grid.hxx \
66 MEDMEM_RCBase.hxx \
67 MEDMEM_MedVersion.hxx \
68 MEDMEM_TopLevel.hxx \
69 MEDMEM_Utilities.hxx \
70 MEDMEM_ArrayInterface.hxx \
71 MEDMEM_IndexCheckingPolicy.hxx \
72 MEDMEM_InterlacingPolicy.hxx \
73 MEDMEM_InterlacingTraits.hxx \
74 MEDMEM_nArray.hxx \
75 MEDMEM_Tags.hxx \
76 MEDMEM_FieldConvert.hxx \
77 MEDMEM_ArrayConvert.hxx \
78 MEDMEM_FieldForward.hxx \
79 MEDMEM_GaussLocalization.hxx \
80 MEDMEM_SetInterlacingType.hxx\
81 MEDMEM_ConnectZone.hxx \
82 MEDMEM_EnsightMedDriver.hxx \
83 MEDMEM_EnsightMeshDriver.hxx \
84 MEDMEM_EnsightFieldDriver.hxx \
85 MEDMEM.hxx \
86 MEDMEM_OptionManager.hxx \
87 MEDMEM_EnsightUtils.hxx \
88 MEDMEM_Extractor.hxx \
89 MEDMEM_Remapper.hxx \
90 PointLocator.hxx \
91 MEDNormalizedUnstructuredMesh.hxx \
92 MEDNormalizedUnstructuredMesh.txx \
93 MEDMEM_GMesh.hxx \
94 MEDMEM_MeshFuse.hxx \
95 MEDMEM_MedFileBrowser.hxx
96
97 dist_libmedmem_la_SOURCES= \
98 MEDMEM_Init.cxx \
99 MEDMEM_RCBase.cxx \
100 MEDMEM_CellModel.cxx \
101 MEDMEM_Connectivity.cxx \
102 MEDMEM_Coordinate.cxx \
103 MEDMEM_DriversDef.cxx \
104 MEDMEM_DriverFactory.cxx \
105 MEDMEM_Family.cxx \
106 MEDMEM_Field.cxx \
107 MEDMEM_GenDriver.cxx \
108 MEDMEM_Group.cxx \
109 MEDMEM_Exception.cxx \
110 MEDMEM_MedMeshDriver.cxx \
111 MEDMEM_GibiMeshDriver.cxx \
112 MEDMEM_PorflowMeshDriver.cxx \
113 MEDMEM_SkyLineArray.cxx \
114 MEDMEM_Mesh.cxx \
115 MEDMEM_Meshing.cxx \
116 MEDMEM_Support.cxx \
117 MEDMEM_Unit.cxx \
118 MEDMEM_VtkMedDriver.cxx \
119 MEDMEM_VtkMeshDriver.cxx \
120 MEDMEM_Grid.cxx \
121 MEDMEM_MedVersion.cxx \
122 MEDMEM_TopLevel.cxx \
123 MEDMEM_ConnectZone.cxx \
124 MEDMEM_EnsightMedDriver.cxx \
125 MEDMEM_EnsightFieldDriver.cxx \
126 MEDMEM_EnsightUtils.cxx \
127 MEDMEM_EnsightMeshDriver.cxx \
128 MEDMEM_DriverTools.cxx \
129 MEDMEM_GaussLocalization.cxx \
130 MEDMEM_Extractor.cxx \
131 PointLocator.cxx \
132 MEDMEM_Remapper.cxx \
133 MEDMEM_GMesh.cxx \
134 MEDMEM_MeshFuse.cxx \
135 MEDMEM_MedFileBrowser.cxx
136
137 #libmedmem_la_LDFLAGS= -L$(top_builddir)/lib@LIB_LOCATION_SUFFIX@/salome 
138 # libmedmem_la_CPPFLAGS= $(MED3_INCLUDES) $(HDF5_INCLUDES) @CXXTMPDPTHFLAGS@
139 libmedmem_la_CPPFLAGS= $(MED3_INCLUDES) $(HDF5_INCLUDES) $(XDR_CPPFLAGS) \
140         -I$(srcdir)/../INTERP_KERNEL \
141         -I$(srcdir)/../INTERP_KERNEL/Bases \
142         -I$(srcdir)/../INTERP_KERNEL/Geometric2D \
143         -I$(srcdir)/../INTERP_KERNEL/GaussPoints
144 libmedmem_la_CXXFLAGS= @CXXTMPDPTHFLAGS@
145
146 # change motivated by the bug KERNEL4778.
147 libmedmem_la_LDFLAGS=$(MED3_LIBS_C_ONLY) $(HDF5_LIBS) $(XDR_LIBS) \
148         $(STDLIB) ../INTERP_KERNEL/libinterpkernel.la
149
150 AM_CPPFLAGS+= $(libmedmem_la_CPPFLAGS)
151 AM_CXXFLAGS+= $(libmedmem_la_CXXFLAGS)
152 LDADD= $(libmedmem_la_LDFLAGS) -lm libmedmem.la
153
154 OBSOLETE_FILES = \
155         MEDMEM_MEDMEMchampLire.hxx \
156         MEDMEM_MEDMEMchampLire.cxx \
157         MEDMEM_MEDMEMgaussEcr.hxx \
158         MEDMEM_MEDMEMgaussEcr.cxx \
159         MEDMEM_MEDMEMprofilEcr.hxx \
160         MEDMEM_MEDMEMprofilEcr.cxx \
161         MEDMEM_TypeMeshDriver.cxx \
162         MEDMEM_TypeMeshDriver.hxx \
163         checkScript \
164         DataTest
165
166 EXTRA_DIST += $(OBSOLETE_FILES)