Salome HOME
Patch for RH&Debian
[samples/light.git] / src / LIGHTGUI / Makefile.in
1 #  LIGHT : sample (no-corba-engine) SALOME module
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 #  Author : Julia DOROVSKIKH
23 #  Date   : 01/06/2005
24 #  $Header$
25
26 top_srcdir=@top_srcdir@
27 top_builddir=../..
28 srcdir=@srcdir@
29 VPATH=.:$(srcdir)
30
31 @COMMENCE@
32
33 # header files 
34 EXPORT_HEADERS =
35
36 # .po resources files
37 PO_FILES = \
38            LIGHT_images.po \
39            LIGHT_msg_en.po
40
41 # Library target
42 LIB = libLIGHT.la
43
44 # Library sources
45 LIB_SRC = \
46         LIGHTGUI.cxx            \
47         LIGHTGUI_Selection.cxx  \
48         LIGHTGUI_DataObject.cxx \
49         LIGHTGUI_DataOwner.cxx  \
50         LIGHTGUI_DataModel.cxx  \
51         LIGHTGUI_OBSelector.cxx
52
53 LIB_CLIENT_IDL = SALOME_Component.idl
54 # MOC pre-processing
55 LIB_MOC =                       \
56         LIGHTGUI.h              \
57         LIGHTGUI_DataModel.h    \
58         LIGHTGUI_OBSelector.h
59
60 # additionnal compilation flags
61 CPPFLAGS += \
62         $(QT_INCLUDES) $(VTK_INCLUDES) $(OCC_INCLUDES) $(PYTHON_INCLUDES) -I${BOOSTDIR} \
63         -I${KERNEL_ROOT_DIR}/include/salome \
64         -I${GUI_ROOT_DIR}/include/salome
65
66 # additionnal linkage flags
67 LDFLAGS += \
68         -lSalomeApp \
69         -L${KERNEL_ROOT_DIR}/lib/salome \
70         -L${GUI_ROOT_DIR}/lib/salome
71
72 @CONCLUDE@