Salome HOME
39cada30919a55efd81747e66571dc157079ed35
[samples/calculator.git] / src / CALCULATOR / Makefile.in
1 #  Copyright (C) 2005  CEA/DEN, EDF R&D
2 #
3 #  This library is free software; you can redistribute it and/or
4 #  modify it under the terms of the GNU Lesser General Public
5 #  License as published by the Free Software Foundation; either
6 #  version 2.1 of the License.
7 #
8 #  This library is distributed in the hope that it will be useful,
9 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
10 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11 #  Lesser General Public License for more details.
12 #
13 #  You should have received a copy of the GNU Lesser General Public
14 #  License along with this library; if not, write to the Free Software
15 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
16 #
17 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18 #
19 # source path
20 top_srcdir=@top_srcdir@
21 top_builddir=../..
22 srcdir=@srcdir@
23 VPATH=.:@srcdir@:@top_srcdir@/idl:${MED_ROOT_DIR}/idl/salome
24
25 @COMMENCE@
26
27 # Libraries targets
28
29 LIB = libCALCULATOREngine.la
30 LIB_SRC = CALCULATOR.cxx
31 LIB_SERVER_IDL = CALCULATOR_Gen.idl 
32 LIB_CLIENT_IDL = SALOME_Component.idl SALOME_Comm.idl SALOME_Exception.idl SALOMEDS.idl Logger.idl MED.idl SALOMEDS_Attributes.idl SALOME_GenericObj.idl
33
34
35 EXPORT_PYSCRIPTS = CALCULATOR_TEST.py
36
37 OMNIORB_IDLCXXFLAGS+=-I${MED_ROOT_DIR}/idl/salome
38
39 # additionnal information to compil and link file
40
41 CPPFLAGS += $(KERNEL_CXXFLAGS) $(MED_CXXFLAGS) $(MED2_INCLUDES) $(HDF5_INCLUDES)
42
43 LDFLAGS+= $(KERNEL_LDFLAGS) -lSalomeContainer -lOpUtil $(MED2_LIBS) $(HDF5_LIBS) $(MED_LDFLAGS) -lMEDClientcmodule
44
45 MED.hh MEDSK.cc: MED.idl
46         omniidl -bcxx -Wbtp -I$(top_builddir)/idl -I${KERNEL_ROOT_DIR}/idl/salome $^
47
48
49  
50 # Executables targets
51
52 @CONCLUDE@
53