Salome HOME
Merge from V5_1_3_BR branch (07/12/09)
[modules/geom.git] / src / EntityGUI / Makefile.am
1 #  Copyright (C) 2007-2008  CEA/DEN, EDF R&D, OPEN CASCADE
2 #
3 #  Copyright (C) 2003-2007  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.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 #
22 # GEOM ENTITYGUI : 
23 # File    : Makefile.am
24 # Author  : Alexander BORODIN, Open CASCADE S.A.S. (alexander.borodin@opencascade.com)
25 # Package : EntityGUI
26 #
27 include $(top_srcdir)/adm_local/unix/make_common_starter.am
28
29 # Libraries targets
30 lib_LTLIBRARIES = libEntityGUI.la
31
32 # header files
33 salomeinclude_HEADERS =                 \
34         EntityGUI.h                     \
35         EntityGUI_Widgets.h             \
36         EntityGUI_SketcherDlg.h         \
37         EntityGUI_3DSketcherDlg.h       \
38         EntityGUI_SubShapeDlg.h 
39
40 dist_libEntityGUI_la_SOURCES =          \
41         EntityGUI.cxx                   \
42         EntityGUI_Widgets.cxx           \
43         EntityGUI_SketcherDlg.cxx       \
44         EntityGUI_3DSketcherDlg.cxx     \
45         EntityGUI_SubShapeDlg.cxx
46
47 MOC_FILES =                             \
48         EntityGUI_Widgets_moc.cxx       \
49         EntityGUI_SketcherDlg_moc.cxx   \
50         EntityGUI_3DSketcherDlg_moc.cxx \
51         EntityGUI_SubShapeDlg_moc.cxx
52
53 nodist_libEntityGUI_la_SOURCES =        \
54          $(MOC_FILES)
55
56 UIC_FILES =                             \
57         ui_EntityGUI_1Sel_QTD.h         \
58         ui_EntityGUI_1Spin_QTD.h        \
59         ui_EntityGUI_2Spin_QTD.h        \
60         ui_EntityGUI_3Spin_QTD.h        \
61         ui_EntityGUI_4Spin_QTD.h        \
62         ui_EntityGUI_Dir1_QTD.h         \
63         ui_EntityGUI_Dir2_QTD.h         \
64         ui_EntityGUI_Point_QTD.h        \
65         ui_EntityGUI_Skeleton_QTD.h
66
67 BUILT_SOURCES = $(UIC_FILES)
68
69 # additional information to compile and link file
70
71 libEntityGUI_la_CPPFLAGS =                      \
72         $(QT_INCLUDES)                          \
73         $(CAS_CPPFLAGS)                         \
74         $(VTK_INCLUDES)                         \
75         $(PYTHON_INCLUDES)                      \
76         $(BOOST_CPPFLAGS)                       \
77         $(KERNEL_CXXFLAGS)                      \
78         $(GUI_CXXFLAGS)                         \
79         $(CORBA_CXXFLAGS)                       \
80         $(CORBA_INCLUDES)                       \
81         -I$(srcdir)/../GEOMGUI                  \
82         -I$(srcdir)/../DlgRef                   \
83         -I$(srcdir)/../GEOMBase                 \
84         -I$(srcdir)/../OBJECT                   \
85         -I$(srcdir)/../GEOMClient               \
86         -I$(srcdir)/../GEOMImpl                 \
87         -I$(srcdir)/../GEOMFiltersSelection     \
88         -I$(srcdir)/../SKETCHER                 \
89         -I$(top_builddir)/src/DlgRef            \
90         -I$(top_builddir)/idl
91
92 libEntityGUI_la_LDFLAGS  =                                      \
93         ../GEOMFiltersSelection/libGEOMFiltersSelection.la      \
94         ../GEOMBase/libGEOMBase.la                              \
95         ../SKETCHER/libGEOMSketcher.la                          \
96         ../GEOMGUI/libGEOM.la                                   \
97         $(QT_MT_LIBS)                                           \
98         $(CAS_TKTopAlgo) -lTKernel
99