Salome HOME
Merge from V6_main 13/12/2012
[modules/gui.git] / src / SUIT / 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 include $(top_srcdir)/adm_local/unix/make_common_starter.am
24
25 lib_LTLIBRARIES = libsuit.la
26
27 salomeinclude_HEADERS =                 \
28         SUIT.h                          \
29         SUIT_Accel.h                    \
30         SUIT_ActionOperation.h          \
31         SUIT_Application.h              \
32         SUIT_DataBrowser.h              \
33         SUIT_DataObject.h               \
34         SUIT_DataObjectIterator.h       \
35         SUIT_DataObjectKey.h            \
36         SUIT_DataOwner.h                \
37         SUIT_Desktop.h                  \
38         SUIT_ExceptionHandler.h         \
39         SUIT_FileDlg.h                  \
40         SUIT_FileValidator.h            \
41         SUIT_LicenseDlg.h               \
42         SUIT_MessageBox.h               \
43         SUIT_Operation.h                \
44         SUIT_OverrideCursor.h           \
45         SUIT_PopupClient.h              \
46         SUIT_PreferenceMgr.h            \
47         SUIT_ResourceMgr.h              \
48         SUIT_SelectionFilter.h          \
49         SUIT_SelectionMgr.h             \
50         SUIT_Selector.h                 \
51         SUIT_Session.h                  \
52         SUIT_SmartPtr.h                 \
53         SUIT_Study.h                    \
54         SUIT_Tools.h                    \
55         SUIT_TreeSync.h                 \
56         SUIT_TreeModel.h                \
57         SUIT_ViewManager.h              \
58         SUIT_ViewModel.h                \
59         SUIT_ViewWindow.h               \
60         SUIT_ShortcutMgr.h              \
61         SUIT_CameraProperties.h
62
63 dist_libsuit_la_SOURCES =               \
64         SUIT_Accel.cxx                  \
65         SUIT_ActionOperation.cxx        \
66         SUIT_Application.cxx            \
67         SUIT_DataBrowser.cxx            \
68         SUIT_DataObject.cxx             \
69         SUIT_DataObjectIterator.cxx     \
70         SUIT_DataObjectKey.cxx          \
71         SUIT_DataOwner.cxx              \
72         SUIT_Desktop.cxx                \
73         SUIT_ExceptionHandler.cxx       \
74         SUIT_FileDlg.cxx                \
75         SUIT_LicenseDlg.cxx             \
76         SUIT_FileValidator.cxx          \
77         SUIT_MessageBox.cxx             \
78         SUIT_Operation.cxx              \
79         SUIT_OverrideCursor.cxx         \
80         SUIT_PopupClient.cxx            \
81         SUIT_PreferenceMgr.cxx          \
82         SUIT_ResourceMgr.cxx            \
83         SUIT_SelectionFilter.cxx        \
84         SUIT_SelectionMgr.cxx           \
85         SUIT_Selector.cxx               \
86         SUIT_Session.cxx                \
87         SUIT_Study.cxx                  \
88         SUIT_Tools.cxx                  \
89         SUIT_TreeModel.cxx              \
90         SUIT_ViewManager.cxx            \
91         SUIT_ViewModel.cxx              \
92         SUIT_ViewWindow.cxx             \
93         SUIT_ShortcutMgr.cxx            \
94         SUIT_CameraProperties.cxx
95
96 MOC_FILES =                             \
97         SUIT_Accel_moc.cxx              \
98         SUIT_ActionOperation_moc.cxx    \
99         SUIT_Application_moc.cxx        \
100         SUIT_DataBrowser_moc.cxx        \
101         SUIT_DataObject_moc.cxx         \
102         SUIT_Desktop_moc.cxx            \
103         SUIT_LicenseDlg_moc.cxx         \
104         SUIT_FileDlg_moc.cxx            \
105         SUIT_Operation_moc.cxx          \
106         SUIT_PopupClient_moc.cxx        \
107         SUIT_PreferenceMgr_moc.cxx      \
108         SUIT_SelectionMgr_moc.cxx       \
109         SUIT_Selector_moc.cxx           \
110         SUIT_Session_moc.cxx            \
111         SUIT_Study_moc.cxx              \
112         SUIT_TreeModel_moc.cxx          \
113         SUIT_ViewManager_moc.cxx        \
114         SUIT_ViewModel_moc.cxx          \
115         SUIT_ViewWindow_moc.cxx         \
116         SUIT_ShortcutMgr_moc.cxx
117
118 nodist_libsuit_la_SOURCES = $(MOC_FILES)
119
120 nodist_salomeres_DATA =                 \
121         SUIT_msg_en.qm                  \
122         SUIT_msg_fr.qm                  \
123         SUIT_images.qm
124
125 dist_salomeres_DATA =                     \
126         resources/icon_visibility_on.png  \
127         resources/icon_visibility_off.png \
128         resources/view_sync.png
129
130 libsuit_la_CPPFLAGS = $(QT_INCLUDES) -I$(srcdir)/../Qtx -I$(srcdir)/../ObjBrowser
131
132 if ENABLE_TESTRECORDER
133   libsuit_la_CPPFLAGS+= -DENABLE_TESTRECORDER $(TESTRECORDER_INCLUDES)
134 endif
135
136 libsuit_la_LDFLAGS  = $(QT_MT_LIBS)
137
138 if ENABLE_TESTRECORDER
139   libsuit_la_LDFLAGS+= $(TESTRECORDER_LIBS)
140 endif
141
142 libsuit_la_LIBADD   = ../Qtx/libqtx.la ../ObjBrowser/libObjBrowser.la