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