Salome HOME
update with the version in the OCC branch OCC_development_generic_2006.
[modules/med.git] / src / INTERPOLATION / Makefile.in
1 #  MED MEDMEM : MED files in memory
2 #
3 #  Copyright (C) 2003  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
21 #
22 #
23 #
24 #  File   : Makefile.in
25 #  Module : MED
26
27 top_srcdir=@top_srcdir@
28 top_builddir=../..
29 srcdir=@srcdir@
30 VPATH=.:$(srcdir):$(srcdir)/tests
31
32 MACHINE=PCLINUX
33
34 @COMMENCE@
35
36
37 EXPORT_PYSCRIPTS = \
38
39
40 EXPORT_HEADERS = \
41 MEDMEM_dTree.hxx\
42 MEDMEM_dTreeSommet.hxx\
43 MEDMEM_InterpolationHighLevelObjects.hxx\
44 MEDMEM_Interpolation.hxx\
45 MEDMEM_InterpolationTools.hxx\
46 MEDMEM_Mapping.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
53
54
55 # Libraries targets
56
57 LIB=
58 LIB_SRC = 
59
60
61 # Executables targets
62 BIN = 
63 BIN_SRC = 
64 BIN_SERVER_IDL = 
65 BIN_CLIENT_IDL = 
66
67 TEST_PROGS = \
68 test_MEDMEM_InterpolationFlipBack\
69 test_MEDMEM_InterpolationFromMesh_toMesh\
70 test_MEDMEM_InterpolationRecopieMaillage\
71 test_MEDMEM_InterpolationSansRecopieMaillage\
72 test_MEDMEM_InterpolationTimeStep\
73 UseCasedTree\
74 UseCaseInterpolationts\
75 UseCaseInterpolationwots\
76 UseCaseMapping\
77 UseCaseWrapper_Maillage
78
79
80
81
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
86
87 #LDFLAGSFORBIN+=$(MED2_LIBS) $(HDF5_LIBS) -L../.libs -lmedmem
88 LDFLAGSFORBIN+=-lm $(MED2_LIBS) $(HDF5_LIBS) -L../.libs -lmedmem -lmed_V2_1
89
90 ifeq ($(MED_WITH_KERNEL),yes)
91   CPPFLAGS+= -I${KERNEL_ROOT_DIR}/include/salome
92   CXXFLAGS+= -I${KERNEL_ROOT_DIR}/include/salome 
93   #LDFLAGS+= -lSalomeLoggerServer -L${KERNEL_ROOT_DIR}/lib/salome
94   LDFLAGS+= -lSALOMELocalTrace -L${KERNEL_ROOT_DIR}/lib/salome
95
96   #LDFLAGSFORBIN+= -lSalomeLoggerServer -L${KERNEL_ROOT_DIR}/lib/salome
97   LDFLAGSFORBIN+= -lSALOMELocalTrace -lSALOMEBasics -L${KERNEL_ROOT_DIR}/lib/salome
98 endif
99
100 LIBSFORBIN=
101
102 LDFLAGS=
103
104 LIBS=
105
106 # build create_mesh :
107 bin: create_mesh_interpolation 
108
109 create_mesh_interpolation: %: %.c
110         $(CC) $(CFLAGS) $(CPPFLAGS) -o $@ $(MED2_LIBS) $(HDF5_LIBS) $< 
111
112 @CONCLUDE@