Salome HOME
merging the main trunk with the BrForComp branch to build a pre V3_0_1
[modules/med.git] / src / MEDGUI / Makefile.in
1 #  MED MEDGUI : MED component GUI implemetation
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 # header files 
37 EXPORT_HEADERS=
38
39 # .po files to transform in .qm
40 PO_FILES = \
41            MED_images.po \
42            MED_msg_fr.po \
43            MED_msg_en.po \
44
45
46 # Libraries targets
47 LIB = libMED.la
48 LIB_SRC = MedGUI.cxx MedGUI_Selection.cxx
49 LIB_MOC = MedGUI.h
50
51 LIB_CLIENT_IDL = SALOMEDS.idl SALOME_Exception.idl SALOME_Component.idl \
52                  MED_Gen.idl  MED.idl \
53                  SALOMEDS_Attributes.idl SALOME_Comm.idl SALOME_GenericObj.idl
54 #                SMESH_Mesh.idl SMESH_Hypothesis.idl SMESH_BasicHypothesis.idl \
55 #                GEOM_Shape.idl SALOMEDS_Attributes.idl
56
57 LIB_SERVER_IDL = 
58
59 # additionnal information to compil and link file
60
61 CPPFLAGS += $(QT_INCLUDES) $(VTK_INCLUDES) $(OCC_INCLUDES) $(PYTHON_INCLUDES) -I${KERNEL_ROOT_DIR}/include/salome -I${GUI_ROOT_DIR}/include/salome -I${BOOSTDIR}
62 LDFLAGS += -lSalomeApp -lMEDMEMImpl -lmedmem -lMEDEngine -I${KERNEL_ROOT_DIR}/include/salome -I${GUI_ROOT_DIR}/include/salome -I${BOOSTDIR}
63
64 LDFLAGS += -lSalomeApp -lMEDMEMImpl -lmedmem -lMEDEngine -L${KERNEL_ROOT_DIR}/lib/salome -L${GUI_ROOT_DIR}/lib/salome
65
66 MED.hh MEDSK.cc: MED.idl
67         omniidl -bcxx -Wbtp -I$(top_builddir)/idl -I${KERNEL_ROOT_DIR}/idl/salome $^
68
69 @CONCLUDE@