Salome HOME
compatibility windows compilation with cmake
[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         SMESH_SMESHGUI.hxx
94
95 # Libraries targets
96 lib_LTLIBRARIES = libSMESH.la
97 dist_libSMESH_la_SOURCES = \
98         SMESHGUI.cxx \
99         SMESHGUI_PatternWidget.cxx \
100         SMESHGUI_CreatePatternDlg.cxx \
101         SMESHGUI_MeshPatternDlg.cxx \
102         SMESHGUI_SpinBox.cxx \
103         SMESHGUI_NodesDlg.cxx \
104         SMESHGUI_TransparencyDlg.cxx \
105         SMESHGUI_ClippingDlg.cxx \
106         SMESHGUI_GroupDlg.cxx \
107         SMESHGUI_RemoveNodesDlg.cxx \
108         SMESHGUI_RemoveElementsDlg.cxx \
109         SMESHGUI_MeshInfosDlg.cxx \
110         SMESHGUI_StandardMeshInfosDlg.cxx \
111         SMESHGUI_WhatIsDlg.cxx \
112         SMESHGUI_Preferences_ColorDlg.cxx \
113         SMESHGUI_Preferences_ScalarBarDlg.cxx \
114         SMESHGUI_MoveNodesDlg.cxx \
115         SMESHGUI_AddMeshElementDlg.cxx \
116         SMESHGUI_XmlHandler.cxx \
117         SMESHGUI_Filter.cxx \
118         SMESHGUI_FilterDlg.cxx \
119         SMESHGUI_FilterLibraryDlg.cxx \
120         SMESHGUI_SingleEditDlg.cxx \
121         SMESHGUI_MultiEditDlg.cxx \
122         SMESHGUI_DeleteGroupDlg.cxx \
123         SMESHGUI_GroupOpDlg.cxx \
124         SMESHGUI_SmoothingDlg.cxx \
125         SMESHGUI_RenumberingDlg.cxx \
126         SMESHGUI_ExtrusionDlg.cxx \
127         SMESHGUI_ExtrusionAlongPathDlg.cxx \
128         SMESHGUI_RevolutionDlg.cxx \
129         SMESHGUI_RotationDlg.cxx \
130         SMESHGUI_TranslationDlg.cxx \
131         SMESHGUI_SymmetryDlg.cxx \
132         SMESHGUI_SewingDlg.cxx \
133         SMESHGUI_EditMeshDlg.cxx \
134         SMESHGUI_Utils.cxx \
135         SMESHGUI_GEOMGenUtils.cxx \
136         SMESHGUI_MeshUtils.cxx \
137         SMESHGUI_GroupUtils.cxx \
138         SMESHGUI_FilterUtils.cxx \
139         SMESHGUI_PatternUtils.cxx \
140         SMESHGUI_HypothesesUtils.cxx \
141         SMESHGUI_VTKUtils.cxx \
142         SMESHGUI_Selection.cxx \
143         SMESHGUI_CreatePolyhedralVolumeDlg.cxx \
144         SMESHGUI_Operation.cxx \
145         SMESHGUI_SelectionOp.cxx \
146         SMESHGUI_Dialog.cxx \
147         SMESHGUI_MeshDlg.cxx \
148         SMESHGUI_MeshOp.cxx \
149         SMESHGUI_Displayer.cxx \
150         SMESHGUI_Hypotheses.cxx \
151         SMESHGUI_ShapeByMeshDlg.cxx \
152         SMESHGUI_AddQuadraticElementDlg.cxx \
153         SMESHGUI_ConvToQuadDlg.cxx \
154         SMESHGUI_ConvToQuadOp.cxx \
155         SMESHGUI_BuildCompoundDlg.cxx \
156         SMESHGUI_ComputeDlg.cxx \
157         SMESHGUI_MakeNodeAtPointDlg.cxx \
158         SMESHGUI_MeshEditPreview.cxx \
159         SMESHGUI_GroupOnShapeDlg.cxx \
160         SMESHGUI_FileInfoDlg.cxx
161
162 MOC_FILES = \
163         SMESHGUI_moc.cxx \
164         SMESHGUI_PatternWidget_moc.cxx \
165         SMESHGUI_MeshPatternDlg_moc.cxx \
166         SMESHGUI_CreatePatternDlg_moc.cxx \
167         SMESHGUI_NodesDlg_moc.cxx \
168         SMESHGUI_SpinBox_moc.cxx \
169         SMESHGUI_TransparencyDlg_moc.cxx \
170         SMESHGUI_ClippingDlg_moc.cxx \
171         SMESHGUI_GroupDlg_moc.cxx \
172         SMESHGUI_RemoveNodesDlg_moc.cxx \
173         SMESHGUI_RemoveElementsDlg_moc.cxx \
174         SMESHGUI_MeshInfosDlg_moc.cxx \
175         SMESHGUI_StandardMeshInfosDlg_moc.cxx \
176         SMESHGUI_WhatIsDlg_moc.cxx \
177         SMESHGUI_Preferences_ColorDlg_moc.cxx \
178         SMESHGUI_Preferences_ScalarBarDlg_moc.cxx \
179         SMESHGUI_MoveNodesDlg_moc.cxx \
180         SMESHGUI_AddMeshElementDlg_moc.cxx \
181         SMESHGUI_FilterDlg_moc.cxx \
182         SMESHGUI_FilterLibraryDlg_moc.cxx \
183         SMESHGUI_SingleEditDlg_moc.cxx \
184         SMESHGUI_MultiEditDlg_moc.cxx \
185         SMESHGUI_DeleteGroupDlg_moc.cxx \
186         SMESHGUI_GroupOpDlg_moc.cxx \
187         SMESHGUI_SmoothingDlg_moc.cxx \
188         SMESHGUI_RenumberingDlg_moc.cxx \
189         SMESHGUI_ExtrusionDlg_moc.cxx \
190         SMESHGUI_ExtrusionAlongPathDlg_moc.cxx \
191         SMESHGUI_RevolutionDlg_moc.cxx \
192         SMESHGUI_RotationDlg_moc.cxx \
193         SMESHGUI_TranslationDlg_moc.cxx \
194         SMESHGUI_SymmetryDlg_moc.cxx \
195         SMESHGUI_SewingDlg_moc.cxx \
196         SMESHGUI_EditMeshDlg_moc.cxx \
197         SMESHGUI_CreatePolyhedralVolumeDlg_moc.cxx \
198         SMESHGUI_Operation_moc.cxx \
199         SMESHGUI_SelectionOp_moc.cxx \
200         SMESHGUI_Dialog_moc.cxx \
201         SMESHGUI_MeshDlg_moc.cxx \
202         SMESHGUI_MeshOp_moc.cxx \
203         SMESHGUI_Hypotheses_moc.cxx \
204         SMESHGUI_ShapeByMeshDlg_moc.cxx \
205         SMESHGUI_AddQuadraticElementDlg_moc.cxx \
206         SMESHGUI_ConvToQuadDlg_moc.cxx \
207         SMESHGUI_ConvToQuadOp_moc.cxx \
208         SMESHGUI_BuildCompoundDlg_moc.cxx \
209         SMESHGUI_ComputeDlg_moc.cxx \
210         SMESHGUI_MakeNodeAtPointDlg_moc.cxx \
211         SMESHGUI_GroupOnShapeDlg_moc.cxx \
212         SMESHGUI_FileInfoDlg_moc.cxx
213
214 nodist_libSMESH_la_SOURCES= \
215         $(MOC_FILES)
216
217 # additionnal information to compil and link file
218 libSMESH_la_CPPFLAGS = \
219         $(QT_INCLUDES) \
220         $(VTK_INCLUDES) \
221         $(OGL_INCLUDES) \
222         $(CAS_CPPFLAGS) \
223         $(PYTHON_INCLUDES) \
224         $(KERNEL_CXXFLAGS)  \
225         $(GUI_CXXFLAGS) \
226         $(GEOM_CXXFLAGS) \
227         $(MED_CXXFLAGS) \
228         $(BOOST_CPPFLAGS) \
229         $(CORBA_CXXFLAGS) \
230         $(CORBA_INCLUDES) \
231         $(MED2_INCLUDES) \
232         $(HDF5_INCLUDES) \
233         -I$(srcdir)/../OBJECT \
234         -I$(srcdir)/../SMESHFiltersSelection \
235         -I$(srcdir)/../SMDS \
236         -I$(srcdir)/../SMESH \
237         -I$(srcdir)/../SMESH_I \
238         -I$(srcdir)/../Controls \
239         -I$(srcdir)/../SMESHClient \
240         -I$(top_builddir)/idl \
241         -I$(top_builddir)/salome_adm/unix
242
243
244 libSMESH_la_LDFLAGS  = \
245         ../SMESHFiltersSelection/libSMESHFiltersSelection.la \
246         ../SMDS/libSMDS.la \
247         ../Controls/libSMESHControls.la \
248         ../OBJECT/libSMESHObject.la \
249         $(CAS_LDFLAGS) -lTKV3d \
250         $(GUI_LDFLAGS) -lSalomePrs -lsuit -lSUITApp -lCAM -lstd \
251         $(GEOM_LDFLAGS) -lGEOMBase -lGEOMFiltersSelection -lGEOMObject
252
253 # resources files
254 nodist_salomeres_DATA= \
255         SMESH_images.qm \
256         SMESH_msg_en.qm