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