1 # MED MEDMEM : MED files in memory
3 # Copyright (C) 2003 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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
27 top_srcdir=@top_srcdir@
30 VPATH=.:$(srcdir):$(srcdir)/tests
42 MEDMEM_dTreeSommet.hxx\
43 MEDMEM_InterpolationHighLevelObjects.hxx\
44 MEDMEM_Interpolation.hxx\
45 MEDMEM_InterpolationTools.hxx\
47 MEDMEM_MappingTools.hxx\
48 MEDMEM_WrapperCells.hxx\
49 MEDMEM_WrapperConnectivity.hxx\
50 MEDMEM_WrapperField.hxx\
51 MEDMEM_WrapperMesh.hxx\
52 MEDMEM_WrapperNodes.hxx
68 test_MEDMEM_InterpolationFlipBack\
69 test_MEDMEM_InterpolationFromMesh_toMesh\
70 test_MEDMEM_InterpolationRecopieMaillage\
71 test_MEDMEM_InterpolationSansRecopieMaillage\
72 test_MEDMEM_InterpolationTimeStep\
74 UseCaseInterpolationts\
75 UseCaseInterpolationwots\
77 UseCaseWrapper_Maillage
82 CPPFLAGS+=-U_DEBUG_ $(MED2_INCLUDES) $(HDF5_INCLUDES) -I../
83 CXXFLAGS+=-U_DEBUG_ @CXXTMPDPTHFLAGS@
84 #LDFLAGS+=$(MED2_LIBS) $(HDF5_LIBS)
85 LDFLAGS+=-lm $(MED2_LIBS) $(HDF5_LIBS) -lmed_V2_1
87 #LDFLAGSFORBIN+=$(MED2_LIBS) $(HDF5_LIBS) -L../.libs -lmedmem
88 LDFLAGSFORBIN+=-lm $(MED2_LIBS) $(HDF5_LIBS) -L../.libs -lmedmem -lmed_V2_1
90 ifeq ($(MED_WITH_KERNEL),yes)
91 CPPFLAGS+= ${KERNEL_CXXFLAGS}
92 CXXFLAGS+= ${KERNEL_CXXFLAGS}
93 #LDFLAGS+= -lSalomeLoggerServer ${KERNEL_LDFLAGS}
94 LDFLAGS+= -lSALOMELocalTrace ${KERNEL_LDFLAGS}
96 #LDFLAGSFORBIN+= -lSalomeLoggerServer ${KERNEL_LDFLAGS}
97 LDFLAGSFORBIN+= -lSALOMELocalTrace -lSALOMEBasics ${KERNEL_LDFLAGS}
106 # build create_mesh :
107 bin: create_mesh_interpolation
109 create_mesh_interpolation: %: %.c
110 $(CC) $(CFLAGS) $(CPPFLAGS) -o $@ $(MED2_LIBS) $(HDF5_LIBS) $<