Salome HOME
Update copyright
[modules/geom.git] / src / MeasureGUI / 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 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_PointDlg.h
44
45 # Libraries targets
46 lib_LTLIBRARIES = libMeasureGUI.la
47
48 dist_libMeasureGUI_la_SOURCES =                 \
49         MeasureGUI.cxx                          \
50         MeasureGUI_Widgets.cxx                  \
51         MeasureGUI_Skeleton.cxx                 \
52         MeasureGUI_PropertiesDlg.cxx            \
53         MeasureGUI_CenterMassDlg.cxx            \
54         MeasureGUI_NormaleDlg.cxx               \
55         MeasureGUI_InertiaDlg.cxx               \
56         MeasureGUI_BndBoxDlg.cxx                \
57         MeasureGUI_DistanceDlg.cxx              \
58         MeasureGUI_AngleDlg.cxx                 \
59         MeasureGUI_MaxToleranceDlg.cxx          \
60         MeasureGUI_WhatisDlg.cxx                \
61         MeasureGUI_CheckShapeDlg.cxx            \
62         MeasureGUI_CheckCompoundOfBlocksDlg.cxx \
63         MeasureGUI_PointDlg.cxx
64
65 MOC_FILES =                                             \
66         MeasureGUI_Widgets_moc.cxx                      \
67         MeasureGUI_Skeleton_moc.cxx                     \
68         MeasureGUI_PropertiesDlg_moc.cxx                \
69         MeasureGUI_CenterMassDlg_moc.cxx                \
70         MeasureGUI_NormaleDlg_moc.cxx                   \
71         MeasureGUI_InertiaDlg_moc.cxx                   \
72         MeasureGUI_BndBoxDlg_moc.cxx                    \
73         MeasureGUI_DistanceDlg_moc.cxx                  \
74         MeasureGUI_AngleDlg_moc.cxx                     \
75         MeasureGUI_MaxToleranceDlg_moc.cxx              \
76         MeasureGUI_WhatisDlg_moc.cxx                    \
77         MeasureGUI_CheckShapeDlg_moc.cxx                \
78         MeasureGUI_CheckCompoundOfBlocksDlg_moc.cxx     \
79         MeasureGUI_PointDlg_moc.cxx
80
81 nodist_libMeasureGUI_la_SOURCES =                       \
82         $(MOC_FILES)
83
84 UIC_FILES =                                             \
85         ui_MeasureGUI_1Sel12LineEdit_QTD.h              \
86         ui_MeasureGUI_1Sel1TextView1Check_QTD.h         \
87         ui_MeasureGUI_1Sel1TextView2ListBox_QTD.h       \
88         ui_MeasureGUI_1Sel1TextView_QTD.h               \
89         ui_MeasureGUI_1Sel3LineEdit_QTD.h               \
90         ui_MeasureGUI_1Sel6LineEdit_QTD.h               \
91         ui_MeasureGUI_2Sel1LineEdit_QTD.h               \
92         ui_MeasureGUI_2Sel4LineEdit_QTD.h               \
93         ui_MeasureGUI_SkeletonBox_QTD.h
94
95 BUILT_SOURCES = $(UIC_FILES)
96
97 # additional information to compile and link file
98
99 libMeasureGUI_la_CPPFLAGS =             \
100         $(QT_INCLUDES)                  \
101         $(VTK_INCLUDES)                 \
102         $(CAS_CPPFLAGS)                 \
103         $(PYTHON_INCLUDES)              \
104         $(BOOST_CPPFLAGS)               \
105         $(KERNEL_CXXFLAGS)              \
106         $(GUI_CXXFLAGS)                 \
107         $(CORBA_CXXFLAGS)               \
108         $(CORBA_INCLUDES)               \
109         -I$(srcdir)/../GEOMGUI          \
110         -I$(srcdir)/../DlgRef           \
111         -I$(srcdir)/../GEOMBase         \
112         -I$(srcdir)/../OBJECT           \
113         -I$(srcdir)/../GEOMClient       \
114         -I$(srcdir)/../GEOMImpl         \
115         -I$(srcdir)/../GEOM             \
116         -I$(top_builddir)/src/DlgRef    \
117         -I$(top_builddir)/idl
118
119 libMeasureGUI_la_LDFLAGS  =             \
120         $(CAS_LDFLAGS) -lTKGeomBase \
121         ../GEOMBase/libGEOMBase.la ../DlgRef/libDlgRef.la
122