Salome HOME
Porting SMESH module to Qt 4
[modules/smesh.git] / src / SMESHGUI / Makefile.am
1 # SMESH SMESHGUI : GUI for SMESH component
2 #
3 # Copyright (C) 2003  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 # File   : Makefile.am
23 # Author : Alexander BORODIN, Open CASCADE S.A.S.
24 #
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         SMESH_SMESHGUI.hxx
38
39 # Libraries targets
40 lib_LTLIBRARIES = libSMESH.la
41 dist_libSMESH_la_SOURCES = \
42         SMESHGUI.cxx \
43         SMESHGUI_PatternWidget.cxx \
44         SMESHGUI_CreatePatternDlg.cxx \
45         SMESHGUI_MeshPatternDlg.cxx \
46         SMESHGUI_SpinBox.cxx \
47         SMESHGUI_NodesDlg.cxx \
48         SMESHGUI_TransparencyDlg.cxx \
49         SMESHGUI_ClippingDlg.cxx \
50         SMESHGUI_GroupDlg.cxx \
51         SMESHGUI_RemoveNodesDlg.cxx \
52         SMESHGUI_RemoveElementsDlg.cxx \
53         SMESHGUI_MeshInfosDlg.cxx \
54         SMESHGUI_StandardMeshInfosDlg.cxx \
55         SMESHGUI_WhatIsDlg.cxx \
56         SMESHGUI_Preferences_ColorDlg.cxx \
57         SMESHGUI_Preferences_ScalarBarDlg.cxx \
58         SMESHGUI_MoveNodesDlg.cxx \
59         SMESHGUI_AddMeshElementDlg.cxx \
60         SMESHGUI_XmlHandler.cxx \
61         SMESHGUI_Filter.cxx \
62         SMESHGUI_FilterDlg.cxx \
63         SMESHGUI_FilterLibraryDlg.cxx \
64         SMESHGUI_SingleEditDlg.cxx \
65         SMESHGUI_MultiEditDlg.cxx \
66         SMESHGUI_DeleteGroupDlg.cxx \
67         SMESHGUI_GroupOpDlg.cxx \
68         SMESHGUI_SmoothingDlg.cxx \
69         SMESHGUI_RenumberingDlg.cxx \
70         SMESHGUI_ExtrusionDlg.cxx \
71         SMESHGUI_ExtrusionAlongPathDlg.cxx \
72         SMESHGUI_RevolutionDlg.cxx \
73         SMESHGUI_RotationDlg.cxx \
74         SMESHGUI_TranslationDlg.cxx \
75         SMESHGUI_SymmetryDlg.cxx \
76         SMESHGUI_SewingDlg.cxx \
77         SMESHGUI_EditMeshDlg.cxx \
78         SMESHGUI_Utils.cxx \
79         SMESHGUI_GEOMGenUtils.cxx \
80         SMESHGUI_MeshUtils.cxx \
81         SMESHGUI_GroupUtils.cxx \
82         SMESHGUI_FilterUtils.cxx \
83         SMESHGUI_PatternUtils.cxx \
84         SMESHGUI_HypothesesUtils.cxx \
85         SMESHGUI_VTKUtils.cxx \
86         SMESHGUI_Selection.cxx \
87         SMESHGUI_CreatePolyhedralVolumeDlg.cxx \
88         SMESHGUI_Operation.cxx \
89         SMESHGUI_SelectionOp.cxx \
90         SMESHGUI_Dialog.cxx \
91         SMESHGUI_MeshDlg.cxx \
92         SMESHGUI_MeshOp.cxx \
93         SMESHGUI_Displayer.cxx \
94         SMESHGUI_Hypotheses.cxx \
95         SMESHGUI_ShapeByMeshDlg.cxx \
96         SMESHGUI_AddQuadraticElementDlg.cxx \
97         SMESHGUI_ConvToQuadDlg.cxx \
98         SMESHGUI_ConvToQuadOp.cxx \
99         SMESHGUI_BuildCompoundDlg.cxx \
100         SMESHGUI_ComputeDlg.cxx \
101         SMESHGUI_MakeNodeAtPointDlg.cxx \
102         SMESHGUI_MeshEditPreview.cxx
103
104 MOC_FILES = \
105         SMESHGUI_moc.cxx \
106         SMESHGUI_PatternWidget_moc.cxx \
107         SMESHGUI_MeshPatternDlg_moc.cxx \
108         SMESHGUI_CreatePatternDlg_moc.cxx \
109         SMESHGUI_NodesDlg_moc.cxx \
110         SMESHGUI_SpinBox_moc.cxx \
111         SMESHGUI_TransparencyDlg_moc.cxx \
112         SMESHGUI_ClippingDlg_moc.cxx \
113         SMESHGUI_GroupDlg_moc.cxx \
114         SMESHGUI_RemoveNodesDlg_moc.cxx \
115         SMESHGUI_RemoveElementsDlg_moc.cxx \
116         SMESHGUI_MeshInfosDlg_moc.cxx \
117         SMESHGUI_StandardMeshInfosDlg_moc.cxx \
118         SMESHGUI_WhatIsDlg_moc.cxx \
119         SMESHGUI_Preferences_ColorDlg_moc.cxx \
120         SMESHGUI_Preferences_ScalarBarDlg_moc.cxx \
121         SMESHGUI_MoveNodesDlg_moc.cxx \
122         SMESHGUI_AddMeshElementDlg_moc.cxx \
123         SMESHGUI_FilterDlg_moc.cxx \
124         SMESHGUI_FilterLibraryDlg_moc.cxx \
125         SMESHGUI_SingleEditDlg_moc.cxx \
126         SMESHGUI_MultiEditDlg_moc.cxx \
127         SMESHGUI_DeleteGroupDlg_moc.cxx \
128         SMESHGUI_GroupOpDlg_moc.cxx \
129         SMESHGUI_SmoothingDlg_moc.cxx \
130         SMESHGUI_RenumberingDlg_moc.cxx \
131         SMESHGUI_ExtrusionDlg_moc.cxx \
132         SMESHGUI_ExtrusionAlongPathDlg_moc.cxx \
133         SMESHGUI_RevolutionDlg_moc.cxx \
134         SMESHGUI_RotationDlg_moc.cxx \
135         SMESHGUI_TranslationDlg_moc.cxx \
136         SMESHGUI_SymmetryDlg_moc.cxx \
137         SMESHGUI_SewingDlg_moc.cxx \
138         SMESHGUI_EditMeshDlg_moc.cxx \
139         SMESHGUI_CreatePolyhedralVolumeDlg_moc.cxx \
140         SMESHGUI_Operation_moc.cxx \
141         SMESHGUI_SelectionOp_moc.cxx \
142         SMESHGUI_Dialog_moc.cxx \
143         SMESHGUI_MeshDlg_moc.cxx \
144         SMESHGUI_MeshOp_moc.cxx \
145         SMESHGUI_Hypotheses_moc.cxx \
146         SMESHGUI_ShapeByMeshDlg_moc.cxx \
147         SMESHGUI_AddQuadraticElementDlg_moc.cxx \
148         SMESHGUI_ConvToQuadDlg_moc.cxx \
149         SMESHGUI_ConvToQuadOp_moc.cxx \
150         SMESHGUI_BuildCompoundDlg_moc.cxx \
151         SMESHGUI_ComputeDlg_moc.cxx \
152         SMESHGUI_MakeNodeAtPointDlg_moc.cxx
153
154 nodist_libSMESH_la_SOURCES= \
155         $(MOC_FILES)
156
157 # additionnal information to compil and link file
158 libSMESH_la_CPPFLAGS = \
159         $(QT_INCLUDES) \
160         $(VTK_INCLUDES) \
161         $(OGL_INCLUDES) \
162         $(CAS_CPPFLAGS) \
163         $(PYTHON_INCLUDES) \
164         $(KERNEL_CXXFLAGS)  \
165         $(GUI_CXXFLAGS) \
166         $(GEOM_CXXFLAGS) \
167         $(MED_CXXFLAGS) \
168         $(BOOST_CPPFLAGS) \
169         $(CORBA_CXXFLAGS) \
170         $(CORBA_INCLUDES) \
171         -I$(srcdir)/../OBJECT \
172         -I$(srcdir)/../SMESHFiltersSelection \
173         -I$(srcdir)/../SMDS \
174         -I$(srcdir)/../SMESH \
175         -I$(srcdir)/../SMESH_I \
176         -I$(srcdir)/../Controls \
177         -I$(srcdir)/../SMESHClient \
178         -I$(top_builddir)/idl \
179         -I$(top_builddir)/salome_adm/unix
180
181
182 libSMESH_la_LDFLAGS  = \
183         ../SMESHFiltersSelection/libSMESHFiltersSelection.la \
184         ../SMDS/libSMDS.la \
185         ../Controls/libSMESHControls.la \
186         ../OBJECT/libSMESHObject.la \
187         $(GEOM_LDFLAGS) \
188         -lGEOMBase
189
190 # resources files
191 nodist_salomeres_DATA= \
192         SMESH_images.qm \
193         SMESH_msg_en.qm