]> SALOME platform Git repositories - modules/geom.git/blob - src/EntityGUI/Makefile.am
Salome HOME
a1fbbcb93783ae7a0465533c3340ce7a7f72f1aa
[modules/geom.git] / src / EntityGUI / Makefile.am
1 # Copyright (C) 2007-2011  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 if WITH_OPENCV
28   FeatureDetectorDlg_Header = EntityGUI_FeatureDetectorDlg.h
29   FeatureDetectorDlg_Sources = EntityGUI_FeatureDetectorDlg.cxx
30   FeatureDetectorDlg_moc = EntityGUI_FeatureDetectorDlg_moc.cxx
31   PictureImportDlg_Header = EntityGUI_PictureImportDlg.h
32   PictureImportDlg_Sources = EntityGUI_PictureImportDlg.cxx
33   PictureImportDlg_moc = EntityGUI_PictureImportDlg_moc.cxx
34   Opencv_libs = $(OPENCV_LIBS)
35   Opencv_includes = $(OPENCV_INCLUDES)
36 endif
37
38 # Libraries targets
39 lib_LTLIBRARIES = libEntityGUI.la
40
41 # header files
42 salomeinclude_HEADERS =                 \
43         EntityGUI.h                     \
44         EntityGUI_Widgets.h             \
45         EntityGUI_SketcherDlg.h         \
46         EntityGUI_3DSketcherDlg.h       \
47         EntityGUI_SubShapeDlg.h         \
48         $(FeatureDetectorDlg_Header)    \
49         $(PictureImportDlg_Header)
50
51 dist_libEntityGUI_la_SOURCES =          \
52         EntityGUI.cxx                   \
53         EntityGUI_Widgets.cxx           \
54         EntityGUI_SketcherDlg.cxx       \
55         EntityGUI_3DSketcherDlg.cxx     \
56         EntityGUI_SubShapeDlg.cxx       \
57         $(FeatureDetectorDlg_Sources)   \
58         $(PictureImportDlg_Sources)
59
60 MOC_FILES =                             \
61         EntityGUI_Widgets_moc.cxx       \
62         EntityGUI_SketcherDlg_moc.cxx   \
63         EntityGUI_3DSketcherDlg_moc.cxx \
64         EntityGUI_SubShapeDlg_moc.cxx   \
65         $(FeatureDetectorDlg_moc)       \
66         $(PictureImportDlg_moc) 
67
68 nodist_libEntityGUI_la_SOURCES =        \
69          $(MOC_FILES)
70
71 UIC_FILES =                             \
72         ui_EntityGUI_1Sel_QTD.h         \
73         ui_EntityGUI_2Sel1Check_QTD.h   \
74         ui_EntityGUI_1Sel1Spin1Check_QTD.h      \
75         ui_EntityGUI_1Spin_QTD.h        \
76         ui_EntityGUI_2Spin_QTD.h        \
77         ui_EntityGUI_3Spin_QTD.h        \
78         ui_EntityGUI_4Spin_QTD.h        \
79         ui_EntityGUI_3Spin1Check_QTD.h  \
80         ui_EntityGUI_4Spin1Check_QTD.h  \
81         ui_EntityGUI_Dir1_QTD.h         \
82         ui_EntityGUI_Dir2_QTD.h         \
83         ui_EntityGUI_Point_QTD.h        \
84         ui_EntityGUI_Skeleton_QTD.h
85
86 BUILT_SOURCES = $(UIC_FILES)
87
88 # additional information to compile and link file
89
90 libEntityGUI_la_CPPFLAGS =                      \
91         $(QT_INCLUDES)                          \
92         $(CAS_CPPFLAGS)                         \
93         $(VTK_INCLUDES)                         \
94         $(PYTHON_INCLUDES)                      \
95         $(BOOST_CPPFLAGS)                       \
96         $(KERNEL_CXXFLAGS)                      \
97         $(GUI_CXXFLAGS)                         \
98         $(CORBA_CXXFLAGS)                       \
99         $(CORBA_INCLUDES)                       \
100         $(Opencv_includes)                      \
101         -I$(srcdir)/../GEOMGUI                  \
102         -I$(srcdir)/../DlgRef                   \
103         -I$(srcdir)/../GEOMBase                 \
104         -I$(srcdir)/../OBJECT                   \
105         -I$(srcdir)/../GEOMClient               \
106         -I$(srcdir)/../GEOMImpl                 \
107         -I$(srcdir)/../GEOMFiltersSelection     \
108         -I$(srcdir)/../SKETCHER                 \
109         -I$(srcdir)/../ShapeRecognition         \
110         -I$(srcdir)/../GEOM                     \
111         -I$(top_builddir)/src/DlgRef            \
112         -I$(top_builddir)/idl
113
114 libEntityGUI_la_LDFLAGS  =                                      \
115         ../GEOMFiltersSelection/libGEOMFiltersSelection.la      \
116         ../GEOMBase/libGEOMBase.la                              \
117         ../SKETCHER/libGEOMSketcher.la                          \
118         ../GEOMGUI/libGEOM.la                                   \
119         ../ShapeRecognition/libGEOMShapeRec.la                  \
120         $(QT_MT_LIBS)                                           \
121         $(CAS_TKTopAlgo) -lTKernel                              \
122         $(Opencv_libs)