Salome HOME
e4c4a9a6564a6cd1751745ed3f3f973c711ba79f
[modules/gui.git] / src / SVTK / Makefile.am
1 # Copyright (C) 2007-2013  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
23 include $(top_srcdir)/adm_local/unix/make_common_starter.am
24
25 lib_LTLIBRARIES = libSVTK.la
26
27 salomeinclude_HEADERS= \
28         SVTK.h \
29         SVTK_Prs.h \
30         SVTK_Actor.h \
31         SALOME_Actor.h \
32         SVTK_RectPicker.h \
33         SVTK_DeviceActor.h \
34         SVTK_FontWidget.h \
35         SVTK_CubeAxesActor2D.h \
36         SVTK_Functor.h \
37         SVTK_View.h \
38         SVTK_ViewManager.h \
39         SVTK_ViewModel.h \
40         SVTK_ViewWindow.h \
41         SVTK_Renderer.h \
42         SVTK_InteractorStyle.h \
43         SVTK_KeyFreeInteractorStyle.h \
44         SVTK_RenderWindowInteractor.h \
45         SVTK_GenericRenderWindowInteractor.h \
46         SVTK_Selector.h \
47         SVTK_Selection.h \
48         SVTK_SelectionEvent.h \
49         SVTK_SpaceMouse.h \
50         SVTK_Event.h \
51         SVTK_ViewModelBase.h \
52         SVTK_SetRotationPointDlg.h \
53         SVTK_ViewParameterDlg.h \
54         SVTK_ComboAction.h \
55         SVTK_Recorder.h \
56         SVTK_RecorderDlg.h \
57         SVTK_ImageWriter.h \
58         SVTK_ImageWriterMgr.h \
59         SVTK_Utils.h
60
61 dist_libSVTK_la_SOURCES= \
62         SVTK_Prs.cxx \
63         SVTK_Actor.cxx \
64         SALOME_Actor.cxx \
65         SVTK_RectPicker.cxx \
66         SVTK_DeviceActor.cxx \
67         SVTK_CubeAxesActor2D.cxx \
68         SVTK_NonIsometricDlg.cxx \
69         SVTK_UpdateRateDlg.cxx \
70         SVTK_CubeAxesDlg.cxx \
71         SVTK_FontWidget.cxx \
72         SVTK_Trihedron.cxx \
73         SVTK_View.cxx \
74         SVTK_ViewManager.cxx \
75         SVTK_ViewModel.cxx \
76         SVTK_Renderer.cxx \
77         SVTK_ViewWindow.cxx \
78         SVTK_InteractorStyle.cxx \
79         SVTK_KeyFreeInteractorStyle.cxx \
80         SVTK_RenderWindowInteractor.cxx \
81         SVTK_GenericRenderWindowInteractor.cxx \
82         SVTK_SpaceMouse.cxx \
83         SVTK_Selector.cxx \
84         SVTK_SetRotationPointDlg.cxx \
85         SVTK_ViewParameterDlg.cxx \
86         SVTK_ComboAction.cxx \
87         SVTK_Recorder.cxx \
88         SVTK_RecorderDlg.cxx \
89         SVTK_ImageWriter.cxx \
90         SVTK_ImageWriterMgr.cxx \
91         SVTK_Utils.cxx \
92         vtkPVAxesActor.h \
93         vtkPVAxesActor.cxx \
94         vtkPVAxesWidget.h \
95         vtkPVAxesWidget.cxx
96
97
98 # internal headers
99 EXTRA_DIST += SVTK_SelectorDef.h SVTK_Trihedron.h
100
101 MOC_FILES= \
102         SVTK_GenericRenderWindowInteractor_moc.cxx \
103         SVTK_RenderWindowInteractor_moc.cxx \
104         SVTK_NonIsometricDlg_moc.cxx \
105         SVTK_UpdateRateDlg_moc.cxx \
106         SVTK_CubeAxesDlg_moc.cxx \
107         SVTK_FontWidget_moc.cxx \
108         SVTK_ViewModelBase_moc.cxx \
109         SVTK_ViewManager_moc.cxx \
110         SVTK_ViewWindow_moc.cxx \
111         SVTK_ViewModel_moc.cxx \
112         SVTK_View_moc.cxx \
113         SVTK_SetRotationPointDlg_moc.cxx \
114         SVTK_ViewParameterDlg_moc.cxx \
115         SVTK_ComboAction_moc.cxx \
116         SVTK_RecorderDlg_moc.cxx
117 nodist_libSVTK_la_SOURCES= $(MOC_FILES)
118
119 dist_salomeres_DATA=\
120         resources/vtk_view_graduated_axes.png \
121         resources/vtk_view_scaling.png \
122         resources/vtk_view_update_rate.png \
123         resources/vtk_view_rotation_point.png \
124         resources/vtk_view_parallel.png \
125         resources/vtk_view_perspective.png \
126         resources/vtk_view_parameters.png \
127         resources/vtk_view_style_switch.png \
128         resources/vtk_view_zooming_style_switch.png \
129         resources/vtk_view_recording_start.png \
130         resources/vtk_view_recording_play.png \
131         resources/vtk_view_recording_pause.png \
132         resources/vtk_view_recording_stop.png \
133         resources/vtk_view_highlight.png
134
135 nodist_salomeres_DATA = \
136         SVTK_msg_en.qm  \
137         SVTK_msg_fr.qm  \
138         SVTK_images.qm
139
140 libSVTK_la_CPPFLAGS =           \
141         $(QT_INCLUDES)          \
142         $(CAS_CPPFLAGS)         \
143         $(VTK_INCLUDES)         \
144         $(BOOST_CPPFLAGS)       \
145         -I$(srcdir)/../Qtx      \
146         -I$(srcdir)/../SUIT     \
147         -I$(srcdir)/../ViewerTools \
148         -I$(srcdir)/../OBJECT   \
149         -I$(srcdir)/../Prs      \
150         -I$(srcdir)/../VTKViewer \
151         -I$(srcdir)/../OpenGLUtils \
152         -DvtkRenderingCore_AUTOINIT="3(vtkInteractionStyle,vtkRenderingOpenGL,vtkRenderingFreeTypeOpenGL)"
153
154 libSVTK_la_LDFLAGS =                    \
155         $(VTK_LIBS) $(OGL_LIBS)         \
156         $(QT_MT_LIBS)                   \
157         $(CAS_KERNEL) $(CAS_VIEWER)     \
158         $(KERNEL_LDFLAGS)
159
160
161 libSVTK_la_LIBADD = ../Qtx/libqtx.la ../SUIT/libsuit.la ../ViewerTools/libViewerTools.la \
162                     ../OBJECT/libSalomeObject.la ../Prs/libSalomePrs.la \
163                     ../VTKViewer/libVTKViewer.la ../OpenGLUtils/libOpenGLUtils.la \
164                     -lSALOMELocalTrace -lOpUtil
165
166 # Executable
167 bin_PROGRAMS = SVTK
168
169 dist_SVTK_SOURCES = SVTK.cxx
170
171 SVTK_CPPFLAGS = $(libSVTK_la_CPPFLAGS)
172 SVTK_LDFLAGS  = $(libSVTK_la_LDFLAGS)
173 SVTK_LDADD    = libSVTK.la $(libSVTK_la_LIBADD)