Salome HOME
Join modifications from branch V3_1_0_For_CCRT
[modules/med.git] / src / MEDMEM_I / Makefile.in
1 #  MED MEDMEM_I : MED idl descriptions implementation based on the classes of MEDMEM
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 #  Author : Marc Tajchman
25 #  Module : MED
26 #  $Header: /export/home/PAL/MED_SRC/src/MEDMEM_I/Makefile.in
27
28 top_srcdir=@top_srcdir@
29 top_builddir=../..
30 srcdir=@srcdir@
31 VPATH=.:@srcdir@:@top_srcdir@/idl:$(top_builddir)/idl
32
33 MACHINE=PCLINUX
34
35 @COMMENCE@
36
37
38 #EXPORT_PYSCRIPTS = \
39 #  testMed.py
40
41 EXPORT_HEADERS = \
42   MEDMEM_convert.hxx \
43   MEDMEM_Med_i.hxx \
44   MEDMEM_Family_i.hxx \
45   MEDMEM_FieldTemplate_i.hxx \
46   MEDMEM_TraitsForFields.hxx \
47   MEDMEM_Field_i.hxx \
48   MEDMEM_Group_i.hxx \
49   MEDMEM_Mesh_i.hxx \
50   MEDMEM_Support_i.hxx 
51
52 # Libraries targets
53
54 LIB=libMEDMEMImpl.la
55 LIB_SRC = MEDMEM_Med_i.cxx  MEDMEM_Family_i.cxx MEDMEM_Field_i.cxx MEDMEM_Group_i.cxx MEDMEM_Mesh_i.cxx MEDMEM_Support_i.cxx MEDMEM_convert.cxx   
56 LIB_SERVER_IDL = MED.idl 
57 LIB_CLIENT_IDL= SALOME_Component.idl SALOMEDS.idl SALOMEDS_Attributes.idl SALOME_Exception.idl SALOME_Comm.idl SALOME_GenericObj.idl
58
59 # Executables targets
60 BIN_SRC = 
61 BIN_SERVER_IDL = 
62 BIN_CLIENT_IDL = 
63
64 LDFLAGS= -L$(top_builddir)/lib/salome 
65 LDFLAGSFORBIN= -L$(top_builddir)/lib/salome
66
67 CPPFLAGS+= $(MED2_INCLUDES) $(HDF5_INCLUDES) -I${KERNEL_ROOT_DIR}/include/salome
68 CXXFLAGS+= -I${KERNEL_ROOT_DIR}/include/salome
69 LDFLAGS+=$(MED2_LIBS) $(HDF5_LIBS) -lmedmem -L${KERNEL_ROOT_DIR}/lib/salome -lSALOMELocalTrace -lSalomeCommunication -lSalomeGenericObj
70 #LDFLAGS+=-lmedmem  -L. -lSalomeContainer -lSalomeNS -lRegistry -lOpUtil -lSalomeNotification
71 # does we put only -lSalomeContainer and compiler retrieves -lSalomeNS -lRegistry -lOpUtil ????
72
73 MED.hh MEDSK.cc: MED.idl
74         omniidl -bcxx -Wbtp -I$(top_builddir)/idl -I${KERNEL_ROOT_DIR}/idl/salome $^
75
76 @CONCLUDE@