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