1 # Copyright (C) 2007-2012 CEA/DEN, EDF R&D, OPEN CASCADE
3 # Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 # CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
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.
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.
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
20 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
23 include $(top_srcdir)/adm_local/unix/make_common_starter.am
25 lib_LTLIBRARIES = libSVTK.la
27 salomeinclude_HEADERS= \
35 SVTK_CubeAxesActor2D.h \
42 SVTK_InteractorStyle.h \
43 SVTK_KeyFreeInteractorStyle.h \
44 SVTK_RenderWindowInteractor.h \
45 SVTK_GenericRenderWindowInteractor.h \
48 SVTK_SelectionEvent.h \
51 SVTK_ViewModelBase.h \
52 SVTK_SetRotationPointDlg.h \
53 SVTK_ViewParameterDlg.h \
58 SVTK_ImageWriterMgr.h \
61 dist_libSVTK_la_SOURCES= \
66 SVTK_DeviceActor.cxx \
67 SVTK_CubeAxesActor2D.cxx \
68 SVTK_NonIsometricDlg.cxx \
69 SVTK_UpdateRateDlg.cxx \
70 SVTK_CubeAxesDlg.cxx \
74 SVTK_ViewManager.cxx \
78 SVTK_InteractorStyle.cxx \
79 SVTK_KeyFreeInteractorStyle.cxx \
80 SVTK_RenderWindowInteractor.cxx \
81 SVTK_GenericRenderWindowInteractor.cxx \
84 SVTK_SetRotationPointDlg.cxx \
85 SVTK_ViewParameterDlg.cxx \
86 SVTK_ComboAction.cxx \
88 SVTK_RecorderDlg.cxx \
89 SVTK_ImageWriter.cxx \
90 SVTK_ImageWriterMgr.cxx \
99 EXTRA_DIST += SVTK_SelectorDef.h SVTK_Trihedron.h
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 \
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)
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
135 nodist_salomeres_DATA = \
140 libSVTK_la_CPPFLAGS = \
146 -I$(srcdir)/../SUIT \
147 -I$(srcdir)/../ViewerTools \
148 -I$(srcdir)/../OBJECT \
150 -I$(srcdir)/../VTKViewer \
151 -I$(srcdir)/../OpenGLUtils \
152 -DvtkRenderingCore_AUTOINIT="3(vtkInteractionStyle,vtkRenderingOpenGL,vtkRenderingFreeTypeOpenGL)"
154 libSVTK_la_LDFLAGS = \
155 $(VTK_LIBS) $(OGL_LIBS) \
157 $(CAS_KERNEL) $(CAS_VIEWER) \
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
169 dist_SVTK_SOURCES = SVTK.cxx
171 SVTK_CPPFLAGS = $(libSVTK_la_CPPFLAGS)
172 SVTK_LDFLAGS = $(libSVTK_la_LDFLAGS)
173 SVTK_LDADD = libSVTK.la $(libSVTK_la_LIBADD)