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