Salome HOME
-#if OCC_VERSION_LARGE > 0x06010000
[modules/smesh.git] / src / SMESHGUI / 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 # 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_MeshInfo.h \
51         SMESHGUI_Measurements.h \
52         SMESHGUI_Preferences_ScalarBarDlg.h \
53         SMESHGUI_AddMeshElementDlg.h \
54         SMESHGUI_XmlHandler.h \
55         SMESHGUI_Filter.h \
56         SMESHGUI_FilterDlg.h \
57         SMESHGUI_FilterLibraryDlg.h \
58         SMESHGUI_SingleEditDlg.h \
59         SMESHGUI_MultiEditDlg.h \
60         SMESHGUI_DeleteGroupDlg.h \
61         SMESHGUI_GroupOpDlg.h \
62         SMESHGUI_SmoothingDlg.h \
63         SMESHGUI_RenumberingDlg.h \
64         SMESHGUI_ExtrusionDlg.h \
65         SMESHGUI_ExtrusionAlongPathDlg.h \
66         SMESHGUI_RevolutionDlg.h \
67         SMESHGUI_RotationDlg.h \
68         SMESHGUI_TranslationDlg.h \
69         SMESHGUI_ScaleDlg.h \
70         SMESHGUI_SymmetryDlg.h \
71         SMESHGUI_SewingDlg.h \
72         SMESHGUI_DuplicateNodesDlg.h \
73         SMESHGUI_MergeDlg.h \
74         SMESHGUI_MeshUtils.h \
75         SMESHGUI_CreatePolyhedralVolumeDlg.h \
76         SMESHGUI_Operation.h \
77         SMESHGUI_SelectionOp.h \
78         SMESHGUI_Dialog.h \
79         SMESHGUI_MeshDlg.h \
80         SMESHGUI_MeshOp.h \
81         SMESHGUI_ShapeByMeshDlg.h \
82         SMESHGUI_AddQuadraticElementDlg.h \
83         SMESHGUI_ConvToQuadDlg.h \
84         SMESHGUI_ConvToQuadOp.h \
85         SMESHGUI_BuildCompoundDlg.h \
86         SMESHGUI_ComputeDlg.h \
87         SMESHGUI_MakeNodeAtPointDlg.h \
88         SMESHGUI_MeshEditPreview.h \
89         SMESHGUI_IdValidator.h \
90         SMESHGUI_MeshInfosBox.h \
91         SMESHGUI_Make2DFrom3DOp.h \
92         SMESHGUI_FindElemByPointDlg.h \
93         SMESHGUI_MeshOrderDlg.h \
94         SMESHGUI_MeshOrderOp.h \
95         SMESHGUI_FileValidator.h \
96         SMESHGUI_CopyMeshDlg.h \
97         SMESHGUI_PreviewDlg.h  \
98         SMESHGUI_ReorientFacesDlg.h \
99         SMESHGUI_PropertiesDlg.h \
100         SMESHGUI_Add0DElemsOnAllNodesDlg.h \
101         SMESH_SMESHGUI.hxx
102
103 # Libraries targets
104 lib_LTLIBRARIES = libSMESH.la
105 dist_libSMESH_la_SOURCES = \
106         SMESHGUI.cxx \
107         SMESHGUI_PatternWidget.cxx \
108         SMESHGUI_CreatePatternDlg.cxx \
109         SMESHGUI_MeshPatternDlg.cxx \
110         SMESHGUI_SpinBox.cxx \
111         SMESHGUI_NodesDlg.cxx \
112         SMESHGUI_TransparencyDlg.cxx \
113         SMESHGUI_ClippingDlg.cxx \
114         SMESHGUI_GroupDlg.cxx \
115         SMESHGUI_RemoveNodesDlg.cxx \
116         SMESHGUI_RemoveElementsDlg.cxx \
117         SMESHGUI_MeshInfo.cxx \
118         SMESHGUI_Measurements.cxx \
119         SMESHGUI_Preferences_ScalarBarDlg.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_DuplicateNodesDlg.cxx \
140         SMESHGUI_MergeDlg.cxx \
141         SMESHGUI_Utils.cxx \
142         SMESHGUI_GEOMGenUtils.cxx \
143         SMESHGUI_MeshUtils.cxx \
144         SMESHGUI_GroupUtils.cxx \
145         SMESHGUI_FilterUtils.cxx \
146         SMESHGUI_PatternUtils.cxx \
147         SMESHGUI_HypothesesUtils.cxx \
148         SMESHGUI_VTKUtils.cxx \
149         SMESHGUI_Selection.cxx \
150         SMESHGUI_CreatePolyhedralVolumeDlg.cxx \
151         SMESHGUI_Operation.cxx \
152         SMESHGUI_SelectionOp.cxx \
153         SMESHGUI_Dialog.cxx \
154         SMESHGUI_MeshDlg.cxx \
155         SMESHGUI_MeshOp.cxx \
156         SMESHGUI_Displayer.cxx \
157         SMESHGUI_Hypotheses.cxx \
158         SMESHGUI_ShapeByMeshDlg.cxx \
159         SMESHGUI_AddQuadraticElementDlg.cxx \
160         SMESHGUI_ConvToQuadDlg.cxx \
161         SMESHGUI_ConvToQuadOp.cxx \
162         SMESHGUI_BuildCompoundDlg.cxx \
163         SMESHGUI_ComputeDlg.cxx \
164         SMESHGUI_MakeNodeAtPointDlg.cxx \
165         SMESHGUI_MeshEditPreview.cxx \
166         SMESHGUI_GroupOnShapeDlg.cxx \
167         SMESHGUI_FileInfoDlg.cxx \
168         SMESHGUI_MeshInfosBox.cxx \
169         SMESHGUI_Make2DFrom3DOp.cxx \
170         SMESHGUI_FindElemByPointDlg.cxx \
171         SMESHGUI_MeshOrderDlg.cxx \
172         SMESHGUI_MeshOrderOp.cxx \
173         SMESHGUI_CopyMeshDlg.cxx \
174         SMESHGUI_FileValidator.cxx \
175         SMESHGUI_PreviewDlg.cxx  \
176         SMESHGUI_ReorientFacesDlg.cxx \
177         SMESHGUI_PropertiesDlg.cxx \
178         SMESHGUI_Add0DElemsOnAllNodesDlg.cxx
179
180 MOC_FILES = \
181         SMESHGUI_moc.cxx \
182         SMESHGUI_PatternWidget_moc.cxx \
183         SMESHGUI_MeshPatternDlg_moc.cxx \
184         SMESHGUI_CreatePatternDlg_moc.cxx \
185         SMESHGUI_NodesDlg_moc.cxx \
186         SMESHGUI_SpinBox_moc.cxx \
187         SMESHGUI_TransparencyDlg_moc.cxx \
188         SMESHGUI_ClippingDlg_moc.cxx \
189         SMESHGUI_GroupDlg_moc.cxx \
190         SMESHGUI_RemoveNodesDlg_moc.cxx \
191         SMESHGUI_RemoveElementsDlg_moc.cxx \
192         SMESHGUI_MeshInfo_moc.cxx \
193         SMESHGUI_Measurements_moc.cxx \
194         SMESHGUI_Preferences_ScalarBarDlg_moc.cxx \
195         SMESHGUI_AddMeshElementDlg_moc.cxx \
196         SMESHGUI_FilterDlg_moc.cxx \
197         SMESHGUI_FilterLibraryDlg_moc.cxx \
198         SMESHGUI_SingleEditDlg_moc.cxx \
199         SMESHGUI_MultiEditDlg_moc.cxx \
200         SMESHGUI_DeleteGroupDlg_moc.cxx \
201         SMESHGUI_GroupOpDlg_moc.cxx \
202         SMESHGUI_SmoothingDlg_moc.cxx \
203         SMESHGUI_RenumberingDlg_moc.cxx \
204         SMESHGUI_ExtrusionDlg_moc.cxx \
205         SMESHGUI_ExtrusionAlongPathDlg_moc.cxx \
206         SMESHGUI_RevolutionDlg_moc.cxx \
207         SMESHGUI_RotationDlg_moc.cxx \
208         SMESHGUI_TranslationDlg_moc.cxx \
209         SMESHGUI_ScaleDlg_moc.cxx \
210         SMESHGUI_SymmetryDlg_moc.cxx \
211         SMESHGUI_SewingDlg_moc.cxx \
212         SMESHGUI_DuplicateNodesDlg_moc.cxx \
213         SMESHGUI_MergeDlg_moc.cxx \
214         SMESHGUI_CreatePolyhedralVolumeDlg_moc.cxx \
215         SMESHGUI_Operation_moc.cxx \
216         SMESHGUI_SelectionOp_moc.cxx \
217         SMESHGUI_Dialog_moc.cxx \
218         SMESHGUI_MeshDlg_moc.cxx \
219         SMESHGUI_MeshOp_moc.cxx \
220         SMESHGUI_Hypotheses_moc.cxx \
221         SMESHGUI_ShapeByMeshDlg_moc.cxx \
222         SMESHGUI_AddQuadraticElementDlg_moc.cxx \
223         SMESHGUI_ConvToQuadDlg_moc.cxx \
224         SMESHGUI_ConvToQuadOp_moc.cxx \
225         SMESHGUI_BuildCompoundDlg_moc.cxx \
226         SMESHGUI_ComputeDlg_moc.cxx \
227         SMESHGUI_MakeNodeAtPointDlg_moc.cxx \
228         SMESHGUI_GroupOnShapeDlg_moc.cxx \
229         SMESHGUI_FileInfoDlg_moc.cxx \
230         SMESHGUI_MeshInfosBox_moc.cxx \
231         SMESHGUI_Make2DFrom3DOp_moc.cxx \
232         SMESHGUI_FindElemByPointDlg_moc.cxx \
233         SMESHGUI_MeshOrderDlg_moc.cxx \
234         SMESHGUI_CopyMeshDlg_moc.cxx \
235         SMESHGUI_MeshOrderOp_moc.cxx \
236         SMESHGUI_PreviewDlg_moc.cxx \
237         SMESHGUI_ReorientFacesDlg_moc.cxx \
238         SMESHGUI_PropertiesDlg_moc.cxx \
239         SMESHGUI_Add0DElemsOnAllNodesDlg_moc.cxx
240
241 nodist_libSMESH_la_SOURCES= \
242         $(MOC_FILES)
243
244 # additionnal information to compil and link file
245 libSMESH_la_CPPFLAGS = \
246         $(QT_INCLUDES) \
247         $(VTK_INCLUDES) \
248         $(OGL_INCLUDES) \
249         $(CAS_CPPFLAGS) \
250         $(PYTHON_INCLUDES) \
251         $(KERNEL_CXXFLAGS)  \
252         $(GUI_CXXFLAGS) \
253         $(QWT_INCLUDES) \
254         $(GEOM_CXXFLAGS) \
255         $(MED_CXXFLAGS) \
256         $(BOOST_CPPFLAGS) \
257         $(CORBA_CXXFLAGS) \
258         $(CORBA_INCLUDES) \
259         $(MED3_INCLUDES) \
260         $(HDF5_INCLUDES) \
261         -I$(srcdir)/../OBJECT \
262         -I$(srcdir)/../SMESHFiltersSelection \
263         -I$(srcdir)/../SMDS \
264         -I$(srcdir)/../SMESHDS \
265         -I$(srcdir)/../SMESH \
266         -I$(srcdir)/../SMESHUtils \
267         -I$(srcdir)/../SMESH_I \
268         -I$(srcdir)/../Controls \
269         -I$(srcdir)/../SMESHClient \
270         -I$(srcdir)/../MEDWrapper/Base \
271         -I$(top_builddir) \
272         -I$(top_builddir)/idl
273
274 libSMESH_la_LDFLAGS  = \
275         ../SMESHFiltersSelection/libSMESHFiltersSelection.la \
276         ../SMDS/libSMDS.la \
277         ../Controls/libSMESHControls.la \
278         ../OBJECT/libSMESHObject.la \
279         $(CAS_LDFLAGS) -lTKV3d \
280         $(GUI_LDFLAGS) -lSalomePrs -lsuit -lSUITApp -lCAM -lstd \
281         $(GEOM_LDFLAGS) -lGEOMBase -lGEOMFiltersSelection -lGEOMObject \
282         $(PYTHON_LIBS)
283
284 # resources files
285 nodist_salomeres_DATA= \
286         SMESH_images.qm \
287         SMESH_msg_en.qm \
288         SMESH_msg_fr.qm \
289         SMESH_msg_ja.qm