Salome HOME
Merge from V6_main_20120808 08Aug12
[modules/med.git] / src / MEDWrapper / V2_1 / Core / Makefile.am
1 # Copyright (C) 2007-2012  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
23 #  File   : 
24 #  Author : 
25 #  Module : 
26 #  $Header$
27 #
28 include $(top_srcdir)/adm_local/unix/make_common_starter.am
29
30 lib_LTLIBRARIES= libmed_V2_1.la
31
32 LIB_SRC_TOOLS_HDFI= \
33 MEDattrFermer.cxx \
34 MEDattrNumEcrire.cxx \
35 MEDattrNumLire.cxx \
36 MEDattrOuvrir.cxx \
37 MEDattrStringEcrire.cxx \
38 MEDattrStringLire.cxx \
39 MEDdatagroupCreer.cxx \
40 MEDdatagroupFermer.cxx \
41 MEDdatagroupOuvrir.cxx \
42 MEDdatasetFermer.cxx \
43 MEDdatasetNumEcrire.cxx \
44 MEDdatasetNumLire.cxx \
45 MEDdatasetOuvrir.cxx \
46 MEDdatasetStringEcrire.cxx \
47 MEDdatasetStringLire.cxx \
48 MEDfichierCreer.cxx \
49 MEDfichierFermer.cxx \
50 MEDfichierOuvrir.cxx \
51 MEDindiceInfo.cxx \
52 MEDindiceNum.cxx \
53 MEDmodeErreurVerrouiller.cxx \
54 MEDnObjets.cxx \
55 MEDobjetIdentifer.cxx 
56
57 LIB_SRC_TOOLS_MISC= \
58 MED1cstring.cxx             MEDnomDataset.cxx \
59 MED2cstring.cxx             MEDnomEntite.cxx \
60 MEDGeometrieElement.cxx     MEDnomGeometrie.cxx \
61 MEDcstringFree.cxx          MEDparametresGeometrie.cxx \
62 MEDfstring.cxx
63
64 LIB_SRC_API_CI= \
65 MEDchampCr.cxx \
66 MEDchampEcr.cxx \
67 MEDchampInfo.cxx \
68 MEDchampLire.cxx \
69 MEDconnEcr.cxx \
70 MEDconnLire.cxx \
71 MEDcoordEcr.cxx \
72 MEDcoordLire.cxx \
73 MEDdimLire.cxx \
74 MEDelementsEcr.cxx \
75 MEDelementsLire.cxx \
76 MEDequivCr.cxx \
77 MEDequivEcr.cxx \
78 MEDequivInfo.cxx \
79 MEDequivLire.cxx \
80 MEDfam2groA.cxx \
81 MEDfam2groB.cxx \
82 MEDfamCr.cxx \
83 MEDfamEcr.cxx \
84 MEDfamInfo.cxx \
85 MEDfamLire.cxx \
86 MEDfamMaaCr.cxx \
87 MEDfamMaaInfo.cxx \
88 MEDfamMaaLire.cxx \
89 MEDfermer.cxx \
90 MEDfichDesEcr.cxx \
91 MEDfichEntete.cxx \
92 MEDgro2famA.cxx \
93 MEDgro2famB.cxx \
94 MEDlFichDes.cxx \
95 MEDmaaCr.cxx \
96 MEDmaaInfo.cxx \
97 MEDnChamp.cxx \
98 MEDnCorres.cxx \
99 MEDnEntMaa.cxx \
100 MEDnEntites.cxx \
101 MEDnEquiv.cxx \
102 MEDnFam.cxx \
103 MEDnMaa.cxx \
104 MEDnPasdetemps.cxx \
105 MEDnProfil.cxx \
106 MEDnVal.cxx \
107 MEDnValProfil.cxx \
108 MEDnbnoisEcr.cxx \
109 MEDnbnoisLire.cxx \
110 MEDnbnomaEcr.cxx \
111 MEDnbnomaLire.cxx \
112 MEDnbnosoEcr.cxx \
113 MEDnbnosoLire.cxx \
114 MEDnoeudsEcr.cxx \
115 MEDnoeudsLire.cxx \
116 MEDnomEcr.cxx \
117 MEDnomLire.cxx \
118 MEDnumEcr.cxx \
119 MEDnumLire.cxx \
120 MEDouvrir.cxx \
121 MEDpasdetempsInfo.cxx \
122 MEDprofilEcr.cxx \
123 MEDprofilLire.cxx \
124 MEDprofilInfo.cxx \
125 MEDunvCr.cxx \
126 MEDunvLire.cxx \
127 MEDformatConforme.cxx \
128 MEDversionConforme.cxx \
129 MEDversionDonner.cxx \
130 MEDversionLire.cxx \
131 MEDbodyFittedEcr.cxx \
132 MEDbodyFittedLire.cxx \
133 MEDfamGridEcr.cxx \
134 MEDfamGridLire.cxx \
135 MEDgridCr.cxx \
136 MEDgridEcr.cxx \
137 MEDgridInfo.cxx \
138 MEDgridLire.cxx \
139 MEDnGrid.cxx
140
141 dist_libmed_V2_1_la_SOURCES= \
142         $(LIB_SRC_TOOLS_HDFI) \
143         $(LIB_SRC_TOOLS_MISC) \
144         $(LIB_SRC_API_CI)
145
146 salomeinclude_HEADERS= \
147         med.hxx \
148         med_proto.hxx \
149         hdf5_version2api.hxx
150
151 EXTRA_DIST+= med_outils.hxx \
152         med_misc.hxx \
153         med_hdfi.hxx \
154         med_utils.hxx
155
156 libmed_V2_1_la_CPPFLAGS= -D@MACHINE@ $(HDF5_INCLUDES) $(MED_CPPFLAGS)
157 libmed_V2_1_la_LDFLAGS= $(HDF5_LIBS)
158
159 # Executables targets
160 bin_PROGRAMS= mdump_V2_1 test1_V2_1
161
162 dist_mdump_V2_1_SOURCES= mdump_V2_1.cxx
163 mdump_V2_1_CPPFLAGS= $(libmed_V2_1_la_CPPFLAGS)
164 mdump_V2_1_LDADD= $(HDF5_LIBS) libmed_V2_1.la
165
166 dist_test1_V2_1_SOURCES= test1_V2_1.cxx
167 test1_V2_1_CPPFLAGS= $(libmed_V2_1_la_CPPFLAGS)
168 test1_V2_1_LDADD= $(HDF5_LIBS) libmed_V2_1.la