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