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