Salome HOME
Merge from V6_main 01/04/2013
[modules/gui.git] / src / OCCViewer / 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 = libOCCViewer.la
26
27 salomeinclude_HEADERS =                         \
28         OCCViewer_AISSelector.h                 \
29         OCCViewer_ViewManager.h                 \
30         OCCViewer_ViewModel.h                   \
31         OCCViewer_ViewPort3d.h                  \
32         OCCViewer_ViewPort.h                    \
33         OCCViewer_ViewSketcher.h                \
34         OCCViewer_ViewWindow.h                  \
35         OCCViewer_VService.h                    \
36         OCCViewer_CreateRestoreViewDlg.h        \
37         OCCViewer.h                             \
38         OCCViewer_ClippingDlg.h                 \
39         OCCViewer_AxialScaleDlg.h               \
40         OCCViewer_SetRotationPointDlg.h         \
41         OCCViewer_Trihedron.h                   \
42         OCCViewer_FontWidget.h                  \
43         OCCViewer_CubeAxesDlg.h                 \
44         OCCViewer_ToolTip.h                     \
45         OCCViewer_ViewFrame.h
46
47 dist_libOCCViewer_la_SOURCES =                  \
48         OCCViewer_AISSelector.cxx               \
49         OCCViewer_ViewManager.cxx               \
50         OCCViewer_ViewModel.cxx                 \
51         OCCViewer_ViewPort3d.cxx                \
52         OCCViewer_ViewPort.cxx                  \
53         OCCViewer_ViewSketcher.cxx              \
54         OCCViewer_ViewWindow.cxx                \
55         OCCViewer_VService.cxx                  \
56         OCCViewer_CreateRestoreViewDlg.cxx      \
57         OCCViewer_SetRotationPointDlg.cxx       \
58         OCCViewer_ClippingDlg.cxx               \
59         OCCViewer_AxialScaleDlg.cxx             \
60         OCCViewer_Trihedron.cxx                 \
61         OCCViewer_FontWidget.cxx                \
62         OCCViewer_CubeAxesDlg.cxx               \
63         OCCViewer_ToolTip.cxx                   \
64         OCCViewer_ViewFrame.cxx
65
66 MOC_FILES =                                     \
67         OCCViewer_AISSelector_moc.cxx           \
68         OCCViewer_ViewModel_moc.cxx             \
69         OCCViewer_ViewPort3d_moc.cxx            \
70         OCCViewer_ViewPort_moc.cxx              \
71         OCCViewer_ViewSketcher_moc.cxx          \
72         OCCViewer_ViewWindow_moc.cxx            \
73         OCCViewer_ViewManager_moc.cxx           \
74         OCCViewer_CreateRestoreViewDlg_moc.cxx  \
75         OCCViewer_SetRotationPointDlg_moc.cxx   \
76         OCCViewer_ClippingDlg_moc.cxx           \
77         OCCViewer_AxialScaleDlg_moc.cxx         \
78         OCCViewer_FontWidget_moc.cxx            \
79         OCCViewer_CubeAxesDlg_moc.cxx           \
80         OCCViewer_ToolTip_moc.cxx               \
81         OCCViewer_ViewFrame_moc.cxx
82
83 nodist_libOCCViewer_la_SOURCES = $(MOC_FILES)
84
85 dist_salomeres_DATA =                           \
86         resources/occ_view_anticlockwise.png    \
87         resources/occ_view_clockwise.png        \
88         resources/occ_view_back.png             \
89         resources/occ_view_bottom.png           \
90         resources/occ_view_camera_dump.png      \
91         resources/occ_view_clone.png            \
92         resources/occ_view_clipping.png         \
93         resources/occ_view_clipping_pressed.png \
94         resources/occ_view_scaling.png          \
95         resources/occ_view_graduated_axes.png   \
96         resources/occ_view_ambient.png          \
97         resources/occ_view_fitall.png           \
98         resources/occ_view_fitarea.png          \
99         resources/occ_view_front.png            \
100         resources/occ_view_glpan.png            \
101         resources/occ_view_left.png             \
102         resources/occ_view_pan.png              \
103         resources/occ_view_presets.png          \
104         resources/occ_view_reset.png            \
105         resources/occ_view_right.png            \
106         resources/occ_view_rotate.png           \
107         resources/occ_view_shoot.png            \
108         resources/occ_view_top.png              \
109         resources/occ_view_triedre.png          \
110         resources/occ_view_zoom.png             \
111         resources/occ_view_rotation_point.png   \
112         resources/occ_view_style_switch.png     \
113         resources/occ_view_zooming_style_switch.png \
114         resources/occ_view_maximized.png        \
115         resources/occ_view_minimized.png
116
117 nodist_salomeres_DATA =         \
118         OCCViewer_images.qm     \
119         OCCViewer_msg_en.qm     \
120         OCCViewer_msg_fr.qm 
121
122 libOCCViewer_la_CPPFLAGS = $(QT_INCLUDES) $(OGL_INCLUDES) $(CAS_CPPFLAGS) @KERNEL_CXXFLAGS@ \
123         -I$(srcdir)/../SUIT -I$(srcdir)/../ViewerTools -I$(srcdir)/../Qtx \
124         -I$(srcdir)/../OpenGLUtils -I$(srcdir)/../CASCatch
125
126 libOCCViewer_la_LDFLAGS  = $(OGL_LIBS) $(QT_MT_LIBS) $(CAS_KERNEL) $(CAS_VIEWER)
127
128 libOCCViewer_la_LIBADD   = ../Qtx/libqtx.la ../SUIT/libsuit.la \
129         ../ViewerTools/libViewerTools.la ../OpenGLUtils/libOpenGLUtils.la