Salome HOME
Update copyright information
[modules/visu.git] / src / VISUGUI / Makefile.am
1 # Copyright (C) 2007-2012  CEA/DEN, EDF R&D, OPEN CASCADE
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 #  VISU VISUGUI : GUI of VISU component
21 #  File   : Makefile.am
22 #  Author : Marc Tajchman (CEA)
23 #  Module : VISU
24 #
25 include $(top_srcdir)/adm_local/unix/make_common_starter.am
26
27 lib_LTLIBRARIES= libVISU.la
28
29 # .po files to transform in .qm
30 nodist_salomeres_DATA= \
31         VISU_msg_en.qm VISU_msg_fr.qm VISU_images.qm
32
33 salomeinclude_HEADERS= \
34         VisuGUI_Tools.h \
35         VisuGUI_Prs3dTools.h \
36         VisuGUI_ActionsDef.h \
37         VisuGUI.h \
38         VisuGUI_Module.h \
39         VisuGUI_Selection.h \
40         VisuGUI_ViewTools.h \
41         VisuGUI_NameDlg.h \
42         VisuGUI_FileDlg.h \
43         VisuGUI_CursorDlg.h \
44         VisuGUI_TimeAnimation.h \
45         VisuGUI_EvolutionDlg.h \
46         VisuGUI_EditContainerDlg.h \
47         VisuGUI_ClippingDlg.h \
48         VisuGUI_DialogRunner.h \
49         VisuGUI_OffsetDlg.h \
50         VisuGUI_Prs3dDlg.h \
51         VisuGUI_ScalarBarDlg.h \
52         VisuGUI_Plot3DDlg.h \
53         VisuGUI_GaussPointsDlg.h \
54         VisuGUI_DeformedShapeDlg.h \
55         VisuGUI_IsoSurfacesDlg.h \
56         VisuGUI_CutLinesDlg.h \
57         VisuGUI_CutSegmentDlg.h \
58         VisuGUI_CutPlanesDlg.h \
59         VisuGUI_StreamLinesDlg.h \
60         VisuGUI_VectorsDlg.h \
61         VisuGUI_Displayer.h \
62         VisuGUI_DeformedShapeAndScalarMapDlg.h \
63         VisuGUI_SetupPlot2dDlg.h \
64         VisuGUI_BuildProgressDlg.h \
65         VisuGUI_TransparencyDlg.h \
66         VisuGUI_ShrinkFactorDlg.h \
67         VisuGUI_Timer.h \
68         VisuGUI_Slider.h \
69         VisuGUI_InputPane.h \
70         VisuGUI_FieldFilter.h \
71         VisuGUI_ValuesLabelingDlg.h \
72         VisuGUI_PrimitiveBox.h \
73         VisuGUI_SizeBox.h
74
75 dist_libVISU_la_SOURCES= \
76         VisuGUI.cxx \
77         VisuGUI_Factory.cxx \
78         VisuGUI_Module.cxx \
79         VisuGUI_InputPanel.cxx \
80         VisuGUI_BasePanel.cxx \
81         VisuGUI_Panel.cxx \
82         VisuGUI_SelectionPanel.cxx \
83         VisuGUI_SelectionPrefDlg.cxx \
84         VisuGUI_GaussPointsSelectionPane.cxx \
85         VisuGUI_FindPane.cxx \
86         VisuGUI_FeatureEdgesPanel.cxx \
87         VisuGUI_Tools.cxx \
88         VisuGUI_ViewTools.cxx \
89         VisuGUI_Selection.cxx \
90         VisuGUI_NameDlg.cxx \
91         VisuGUI_FileDlg.cxx \
92         VisuGUI_CursorDlg.cxx \
93         VisuGUI_TimeAnimation.cxx \
94         VisuGUI_EvolutionDlg.cxx \
95         VisuGUI_EditContainerDlg.cxx \
96         VisuGUI_ClippingDlg.cxx \
97         VisuGUI_DialogRunner.cxx \
98         VisuGUI_OffsetDlg.cxx \
99         VisuGUI_Prs3dDlg.cxx \
100         VisuGUI_ScalarBarDlg.cxx \
101         VisuGUI_Plot3DDlg.cxx \
102         VisuGUI_GaussPointsDlg.cxx \
103         VisuGUI_DeformedShapeDlg.cxx \
104         VisuGUI_IsoSurfacesDlg.cxx \
105         VisuGUI_CutLinesDlg.cxx \
106         VisuGUI_CutSegmentDlg.cxx \
107         VisuGUI_CutPlanesDlg.cxx \
108         VisuGUI_StreamLinesDlg.cxx \
109         VisuGUI_VectorsDlg.cxx \
110         VisuGUI_Displayer.cxx \
111         VisuGUI_DeformedShapeAndScalarMapDlg.cxx \
112         VisuGUI_SetupPlot2dDlg.cxx \
113         VisuGUI_BuildProgressDlg.cxx \
114         VisuGUI_Table3dDlg.cxx \
115         VisuGUI_TransparencyDlg.cxx \
116         VisuGUI_ShrinkFactorDlg.cxx \
117         VisuGUI_Timer.cxx \
118         VisuGUI_Slider.cxx \
119         VisuGUI_Sweep.cxx \
120         VisuGUI_InputPane.cxx \
121         VisuGUI_FileInfoDlg.cxx \
122         VisuGUI_FieldFilter.cxx \
123         VisuGUI_ClippingPanel.cxx \
124         VisuGUI_ClippingPlaneDlg.cxx \
125         VisuGUI_FilterScalarsDlg.cxx \
126         VisuGUI_ValuesLabelingDlg.cxx \
127         VisuGUI_PrimitiveBox.cxx \
128         VisuGUI_SizeBox.cxx
129
130 MOC_FILES= \
131         VisuGUI_moc.cxx \
132         VisuGUI_Module_moc.cxx \
133         VisuGUI_InputPanel_moc.cxx \
134         VisuGUI_BasePanel_moc.cxx \
135         VisuGUI_Panel_moc.cxx \
136         VisuGUI_SelectionPanel_moc.cxx \
137         VisuGUI_SelectionPrefDlg_moc.cxx \
138         VisuGUI_GaussPointsSelectionPane_moc.cxx \
139         VisuGUI_FindPane_moc.cxx \
140         VisuGUI_FeatureEdgesPanel_moc.cxx \
141         VisuGUI_NameDlg_moc.cxx \
142         VisuGUI_FileDlg_moc.cxx \
143         VisuGUI_CursorDlg_moc.cxx \
144         VisuGUI_TimeAnimation_moc.cxx \
145         VisuGUI_EvolutionDlg_moc.cxx \
146         VisuGUI_EditContainerDlg_moc.cxx \
147         VisuGUI_ClippingDlg_moc.cxx \
148         VisuGUI_DialogRunner_moc.cxx \
149         VisuGUI_OffsetDlg_moc.cxx \
150         VisuGUI_Prs3dDlg_moc.cxx \
151         VisuGUI_ScalarBarDlg_moc.cxx \
152         VisuGUI_Plot3DDlg_moc.cxx \
153         VisuGUI_GaussPointsDlg_moc.cxx \
154         VisuGUI_DeformedShapeDlg_moc.cxx \
155         VisuGUI_IsoSurfacesDlg_moc.cxx \
156         VisuGUI_CutLinesDlg_moc.cxx \
157         VisuGUI_CutSegmentDlg_moc.cxx \
158         VisuGUI_CutPlanesDlg_moc.cxx \
159         VisuGUI_StreamLinesDlg_moc.cxx \
160         VisuGUI_VectorsDlg_moc.cxx \
161         VisuGUI_DeformedShapeAndScalarMapDlg_moc.cxx \
162         VisuGUI_SetupPlot2dDlg_moc.cxx \
163         VisuGUI_BuildProgressDlg_moc.cxx \
164         VisuGUI_Table3dDlg_moc.cxx \
165         VisuGUI_TransparencyDlg_moc.cxx \
166         VisuGUI_ShrinkFactorDlg_moc.cxx \
167         VisuGUI_Slider_moc.cxx \
168         VisuGUI_Sweep_moc.cxx \
169         VisuGUI_InputPane_moc.cxx \
170         VisuGUI_FileInfoDlg_moc.cxx \
171         VisuGUI_ClippingPanel_moc.cxx \
172         VisuGUI_ClippingPlaneDlg_moc.cxx \
173         VisuGUI_FilterScalarsDlg_moc.cxx \
174         VisuGUI_ValuesLabelingDlg_moc.cxx \
175         VisuGUI_PrimitiveBox_moc.cxx \
176         VisuGUI_SizeBox_moc.cxx
177
178 nodist_libVISU_la_SOURCES=$(MOC_FILES)
179
180 # additionnal information to compil and link file
181 libVISU_la_CPPFLAGS= \
182         -ftemplate-depth-32 $(QT_INCLUDES) $(VTK_INCLUDES) @CAS_CXXFLAGS@ @CAS_CPPFLAGS@ \
183         $(PYTHON_INCLUDES) $(HDF5_INCLUDES) $(QWT_INCLUDES) \
184         $(KERNEL_CXXFLAGS) \
185         $(MED_CXXFLAGS) \
186         $(BOOST_CPPFLAGS) \
187         $(GUI_CXXFLAGS) \
188         $(CORBA_CXXFLAGS) $(CORBA_INCLUDES) \
189         -I$(srcdir)/../OBJECT -I$(srcdir)/../VISU_I \
190         -I$(top_builddir) -I$(top_builddir)/idl -I$(srcdir)/../CONVERTOR -I$(srcdir)/../PIPELINE
191
192 libVISU_la_LDFLAGS= \
193         $(QWT_LIBS) \
194         $(CAS_LDFLAGS) -lTKV3d \
195         $(KERNEL_LDFLAGS) -lSalomeNS -lSalomeDSClient \
196         $(GUI_LDFLAGS) -lSVTK -lSPlot2d -lSalomePrs -lOCCViewer -lViewerTools -lvtkTools \
197         ../OBJECT/libVisuObject.la ../VISU_I/libVISUEngineImpl.la \
198         ../../idl/libSalomeIDLVISU.la
199
200 if MED_ENABLE_MULTIPR
201   libVISU_la_CPPFLAGS+= $(MULTIPR_CPPFLAGS)
202 endif