Salome HOME
GEOM porting to CMake
[modules/geom.git] / src / MeasureGUI / Makefile.am
1 # Copyright (C) 2007-2013  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 MEASUREGUI : 
21 # File    : Makefile.am
22 # Author  : Alexander BORODIN, Open CASCADE S.A.S. (alexander.borodin@opencascade.com)
23 # Package : MeasureGUI
24
25 include $(top_srcdir)/adm_local/unix/make_common_starter.am
26
27 # header files 
28 salomeinclude_HEADERS =                         \
29         MeasureGUI.h                            \
30         MeasureGUI_Widgets.h                    \
31         MeasureGUI_Skeleton.h                   \
32         MeasureGUI_PropertiesDlg.h              \
33         MeasureGUI_CenterMassDlg.h              \
34         MeasureGUI_NormaleDlg.h                 \
35         MeasureGUI_InertiaDlg.h                 \
36         MeasureGUI_BndBoxDlg.h                  \
37         MeasureGUI_DistanceDlg.h                \
38         MeasureGUI_AngleDlg.h                   \
39         MeasureGUI_MaxToleranceDlg.h            \
40         MeasureGUI_WhatisDlg.h                  \
41         MeasureGUI_CheckShapeDlg.h              \
42         MeasureGUI_CheckCompoundOfBlocksDlg.h   \
43         MeasureGUI_GetNonBlocksDlg.h            \
44         MeasureGUI_CheckSelfIntersectionsDlg.h  \
45         MeasureGUI_PointDlg.h
46
47 # Libraries targets
48 lib_LTLIBRARIES = libMeasureGUI.la
49
50 dist_libMeasureGUI_la_SOURCES =                 \
51         MeasureGUI.cxx                          \
52         MeasureGUI_Widgets.cxx                  \
53         MeasureGUI_Skeleton.cxx                 \
54         MeasureGUI_PropertiesDlg.cxx            \
55         MeasureGUI_CenterMassDlg.cxx            \
56         MeasureGUI_NormaleDlg.cxx               \
57         MeasureGUI_InertiaDlg.cxx               \
58         MeasureGUI_BndBoxDlg.cxx                \
59         MeasureGUI_DistanceDlg.cxx              \
60         MeasureGUI_AngleDlg.cxx                 \
61         MeasureGUI_MaxToleranceDlg.cxx          \
62         MeasureGUI_WhatisDlg.cxx                \
63         MeasureGUI_CheckShapeDlg.cxx            \
64         MeasureGUI_CheckCompoundOfBlocksDlg.cxx \
65         MeasureGUI_GetNonBlocksDlg.cxx          \
66         MeasureGUI_CheckSelfIntersectionsDlg.cxx \
67         MeasureGUI_PointDlg.cxx
68
69 MOC_FILES =                                             \
70         MeasureGUI_Widgets_moc.cxx                      \
71         MeasureGUI_Skeleton_moc.cxx                     \
72         MeasureGUI_PropertiesDlg_moc.cxx                \
73         MeasureGUI_CenterMassDlg_moc.cxx                \
74         MeasureGUI_NormaleDlg_moc.cxx                   \
75         MeasureGUI_InertiaDlg_moc.cxx                   \
76         MeasureGUI_BndBoxDlg_moc.cxx                    \
77         MeasureGUI_DistanceDlg_moc.cxx                  \
78         MeasureGUI_AngleDlg_moc.cxx                     \
79         MeasureGUI_MaxToleranceDlg_moc.cxx              \
80         MeasureGUI_WhatisDlg_moc.cxx                    \
81         MeasureGUI_CheckShapeDlg_moc.cxx                \
82         MeasureGUI_CheckCompoundOfBlocksDlg_moc.cxx     \
83         MeasureGUI_GetNonBlocksDlg_moc.cxx              \
84         MeasureGUI_CheckSelfIntersectionsDlg_moc.cxx    \
85         MeasureGUI_PointDlg_moc.cxx
86
87 nodist_libMeasureGUI_la_SOURCES =                       \
88         $(MOC_FILES)
89
90 UIC_FILES =                                             \
91         ui_MeasureGUI_1Sel12LineEdit_QTD.h              \
92         ui_MeasureGUI_1Sel1TextView1Check_QTD.h         \
93         ui_MeasureGUI_1Sel1TextView2ListBox_QTD.h       \
94         ui_MeasureGUI_1Sel1TextView_QTD.h               \
95         ui_MeasureGUI_1Sel3LineEdit_QTD.h               \
96         ui_MeasureGUI_1Sel6LineEdit_QTD.h               \
97         ui_MeasureGUI_2Sel1LineEdit_QTD.h               \
98         ui_MeasureGUI_SkeletonBox_QTD.h
99
100 BUILT_SOURCES = $(UIC_FILES)
101
102 # additional information to compile and link file
103
104 libMeasureGUI_la_CPPFLAGS =             \
105         $(QT_INCLUDES)                  \
106         $(VTK_INCLUDES)                 \
107         $(CAS_CPPFLAGS)                 \
108         $(PYTHON_INCLUDES)              \
109         $(BOOST_CPPFLAGS)               \
110         $(KERNEL_CXXFLAGS)              \
111         $(GUI_CXXFLAGS)                 \
112         $(CORBA_CXXFLAGS)               \
113         $(CORBA_INCLUDES)               \
114         -I$(srcdir)/../GEOMGUI          \
115         -I$(srcdir)/../DlgRef           \
116         -I$(srcdir)/../GEOMBase         \
117         -I$(srcdir)/../OBJECT           \
118         -I$(srcdir)/../GEOMClient       \
119         -I$(srcdir)/../GEOMImpl         \
120         -I$(srcdir)/../GEOM             \
121         -I$(top_builddir)/src/DlgRef    \
122         -I$(top_builddir)/idl
123
124 libMeasureGUI_la_LDFLAGS  =             \
125         $(CAS_LDFLAGS) -lTKGeomBase \
126         ../GEOMBase/libGEOMBase.la ../DlgRef/libDlgRef.la