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
24 # Author : Vladimir Klyachin (OCN)
27 include $(top_srcdir)/adm_local/unix/make_common_starter.am
29 EXTRA_DIST += textures
31 lib_LTLIBRARIES = libVTKViewer.la
33 salomeinclude_HEADERS = \
35 VTKViewer_CellLocationsArray.h \
37 VTKViewer_FramedTextActor.h \
38 VTKViewer_ExtractUnstructuredGrid.h \
39 VTKViewer_ConvexTool.h \
41 VTKViewer_GeometryFilter.h \
42 VTKViewer_AppendFilter.h \
43 VTKViewer_Algorithm.h \
44 VTKViewer_InteractorStyle.h \
45 VTKViewer_RenderWindow.h \
46 VTKViewer_RenderWindowInteractor.h \
47 VTKViewer_ShrinkFilter.h \
48 VTKViewer_TransformFilter.h \
49 VTKViewer_Transform.h \
50 VTKViewer_Trihedron.h \
51 VTKViewer_Utilities.h \
52 VTKViewer_ViewManager.h \
53 VTKViewer_ViewModel.h \
54 VTKViewer_ViewWindow.h \
56 VTKViewer_ArcBuilder.h \
57 VTKViewer_MarkerDef.h \
58 VTKViewer_MarkerUtils.h \
59 VTKViewer_MarkerWidget.h \
60 VTKViewer_MarkerDlg.h \
61 VTKViewer_PolyDataMapper.h \
62 VTKViewer_DataSetMapper.h \
64 VTKViewer_OpenGLRenderer.h \
65 VTKViewer_CellCenters.h
67 dist_libVTKViewer_la_SOURCES = \
68 VTKViewer_CellLocationsArray.cxx \
70 VTKViewer_FramedTextActor.cxx \
71 VTKViewer_ExtractUnstructuredGrid.cxx \
72 VTKViewer_Filter.cxx \
73 VTKViewer_GeometryFilter.cxx \
74 VTKViewer_AppendFilter.cxx \
75 VTKViewer_Algorithm.cxx \
76 VTKViewer_InteractorStyle.cxx \
77 VTKViewer_RenderWindow.cxx \
78 VTKViewer_RenderWindowInteractor.cxx \
79 VTKViewer_ShrinkFilter.cxx \
80 VTKViewer_Transform.cxx \
81 VTKViewer_TransformFilter.cxx \
82 VTKViewer_Trihedron.cxx \
83 VTKViewer_Utilities.cxx \
84 VTKViewer_ViewManager.cxx \
85 VTKViewer_ViewModel.cxx \
86 VTKViewer_ConvexTool.cxx \
87 VTKViewer_ViewWindow.cxx \
88 VTKViewer_ArcBuilder.cxx \
89 VTKViewer_MarkerUtils.cxx \
90 VTKViewer_MarkerWidget.cxx \
91 VTKViewer_MarkerDlg.cxx \
92 VTKViewer_PolyDataMapper.cxx \
93 VTKViewer_DataSetMapper.cxx \
94 VTKViewer_Texture.cxx \
95 VTKViewer_OpenGLRenderer.cxx \
96 VTKViewer_CellCenters.cxx
99 VTKViewer_RenderWindow_moc.cxx \
100 VTKViewer_RenderWindowInteractor_moc.cxx \
101 VTKViewer_ViewManager_moc.cxx \
102 VTKViewer_ViewModel_moc.cxx \
103 VTKViewer_ViewWindow_moc.cxx \
104 VTKViewer_MarkerWidget_moc.cxx \
105 VTKViewer_MarkerDlg_moc.cxx
110 nodist_libVTKViewer_la_SOURCES = $(MOC_FILES) $(QRC_FILES)
112 dist_salomeres_DATA = \
113 resources/vtk_view_anticlockwise.png \
114 resources/vtk_view_clockwise.png \
115 resources/vtk_view_back.png \
116 resources/vtk_view_bottom.png \
117 resources/vtk_view_camera_dump.png \
118 resources/vtk_view_fitall.png \
119 resources/vtk_view_fitarea.png \
120 resources/vtk_view_front.png \
121 resources/vtk_view_glpan.png \
122 resources/vtk_view_left.png \
123 resources/vtk_view_pan.png \
124 resources/vtk_view_reset.png \
125 resources/vtk_view_right.png \
126 resources/vtk_view_rotate.png \
127 resources/vtk_view_top.png \
128 resources/vtk_view_triedre.png \
129 resources/vtk_view_zoom.png \
130 resources/marker_1.png \
131 resources/marker_2.png \
132 resources/marker_3.png \
133 resources/marker_4.png \
134 resources/marker_5.png \
135 resources/marker_6.png \
136 resources/marker_7.png \
137 resources/marker_8.png \
138 resources/marker_9.png
140 nodist_salomeres_DATA = \
141 VTKViewer_images.qm \
142 VTKViewer_msg_en.qm \
145 libVTKViewer_la_CPPFLAGS = $(QT_INCLUDES) $(VTK_INCLUDES) $(CAS_CPPFLAGS) \
146 -I$(srcdir)/../Qtx -I$(srcdir)/../SUIT \
147 -DvtkRenderingCore_AUTOINIT="3(vtkInteractionStyle,vtkRenderingOpenGL,vtkRenderingFreeTypeOpenGL)"
148 libVTKViewer_la_LDFLAGS = $(KERNEL_LDFLAGS) $(VTK_LIBS) $(QT_MT_LIBS) \
149 $(CAS_KERNEL) $(OGL_LIBS) ../Qtx/libqtx.la ../SUIT/libsuit.la
151 libVTKViewer_la_LIBADD = -lSALOMELocalTrace
155 bin_PROGRAMS = VTKViewer
157 dist_VTKViewer_SOURCES = VTKViewer.cxx
159 VTKViewer_CPPFLAGS = $(libVTKViewer_la_CPPFLAGS)
160 VTKViewer_LDFLAGS = $(libVTKViewer_la_LDFLAGS)
161 VTKViewer_LDADD = libVTKViewer.la $(libVTKViewer_la_LIBADD)