Salome HOME
Join modifications from branch V3_1_0_For_CCRT
[modules/med.git] / src / MED / Makefile.in
1 #  MED MED : implemetation of MED idl descriptions
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 #  Author : Paul RASCLE, EDF
26 #  Module : MED
27 #  $Header$
28
29 top_srcdir=@top_srcdir@
30 top_builddir=../..
31 srcdir=@srcdir@
32 VPATH=.:$(srcdir):$(top_srcdir)/idl:$(top_builddir)/idl
33
34 @COMMENCE@
35
36 EXPORT_PYSCRIPTS =  MED_test1.py MED_test2.py Med_Gen_test.py
37
38 # Libraries targets
39
40 LIB = libMEDEngine.la
41
42 LIB_SRC = Med_Gen_i.cxx
43 LIB_SERVER_IDL = MED_Gen.idl SALOME_Component.idl SALOME_ContainerManager.idl \
44                  SALOME_Exception.idl MED.idl
45
46 LIB_CLIENT_IDL = SALOMEDS.idl SALOMEDS_Attributes.idl SALOME_ModuleCatalog.idl SALOME_Comm.idl SALOME_GenericObj.idl
47
48 # Executables targets
49 BIN =
50 BIN_SRC =
51
52 LDFLAGS= -L$(top_builddir)/lib/salome
53 LDFLAGSFORBIN= -L$(top_builddir)/lib/salome
54
55 # additionnal information to compil and link file
56
57 CPPFLAGS += $(OCC_INCLUDES) $(MED2_INCLUDES)  $(HDF5_INCLUDES) -I${KERNEL_ROOT_DIR}/include/salome
58 CXXFLAGS += $(OCC_CXXFLAGS) -I${KERNEL_ROOT_DIR}/include/salome
59
60 LDFLAGS+=  $(OCC_LIBS) $(HDF5_LIBS) -L${KERNEL_ROOT_DIR}/lib/salome \
61         -lSalomeContainer -lSalomeHDFPersist -lSalomeDS -lSalomeNS -lRegistry -lOpUtil -lMEDMEMImpl
62
63 MED.hh MEDSK.cc: MED.idl
64         omniidl -bcxx -Wbtp -I$(top_builddir)/idl -I${KERNEL_ROOT_DIR}/idl/salome $^
65
66 @CONCLUDE@