Salome HOME
Porting to Paraview 3.98.1
[modules/hexablock.git] / src / HEXABLOCKGUI / Makefile.am
1 # Copyright (C) 2009-2012  CEA/DEN, EDF R&D
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
21 include $(top_srcdir)/adm_local/unix/make_common_starter.am
22 # salomeresdir = $(prefix)/share/salome/resources/@MODULE_NAME@
23
24 SUBDIRS = MyDlgRef
25
26 # header files 
27 salomeinclude_HEADERS = \
28         HEXABLOCKGUI_Export.hxx \
29         HEXABLOCKGUI.hxx
30
31 # Libraries targets
32 lib_LTLIBRARIES = libHEXABLOCK.la
33
34 dist_libHEXABLOCK_la_SOURCES = \
35     Resource.hxx \
36     Resource.cxx \
37     HEXABLOCKGUI_Exception.hxx \
38     HEXABLOCKGUI_Exception.cxx \
39     HEXABLOCKGUI_Trace.hxx \
40     HEXABLOCKGUI_Trace.cxx \
41     HEXABLOCKGUI_Resource.hxx \
42     HEXABLOCKGUI_Resource.cxx \
43     HEXABLOCKGUI_VtkDocumentGraphicView.hxx \
44     HEXABLOCKGUI_VtkDocumentGraphicView.cxx \
45     HEXABLOCKGUI_OccGraphicView.hxx \
46     HEXABLOCKGUI_OccGraphicView.cxx \
47     HEXABLOCKGUI_GraphicViewsHandler.hxx \
48     HEXABLOCKGUI_GraphicViewsHandler.cxx \
49     HEXABLOCKGUI_DocumentModel.hxx \
50     HEXABLOCKGUI_DocumentModel.cxx \
51     HEXABLOCKGUI_DocumentSelectionModel.hxx \
52     HEXABLOCKGUI_DocumentSelectionModel.cxx \
53     HEXABLOCKGUI_DocumentItem.hxx \
54     HEXABLOCKGUI_DocumentItem.cxx \
55     HEXABLOCKGUI_DocumentDelegate.hxx \
56     HEXABLOCKGUI_DocumentDelegate.cxx \
57     HEXABLOCKGUI_DocumentPanel.hxx \
58     HEXABLOCKGUI_DocumentPanel.cxx \
59     HEXABLOCKGUI_SalomeTools.hxx \
60     HEXABLOCKGUI_SalomeTools.cxx \
61     HEXABLOCKGUI.hxx \
62     HEXABLOCKGUI.cxx \
63     kmodelindexproxymapper.hxx \
64     kmodelindexproxymapper.cxx \
65     klinkitemselectionmodel.hxx \
66     klinkitemselectionmodel.cxx \
67     MyGEOMBase_Helper.hxx \
68     MyGEOMBase_Helper.cxx \
69     MyGEOMBase_Skeleton.hxx \
70     MyGEOMBase_Skeleton.cxx \
71     MyBasicGUI_PointDlg.hxx \
72     MyBasicGUI_PointDlg.cxx
73
74
75 UIC_FILES = \
76         ui_Vertex_QTD.h \
77         ui_Edge_QTD.h \
78         ui_Quad_QTD.h \
79         ui_Hexa_QTD.h \
80         ui_Vector_QTD.h \
81         ui_Cylinder_QTD.h \
82         ui_Pipe_QTD.h \
83         ui_MakeGrid_QTD.h \
84         ui_MakeCylinder_QTD.h \
85         ui_MakePipe_QTD.h \
86         ui_MakeCylinders_QTD.h \
87         ui_MakePipes_QTD.h \
88         ui_RemoveHexa_QTD.h \
89         ui_PrismQuad_QTD.h \
90         ui_JoinQuad_QTD.h \
91         ui_Merge_QTD.h \
92         ui_Disconnect_QTD.h \
93         ui_CutEdge_QTD.h \
94         ui_Transformation_QTD.h \
95         ui_Symmetry_QTD.h \
96         ui_Group_QTD.h \
97         ui_Law_QTD.h \
98         ui_Propagation_QTD.h \
99         ui_QuadAssoc_QTD.h \
100         ui_EdgeAssoc_QTD.h \
101         ui_QuadRevolution_QTD.h \
102         ui_MakeRind_QTD.h \
103         ui_ReplaceHexa_QTD.h \
104         ui_MakeHemiSphere_QTD.h\
105         ui_ModelInfo_QTD.h\
106         ui_AddShapeDialog_QTD.h
107
108
109 # MOC pre-processing
110 MOC_FILES = \
111     HEXABLOCKGUI_moc.cxx \
112     HEXABLOCKGUI_VtkDocumentGraphicView_moc.cxx \
113     HEXABLOCKGUI_DocumentPanel_moc.cxx \
114     HEXABLOCKGUI_DocumentDelegate_moc.cxx \
115     HEXABLOCKGUI_DocumentSelectionModel_moc.cxx \
116     HEXABLOCKGUI_DocumentModel_moc.cxx \
117     kmodelindexproxymapper_moc.cxx \
118     klinkitemselectionmodel_moc.cxx \
119     MyBasicGUI_PointDlg_moc.cxx \
120     MyGEOMBase_Skeleton_moc.cxx
121
122 nodist_libHEXABLOCK_la_SOURCES = $(MOC_FILES) \
123                         $(UIC_FILES)
124
125 libHEXABLOCK_la_CXXFLAGS = \
126         $(THREAD_DEF) \
127         $(PYTHON_CPPFLAGS) \
128         $(OMNIORB_CXXFLAGS) \
129         $(OMNIORB_INCLUDES) \
130         $(LIBXML_INCLUDES) \
131         $(BOOST_CPPFLAGS) \
132         $(CAS_CPPFLAGS) \
133         $(VTK_INCLUDES) \
134         $(KERNEL_CXXFLAGS) \
135         $(GUI_CXXFLAGS) \
136         $(GEOM_CXXFLAGS) \
137         -I$(srcdir)/../HEXABLOCK \
138         -I$(srcdir)/../HEXABLOCK_I \
139         -I$(top_builddir) \
140         -I../../idl \
141         $(qt4_cppflags) \
142         $(qsci4_cppflags) \
143         -I$(srcdir)/../HEXABLOCKGUI/MyDlgRef \
144         -I$(top_builddir)/src/HEXABLOCKGUI/MyDlgRef
145
146
147
148 libHEXABLOCK_la_LDFLAGS  = \
149         ./MyDlgRef/libMyDlgRef.la \
150         ../../idl/libSalomeIDLHEXABLOCK.la \
151         ../HEXABLOCK_I/libHEXABLOCKEngine.la \
152         ../HEXABLOCK/libHEXABLOCKimpl.la \
153          -L$(GUI_ROOT_DIR)/lib/salome -lEvent -L$(KERNEL_ROOT_DIR)/lib/salome \
154          $(qt4_ldflags) $(qsci4_ldflags) \
155         $(KERNEL_LDFLAGS) -lSalomeLifeCycleCORBA \
156         $(GUI_LDFLAGS) \
157         $(GEOM_LDFLAGS) -lSalomeIDLGEOM -lGEOMBase -lBasicGUI \
158         -lSalomeApp
159
160
161 libHEXABLOCK_la_LIBADD  = \
162         $(qt4_libs) $(qsci4_libs) \
163         -lSalomeApp
164
165 BUILT_SOURCES = $(UIC_FILES)
166
167 # resources files
168 ICONS =  \
169         resources/LightApp.xml \
170         resources/SalomeApp.xml \
171         resources/HEXABLOCKCatalog.xml \
172         resources/ModuleHexablock.png \
173         resources/ModuleHexablock15x15.png\
174         resources/new_document.png \
175         resources/load_document.png \
176         resources/save_document.png \
177         resources/add_vertex.png \
178         resources/add_edge.png \
179         resources/add_quad.png \
180         resources/add_hexa.png \
181         resources/add_vector.png \
182         resources/add_cylinder.png \
183         resources/add_pipe.png \
184         resources/make_grid.png \
185         resources/make_cylinder.png \
186         resources/make_pipe.png \
187         resources/make_cylinders.png \
188         resources/make_pipes.png \
189         resources/remove_hexa.png \
190         resources/prism_quad.png \
191         resources/join_quad.png \
192         resources/merge.png \
193         resources/disconnect.png \
194         resources/cut_edge.png \
195         resources/make_transformation.png \
196         resources/make_symmetry.png \
197         resources/perform_transformation.png \
198         resources/perform_symmetry.png \
199         resources/assoc_vertex.png \
200         resources/assoc_edge.png \
201         resources/assoc_quad.png \
202         resources/add_group.png \
203         resources/remove_group.png \
204         resources/add_law.png \
205         resources/remove_law.png \
206         resources/set_propagation.png \
207         resources/compute_mesh.png \
208         resources/point2.png \
209         resources/pointonedge.png \
210         resources/select1.png \
211         resources/point3.png \
212         resources/point_line_intersection.png  \
213         resources/pointonface.png \
214         resources/line.png \
215         resources/build_wire.png \
216         resources/quad_revolution.png \
217         resources/replace_hexa.png \
218         resources/make_hemisphere.png
219
220 QMFILES = \
221         HEXABLOCK_msg_en.qm \
222         HEXABLOCK_msg_fr.qm \
223         HEXABLOCK_icons.qm
224
225 dist_salomeres_DATA = ${ICONS}
226
227 nodist_salomeres_DATA = $(QMFILES)