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