Salome HOME
PR: merged from V5_1_4rc1
[modules/smesh.git] / src / SMESHGUI / Makefile.am
1 #  Copyright (C) 2007-2010  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 # SMESH SMESHGUI : GUI for SMESH component
21 # File   : Makefile.am
22 # Author : Alexander BORODIN, Open CASCADE S.A.S.
23 #
24 include $(top_srcdir)/adm_local/unix/make_common_starter.am
25
26 # header files 
27 salomeinclude_HEADERS = \
28         SMESHGUI.h \
29         SMESHGUI_Utils.h \
30         SMESHGUI_Hypotheses.h \
31         SMESHGUI_HypothesesUtils.h \
32         SMESHGUI_SpinBox.h \
33         SMESHGUI_Selection.h \
34         SMESHGUI_VTKUtils.h \
35         SMESHGUI_Displayer.h \
36         SMESHGUI_GEOMGenUtils.h \
37         SMESHGUI_MeshUtils.h \
38         SMESHGUI_FilterUtils.h \
39         SMESHGUI_PatternUtils.h \
40         SMESHGUI_GroupUtils.h \
41         SMESHGUI_PatternWidget.h \
42         SMESHGUI_CreatePatternDlg.h \
43         SMESHGUI_MeshPatternDlg.h \
44         SMESHGUI_NodesDlg.h \
45         SMESHGUI_TransparencyDlg.h \
46         SMESHGUI_ClippingDlg.h \
47         SMESHGUI_GroupDlg.h \
48         SMESHGUI_RemoveNodesDlg.h \
49         SMESHGUI_RemoveElementsDlg.h \
50         SMESHGUI_MeshInfosDlg.h \
51         SMESHGUI_StandardMeshInfosDlg.h \
52         SMESHGUI_WhatIsDlg.h \
53         SMESHGUI_Preferences_ColorDlg.h \
54         SMESHGUI_Preferences_ScalarBarDlg.h \
55         SMESHGUI_MoveNodesDlg.h \
56         SMESHGUI_AddMeshElementDlg.h \
57         SMESHGUI_XmlHandler.h \
58         SMESHGUI_Filter.h \
59         SMESHGUI_FilterDlg.h \
60         SMESHGUI_FilterLibraryDlg.h \
61         SMESHGUI_SingleEditDlg.h \
62         SMESHGUI_MultiEditDlg.h \
63         SMESHGUI_DeleteGroupDlg.h \
64         SMESHGUI_GroupOpDlg.h \
65         SMESHGUI_SmoothingDlg.h \
66         SMESHGUI_RenumberingDlg.h \
67         SMESHGUI_ExtrusionDlg.h \
68         SMESHGUI_ExtrusionAlongPathDlg.h \
69         SMESHGUI_RevolutionDlg.h \
70         SMESHGUI_RotationDlg.h \
71         SMESHGUI_TranslationDlg.h \
72         SMESHGUI_ScaleDlg.h \
73         SMESHGUI_SymmetryDlg.h \
74         SMESHGUI_SewingDlg.h \
75         SMESHGUI_EditMeshDlg.h \
76         SMESHGUI_MeshUtils.h \
77         SMESHGUI_CreatePolyhedralVolumeDlg.h \
78         SMESHGUI_Operation.h \
79         SMESHGUI_SelectionOp.h \
80         SMESHGUI_Dialog.h \
81         SMESHGUI_MeshDlg.h \
82         SMESHGUI_MeshOp.h \
83         SMESHGUI_ShapeByMeshDlg.h \
84         SMESHGUI_AddQuadraticElementDlg.h \
85         SMESHGUI_ConvToQuadDlg.h \
86         SMESHGUI_ConvToQuadOp.h \
87         SMESHGUI_BuildCompoundDlg.h \
88         SMESHGUI_ComputeDlg.h \
89         SMESHGUI_MakeNodeAtPointDlg.h \
90         SMESHGUI_MeshEditPreview.h \
91         SMESHGUI_IdValidator.h \
92         SMESHGUI_MeshInfosBox.h \
93         SMESHGUI_Make2DFrom3DOp.h \
94         SMESHGUI_FindElemByPointDlg.h \
95         SMESHGUI_MeshOrderDlg.h \
96         SMESHGUI_MeshOrderOp.h \
97         SMESHGUI_FileValidator.h \
98         SMESH_SMESHGUI.hxx
99
100 # Libraries targets
101 lib_LTLIBRARIES = libSMESH.la
102 dist_libSMESH_la_SOURCES = \
103         SMESHGUI.cxx \
104         SMESHGUI_PatternWidget.cxx \
105         SMESHGUI_CreatePatternDlg.cxx \
106         SMESHGUI_MeshPatternDlg.cxx \
107         SMESHGUI_SpinBox.cxx \
108         SMESHGUI_NodesDlg.cxx \
109         SMESHGUI_TransparencyDlg.cxx \
110         SMESHGUI_ClippingDlg.cxx \
111         SMESHGUI_GroupDlg.cxx \
112         SMESHGUI_RemoveNodesDlg.cxx \
113         SMESHGUI_RemoveElementsDlg.cxx \
114         SMESHGUI_MeshInfosDlg.cxx \
115         SMESHGUI_StandardMeshInfosDlg.cxx \
116         SMESHGUI_WhatIsDlg.cxx \
117         SMESHGUI_Preferences_ColorDlg.cxx \
118         SMESHGUI_Preferences_ScalarBarDlg.cxx \
119         SMESHGUI_MoveNodesDlg.cxx \
120         SMESHGUI_AddMeshElementDlg.cxx \
121         SMESHGUI_XmlHandler.cxx \
122         SMESHGUI_Filter.cxx \
123         SMESHGUI_FilterDlg.cxx \
124         SMESHGUI_FilterLibraryDlg.cxx \
125         SMESHGUI_SingleEditDlg.cxx \
126         SMESHGUI_MultiEditDlg.cxx \
127         SMESHGUI_DeleteGroupDlg.cxx \
128         SMESHGUI_GroupOpDlg.cxx \
129         SMESHGUI_SmoothingDlg.cxx \
130         SMESHGUI_RenumberingDlg.cxx \
131         SMESHGUI_ExtrusionDlg.cxx \
132         SMESHGUI_ExtrusionAlongPathDlg.cxx \
133         SMESHGUI_RevolutionDlg.cxx \
134         SMESHGUI_RotationDlg.cxx \
135         SMESHGUI_TranslationDlg.cxx \
136         SMESHGUI_ScaleDlg.cxx \
137         SMESHGUI_SymmetryDlg.cxx \
138         SMESHGUI_SewingDlg.cxx \
139         SMESHGUI_EditMeshDlg.cxx \
140         SMESHGUI_Utils.cxx \
141         SMESHGUI_GEOMGenUtils.cxx \
142         SMESHGUI_MeshUtils.cxx \
143         SMESHGUI_GroupUtils.cxx \
144         SMESHGUI_FilterUtils.cxx \
145         SMESHGUI_PatternUtils.cxx \
146         SMESHGUI_HypothesesUtils.cxx \
147         SMESHGUI_VTKUtils.cxx \
148         SMESHGUI_Selection.cxx \
149         SMESHGUI_CreatePolyhedralVolumeDlg.cxx \
150         SMESHGUI_Operation.cxx \
151         SMESHGUI_SelectionOp.cxx \
152         SMESHGUI_Dialog.cxx \
153         SMESHGUI_MeshDlg.cxx \
154         SMESHGUI_MeshOp.cxx \
155         SMESHGUI_Displayer.cxx \
156         SMESHGUI_Hypotheses.cxx \
157         SMESHGUI_ShapeByMeshDlg.cxx \
158         SMESHGUI_AddQuadraticElementDlg.cxx \
159         SMESHGUI_ConvToQuadDlg.cxx \
160         SMESHGUI_ConvToQuadOp.cxx \
161         SMESHGUI_BuildCompoundDlg.cxx \
162         SMESHGUI_ComputeDlg.cxx \
163         SMESHGUI_MakeNodeAtPointDlg.cxx \
164         SMESHGUI_MeshEditPreview.cxx \
165         SMESHGUI_GroupOnShapeDlg.cxx \
166         SMESHGUI_FileInfoDlg.cxx \
167         SMESHGUI_MeshInfosBox.cxx \
168         SMESHGUI_Make2DFrom3DOp.cxx \
169         SMESHGUI_FindElemByPointDlg.cxx \
170         SMESHGUI_MeshOrderDlg.cxx \
171         SMESHGUI_MeshOrderOp.cxx \
172         SMESHGUI_FileValidator.cxx
173
174 MOC_FILES = \
175         SMESHGUI_moc.cxx \
176         SMESHGUI_PatternWidget_moc.cxx \
177         SMESHGUI_MeshPatternDlg_moc.cxx \
178         SMESHGUI_CreatePatternDlg_moc.cxx \
179         SMESHGUI_NodesDlg_moc.cxx \
180         SMESHGUI_SpinBox_moc.cxx \
181         SMESHGUI_TransparencyDlg_moc.cxx \
182         SMESHGUI_ClippingDlg_moc.cxx \
183         SMESHGUI_GroupDlg_moc.cxx \
184         SMESHGUI_RemoveNodesDlg_moc.cxx \
185         SMESHGUI_RemoveElementsDlg_moc.cxx \
186         SMESHGUI_MeshInfosDlg_moc.cxx \
187         SMESHGUI_StandardMeshInfosDlg_moc.cxx \
188         SMESHGUI_WhatIsDlg_moc.cxx \
189         SMESHGUI_Preferences_ColorDlg_moc.cxx \
190         SMESHGUI_Preferences_ScalarBarDlg_moc.cxx \
191         SMESHGUI_MoveNodesDlg_moc.cxx \
192         SMESHGUI_AddMeshElementDlg_moc.cxx \
193         SMESHGUI_FilterDlg_moc.cxx \
194         SMESHGUI_FilterLibraryDlg_moc.cxx \
195         SMESHGUI_SingleEditDlg_moc.cxx \
196         SMESHGUI_MultiEditDlg_moc.cxx \
197         SMESHGUI_DeleteGroupDlg_moc.cxx \
198         SMESHGUI_GroupOpDlg_moc.cxx \
199         SMESHGUI_SmoothingDlg_moc.cxx \
200         SMESHGUI_RenumberingDlg_moc.cxx \
201         SMESHGUI_ExtrusionDlg_moc.cxx \
202         SMESHGUI_ExtrusionAlongPathDlg_moc.cxx \
203         SMESHGUI_RevolutionDlg_moc.cxx \
204         SMESHGUI_RotationDlg_moc.cxx \
205         SMESHGUI_TranslationDlg_moc.cxx \
206         SMESHGUI_ScaleDlg_moc.cxx \
207         SMESHGUI_SymmetryDlg_moc.cxx \
208         SMESHGUI_SewingDlg_moc.cxx \
209         SMESHGUI_EditMeshDlg_moc.cxx \
210         SMESHGUI_CreatePolyhedralVolumeDlg_moc.cxx \
211         SMESHGUI_Operation_moc.cxx \
212         SMESHGUI_SelectionOp_moc.cxx \
213         SMESHGUI_Dialog_moc.cxx \
214         SMESHGUI_MeshDlg_moc.cxx \
215         SMESHGUI_MeshOp_moc.cxx \
216         SMESHGUI_Hypotheses_moc.cxx \
217         SMESHGUI_ShapeByMeshDlg_moc.cxx \
218         SMESHGUI_AddQuadraticElementDlg_moc.cxx \
219         SMESHGUI_ConvToQuadDlg_moc.cxx \
220         SMESHGUI_ConvToQuadOp_moc.cxx \
221         SMESHGUI_BuildCompoundDlg_moc.cxx \
222         SMESHGUI_ComputeDlg_moc.cxx \
223         SMESHGUI_MakeNodeAtPointDlg_moc.cxx \
224         SMESHGUI_GroupOnShapeDlg_moc.cxx \
225         SMESHGUI_FileInfoDlg_moc.cxx \
226         SMESHGUI_MeshInfosBox_moc.cxx \
227         SMESHGUI_Make2DFrom3DOp_moc.cxx \
228         SMESHGUI_FindElemByPointDlg_moc.cxx \
229         SMESHGUI_MeshOrderDlg_moc.cxx \
230         SMESHGUI_MeshOrderOp_moc.cxx
231
232 nodist_libSMESH_la_SOURCES= \
233         $(MOC_FILES)
234
235 # additionnal information to compil and link file
236 libSMESH_la_CPPFLAGS = \
237         $(QT_INCLUDES) \
238         $(VTK_INCLUDES) \
239         $(OGL_INCLUDES) \
240         $(CAS_CPPFLAGS) \
241         $(PYTHON_INCLUDES) \
242         $(KERNEL_CXXFLAGS)  \
243         $(GUI_CXXFLAGS) \
244         $(GEOM_CXXFLAGS) \
245         $(MED_CXXFLAGS) \
246         $(BOOST_CPPFLAGS) \
247         $(CORBA_CXXFLAGS) \
248         $(CORBA_INCLUDES) \
249         $(MED2_INCLUDES) \
250         $(HDF5_INCLUDES) \
251         -I$(srcdir)/../OBJECT \
252         -I$(srcdir)/../SMESHFiltersSelection \
253         -I$(srcdir)/../SMDS \
254         -I$(srcdir)/../SMESH \
255         -I$(srcdir)/../SMESH_I \
256         -I$(srcdir)/../Controls \
257         -I$(srcdir)/../SMESHClient \
258         -I$(top_builddir)/idl
259
260 libSMESH_la_LDFLAGS  = \
261         ../SMESHFiltersSelection/libSMESHFiltersSelection.la \
262         ../SMDS/libSMDS.la \
263         ../Controls/libSMESHControls.la \
264         ../OBJECT/libSMESHObject.la \
265         $(CAS_LDFLAGS) -lTKV3d \
266         $(GUI_LDFLAGS) -lSalomePrs -lsuit -lSUITApp -lCAM -lstd \
267         $(GEOM_LDFLAGS) -lGEOMBase -lGEOMFiltersSelection -lGEOMObject
268
269 # resources files
270 nodist_salomeres_DATA= \
271         SMESH_images.qm \
272         SMESH_msg_en.qm