Salome HOME
Issue 0020194: EDF 977 ALL: Get rid of warnings PACKAGE_VERSION already defined
[modules/geom.git] / src / MeasureGUI / Makefile.am
1 #  Copyright (C) 2007-2008  CEA/DEN, EDF R&D, OPEN CASCADE
2 #
3 #  Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 #  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
5 #
6 #  This library is free software; you can redistribute it and/or
7 #  modify it under the terms of the GNU Lesser General Public
8 #  License as published by the Free Software Foundation; either
9 #  version 2.1 of the License.
10 #
11 #  This library is distributed in the hope that it will be useful,
12 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
13 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 #  Lesser General Public License for more details.
15 #
16 #  You should have received a copy of the GNU Lesser General Public
17 #  License along with this library; if not, write to the Free Software
18 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
19 #
20 #  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 #
22 # GEOM MEASUREGUI : 
23 # File    : Makefile.am
24 # Author  : Alexander BORODIN, Open CASCADE S.A.S. (alexander.borodin@opencascade.com)
25 # Package : MeasureGUI
26 #
27 include $(top_srcdir)/adm_local/unix/make_common_starter.am
28
29 # header files 
30 salomeinclude_HEADERS =                         \
31         MeasureGUI.h                            \
32         MeasureGUI_Widgets.h                    \
33         MeasureGUI_Skeleton.h                   \
34         MeasureGUI_PropertiesDlg.h              \
35         MeasureGUI_CenterMassDlg.h              \
36         MeasureGUI_NormaleDlg.h                 \
37         MeasureGUI_InertiaDlg.h                 \
38         MeasureGUI_BndBoxDlg.h                  \
39         MeasureGUI_DistanceDlg.h                \
40         MeasureGUI_AngleDlg.h                   \
41         MeasureGUI_MaxToleranceDlg.h            \
42         MeasureGUI_WhatisDlg.h                  \
43         MeasureGUI_CheckShapeDlg.h              \
44         MeasureGUI_CheckCompoundOfBlocksDlg.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_PointDlg.cxx
66
67 MOC_FILES =                                             \
68         MeasureGUI_Widgets_moc.cxx                      \
69         MeasureGUI_Skeleton_moc.cxx                     \
70         MeasureGUI_PropertiesDlg_moc.cxx                \
71         MeasureGUI_CenterMassDlg_moc.cxx                \
72         MeasureGUI_NormaleDlg_moc.cxx                   \
73         MeasureGUI_InertiaDlg_moc.cxx                   \
74         MeasureGUI_BndBoxDlg_moc.cxx                    \
75         MeasureGUI_DistanceDlg_moc.cxx                  \
76         MeasureGUI_AngleDlg_moc.cxx                     \
77         MeasureGUI_MaxToleranceDlg_moc.cxx              \
78         MeasureGUI_WhatisDlg_moc.cxx                    \
79         MeasureGUI_CheckShapeDlg_moc.cxx                \
80         MeasureGUI_CheckCompoundOfBlocksDlg_moc.cxx     \
81         MeasureGUI_PointDlg_moc.cxx
82
83 nodist_libMeasureGUI_la_SOURCES =                       \
84         $(MOC_FILES)
85
86 UIC_FILES =                                             \
87         ui_MeasureGUI_1Sel12LineEdit_QTD.h              \
88         ui_MeasureGUI_1Sel1TextView1Check_QTD.h         \
89         ui_MeasureGUI_1Sel1TextView2ListBox_QTD.h       \
90         ui_MeasureGUI_1Sel1TextView_QTD.h               \
91         ui_MeasureGUI_1Sel3LineEdit_QTD.h               \
92         ui_MeasureGUI_1Sel6LineEdit_QTD.h               \
93         ui_MeasureGUI_2Sel1LineEdit_QTD.h               \
94         ui_MeasureGUI_2Sel4LineEdit_QTD.h               \
95         ui_MeasureGUI_SkeletonBox_QTD.h
96
97 BUILT_SOURCES = $(UIC_FILES)
98
99 # additional information to compile and link file
100
101 libMeasureGUI_la_CPPFLAGS =             \
102         $(QT_INCLUDES)                  \
103         $(VTK_INCLUDES)                 \
104         $(CAS_CPPFLAGS)                 \
105         $(PYTHON_INCLUDES)              \
106         $(BOOST_CPPFLAGS)               \
107         $(KERNEL_CXXFLAGS)              \
108         $(GUI_CXXFLAGS)                 \
109         $(CORBA_CXXFLAGS)               \
110         $(CORBA_INCLUDES)               \
111         -I$(srcdir)/../GEOMGUI          \
112         -I$(srcdir)/../DlgRef           \
113         -I$(srcdir)/../GEOMBase         \
114         -I$(srcdir)/../OBJECT           \
115         -I$(srcdir)/../GEOMClient       \
116         -I$(srcdir)/../GEOMImpl         \
117         -I$(srcdir)/../GEOM             \
118         -I$(top_builddir)/src/DlgRef    \
119         -I$(top_builddir)/idl
120
121 libMeasureGUI_la_LDFLAGS  =             \
122         $(CAS_LDFLAGS) -lTKGeomBase \
123         ../GEOMBase/libGEOMBase.la
124