1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
2 #*************************************************************************
4 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
6 # Copyright 2000, 2011 Oracle and/or its affiliates.
8 # OpenOffice.org - a multi-platform office productivity suite
10 # This file is part of OpenOffice.org.
12 # OpenOffice.org is free software: you can redistribute it and/or modify
13 # it under the terms of the GNU Lesser General Public License version 3
14 # only, as published by the Free Software Foundation.
16 # OpenOffice.org is distributed in the hope that it will be useful,
17 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 # GNU Lesser General Public License version 3 for more details
20 # (a copy is included in the LICENSE file that accompanied this code).
22 # You should have received a copy of the GNU Lesser General Public License
23 # version 3 along with OpenOffice.org. If not, see
24 # <http://www.openoffice.org/license.html>
25 # for a copy of the LGPLv3 License.
27 #*************************************************************************
29 $(eval
$(call gb_Library_Library
,dbui
))
31 $(eval
$(call gb_Library_set_componentfile
,dbui
,dbaccess
/util
/dbu
))
33 $(eval
$(call gb_Library_set_include
,dbui
,\
34 -I
$(SRCDIR
)/dbaccess
/inc \
35 -I
$(SRCDIR
)/dbaccess
/source
/ui
/inc \
36 -I
$(SRCDIR
)/dbaccess
/source
/ui
/dlg \
37 -I
$(SRCDIR
)/dbaccess
/source
/inc \
41 $(eval
$(call gb_Library_add_api
,dbui
,\
46 ifeq ($(SYSTEM_ODBC_HEADERS
),TRUE
)
47 $(eval
$(call gb_Library_add_cflags
,dbui
,\
48 -DSYSTEM_ODBC_HEADERS \
52 ifeq ($(GUI
)$(COM
),WNTGCC
)
53 $(eval
$(call gb_Library_add_cflags
,dbui
,\
59 $(eval
$(call gb_Library_add_exception_objects
,dbui
,\
60 dbaccess
/source
/ui
/dlg
/adodatalinks \
64 $(eval
$(call gb_Library_add_defs
,dbui
,\
65 -DDBACCESS_DLLIMPLEMENTATION\
68 $(eval
$(call gb_Library_add_linked_libs
,dbui
,\
93 $(eval
$(call gb_Library_add_linked_libs
,dbui
,\
100 $(eval
$(call gb_Library_add_exception_objects
,dbui
,\
101 dbaccess
/source
/ui
/app
/AppDetailView \
102 dbaccess
/source
/ui
/app
/AppController \
103 dbaccess
/source
/ui
/app
/AppControllerDnD \
104 dbaccess
/source
/ui
/app
/AppControllerGen \
105 dbaccess
/source
/ui
/app
/AppDetailPageHelper \
106 dbaccess
/source
/ui
/app
/AppSwapWindow \
107 dbaccess
/source
/ui
/app
/AppTitleWindow \
108 dbaccess
/source
/ui
/app
/AppView \
109 dbaccess
/source
/ui
/app
/subcomponentmanager \
110 dbaccess
/source
/ui
/browser
/genericcontroller \
111 dbaccess
/source
/ui
/browser
/dsbrowserDnD \
112 dbaccess
/source
/ui
/browser
/dataview \
113 dbaccess
/source
/ui
/browser
/dbexchange \
114 dbaccess
/source
/ui
/browser
/dbloader \
115 dbaccess
/source
/ui
/browser
/sbagrid \
116 dbaccess
/source
/ui
/browser
/formadapter \
117 dbaccess
/source
/ui
/browser
/brwview \
118 dbaccess
/source
/ui
/browser
/brwctrlr \
119 dbaccess
/source
/ui
/browser
/unodatbr \
120 dbaccess
/source
/ui
/browser
/sbamultiplex \
121 dbaccess
/source
/ui
/browser
/exsrcbrw \
122 dbaccess
/source
/ui
/browser
/dbtreemodel \
123 dbaccess
/source
/ui
/browser
/dsEntriesNoExp \
124 dbaccess
/source
/ui
/browser
/dbtreeview \
125 dbaccess
/source
/ui
/control
/statusbarontroller \
126 dbaccess
/source
/ui
/control
/RelationControl \
127 dbaccess
/source
/ui
/control
/toolboxcontroller \
128 dbaccess
/source
/ui
/control
/tabletree \
129 dbaccess
/source
/ui
/control
/TableGrantCtrl \
130 dbaccess
/source
/ui
/control
/dbtreelistbox \
131 dbaccess
/source
/ui
/control
/sqledit \
132 dbaccess
/source
/ui
/control
/ColumnControlWindow \
133 dbaccess
/source
/ui
/control
/FieldDescControl \
134 dbaccess
/source
/ui
/control
/opendoccontrols \
135 dbaccess
/source
/ui
/dlg
/directsql \
136 dbaccess
/source
/ui
/dlg
/dbwiz \
137 dbaccess
/source
/ui
/dlg
/dbwizsetup \
138 dbaccess
/source
/ui
/dlg
/generalpage \
139 dbaccess
/source
/ui
/dlg
/indexfieldscontrol \
140 dbaccess
/source
/ui
/dlg
/indexdialog \
141 dbaccess
/source
/ui
/dlg
/RelationDlg \
142 dbaccess
/source
/ui
/dlg
/adtabdlg \
143 dbaccess
/source
/ui
/dlg
/dlgsave \
144 dbaccess
/source
/ui
/dlg
/admincontrols \
145 dbaccess
/source
/ui
/dlg
/adminpages \
146 dbaccess
/source
/ui
/dlg
/queryorder \
147 dbaccess
/source
/ui
/dlg
/queryfilter \
148 dbaccess
/source
/ui
/dlg
/paramdialog \
149 dbaccess
/source
/ui
/dlg
/dbadmin \
150 dbaccess
/source
/ui
/dlg
/detailpages \
151 dbaccess
/source
/ui
/dlg
/sqlmessage \
152 dbaccess
/source
/ui
/dlg
/finteraction \
153 dbaccess
/source
/ui
/dlg
/ConnectionPage \
154 dbaccess
/source
/ui
/dlg
/ConnectionHelper \
155 dbaccess
/source
/ui
/dlg
/TextConnectionHelper \
156 dbaccess
/source
/ui
/dlg
/ConnectionPageSetup \
157 dbaccess
/source
/ui
/dlg
/DBSetupConnectionPages \
158 dbaccess
/source
/ui
/dlg
/UserAdminDlg \
159 dbaccess
/source
/ui
/dlg
/UserAdmin \
160 dbaccess
/source
/ui
/dlg
/AdabasStat \
161 dbaccess
/source
/ui
/dlg
/tablespage \
162 dbaccess
/source
/ui
/dlg
/DbAdminImpl \
163 dbaccess
/source
/ui
/dlg
/TablesSingleDlg \
164 dbaccess
/source
/ui
/dlg
/CollectionView \
165 dbaccess
/source
/ui
/dlg
/dsselect \
166 dbaccess
/source
/ui
/dlg
/dbfindex \
167 dbaccess
/source
/ui
/dlg
/DriverSettings \
168 dbaccess
/source
/ui
/dlg
/odbcconfig \
169 dbaccess
/source
/ui
/dlg
/advancedsettings \
170 dbaccess
/source
/ui
/dlg
/textconnectionsettings \
171 dbaccess
/source
/ui
/misc
/asyncmodaldialog \
172 dbaccess
/source
/ui
/misc
/imageprovider \
173 dbaccess
/source
/ui
/misc
/singledoccontroller \
174 dbaccess
/source
/ui
/misc
/dbsubcomponentcontroller \
175 dbaccess
/source
/ui
/misc
/datasourceconnector \
176 dbaccess
/source
/ui
/misc
/linkeddocuments \
177 dbaccess
/source
/ui
/misc
/indexcollection \
178 dbaccess
/source
/ui
/misc
/UITools \
179 dbaccess
/source
/ui
/misc
/WCPage \
180 dbaccess
/source
/ui
/misc
/WCopyTable \
181 dbaccess
/source
/ui
/misc
/WTypeSelect \
182 dbaccess
/source
/ui
/misc
/TokenWriter \
183 dbaccess
/source
/ui
/misc
/HtmlReader \
184 dbaccess
/source
/ui
/misc
/RtfReader \
185 dbaccess
/source
/ui
/misc
/propertysetitem \
186 dbaccess
/source
/ui
/misc
/databaseobjectview \
187 dbaccess
/source
/ui
/misc
/DExport \
188 dbaccess
/source
/ui
/misc
/uiservices \
189 dbaccess
/source
/ui
/misc
/RowSetDrop \
190 dbaccess
/source
/ui
/misc
/TableCopyHelper \
191 dbaccess
/source
/ui
/misc
/moduledbu \
192 dbaccess
/source
/ui
/misc
/WColumnSelect \
193 dbaccess
/source
/ui
/misc
/WExtendPages \
194 dbaccess
/source
/ui
/misc
/WNameMatch \
195 dbaccess
/source
/ui
/misc
/ToolBoxHelper \
196 dbaccess
/source
/ui
/misc
/stringlistitem \
197 dbaccess
/source
/ui
/misc
/charsets \
198 dbaccess
/source
/ui
/misc
/defaultobjectnamecheck \
199 dbaccess
/source
/ui
/misc
/dsmeta \
200 dbaccess
/source
/ui
/misc
/controllerframe \
201 dbaccess
/source
/ui
/misc
/propertystorage \
202 dbaccess
/source
/ui
/misc
/dbaundomanager \
203 dbaccess
/source
/ui
/querydesign
/ConnectionLineAccess \
204 dbaccess
/source
/ui
/querydesign
/TableWindowAccess \
205 dbaccess
/source
/ui
/querydesign
/JAccess \
206 dbaccess
/source
/ui
/querydesign
/JoinDesignView \
207 dbaccess
/source
/ui
/querydesign
/JoinController \
208 dbaccess
/source
/ui
/querydesign
/QueryDesignView \
209 dbaccess
/source
/ui
/querydesign
/SelectionBrowseBox \
210 dbaccess
/source
/ui
/querydesign
/querydlg \
211 dbaccess
/source
/ui
/querydesign
/QueryTabWinUndoAct \
212 dbaccess
/source
/ui
/querydesign
/QueryMoveTabWinUndoAct \
213 dbaccess
/source
/ui
/querydesign
/QueryTabConnUndoAction \
214 dbaccess
/source
/ui
/querydesign
/TableFieldDescription \
215 dbaccess
/source
/ui
/querydesign
/JoinTableView \
216 dbaccess
/source
/ui
/querydesign
/QueryViewSwitch \
217 dbaccess
/source
/ui
/querydesign
/QueryTableView \
218 dbaccess
/source
/ui
/querydesign
/TableWindowData \
219 dbaccess
/source
/ui
/querydesign
/QTableWindow \
220 dbaccess
/source
/ui
/querydesign
/TableWindow \
221 dbaccess
/source
/ui
/querydesign
/JoinExchange \
222 dbaccess
/source
/ui
/querydesign
/TableWindowListBox \
223 dbaccess
/source
/ui
/querydesign
/TableWindowTitle \
224 dbaccess
/source
/ui
/querydesign
/QueryTextView \
225 dbaccess
/source
/ui
/querydesign
/QTableConnection \
226 dbaccess
/source
/ui
/querydesign
/querycontroller \
227 dbaccess
/source
/ui
/querydesign
/querycontainerwindow \
228 dbaccess
/source
/ui
/querydesign
/queryview \
229 dbaccess
/source
/ui
/querydesign
/TableConnection \
230 dbaccess
/source
/ui
/querydesign
/TableConnectionData \
231 dbaccess
/source
/ui
/relationdesign
/RTableConnection \
232 dbaccess
/source
/ui
/relationdesign
/RTableConnectionData \
233 dbaccess
/source
/ui
/relationdesign
/RelationTableView \
234 dbaccess
/source
/ui
/relationdesign
/RelationDesignView \
235 dbaccess
/source
/ui
/relationdesign
/RelationController \
236 dbaccess
/source
/ui
/tabledesign
/TableDesignControl \
237 dbaccess
/source
/ui
/tabledesign
/TableFieldDescWin \
238 dbaccess
/source
/ui
/tabledesign
/TableController \
239 dbaccess
/source
/ui
/tabledesign
/TableDesignView \
240 dbaccess
/source
/ui
/tabledesign
/TEditControl \
241 dbaccess
/source
/ui
/tabledesign
/TableFieldControl \
242 dbaccess
/source
/ui
/tabledesign
/TableDesignHelpBar \
243 dbaccess
/source
/ui
/tabledesign
/FieldDescGenWin \
244 dbaccess
/source
/ui
/tabledesign
/FieldDescriptions \
245 dbaccess
/source
/ui
/tabledesign
/TableRow \
246 dbaccess
/source
/ui
/tabledesign
/TableRowExchange \
247 dbaccess
/source
/ui
/tabledesign
/TableUndo \
248 dbaccess
/source
/ui
/uno
/composerdialogs \
249 dbaccess
/source
/ui
/uno
/unosqlmessage \
250 dbaccess
/source
/ui
/uno
/unoadmin \
251 dbaccess
/source
/ui
/uno
/admindlg \
252 dbaccess
/source
/ui
/uno
/TableFilterDlg \
253 dbaccess
/source
/ui
/uno
/AdvancedSettingsDlg \
254 dbaccess
/source
/ui
/uno
/unoDirectSql \
255 dbaccess
/source
/ui
/uno
/DBTypeWizDlg \
256 dbaccess
/source
/ui
/uno
/DBTypeWizDlgSetup \
257 dbaccess
/source
/ui
/uno
/UserSettingsDlg \
258 dbaccess
/source
/ui
/uno
/ColumnModel \
259 dbaccess
/source
/ui
/uno
/ColumnControl \
260 dbaccess
/source
/ui
/uno
/ColumnPeer \
261 dbaccess
/source
/ui
/uno
/dbinteraction \
262 dbaccess
/source
/ui
/uno
/textconnectionsettings_uno \
265 $(eval
$(call gb_Library_add_noexception_objects
,dbui
, \
266 dbaccess
/source
/ui
/control
/ScrollHelper \
267 dbaccess
/source
/ui
/control
/VertSplitView \
268 dbaccess
/source
/ui
/control
/SqlNameEdit \
269 dbaccess
/source
/ui
/control
/listviewitems \
270 dbaccess
/source
/ui
/control
/undosqledit \
271 dbaccess
/source
/ui
/control
/marktree \
272 dbaccess
/source
/ui
/control
/curledit \
273 dbaccess
/source
/ui
/control
/charsetlistbox \
274 dbaccess
/source
/ui
/app
/AppIconControl \
275 dbaccess
/source
/ui
/browser
/AsyncronousLink \
276 dbaccess
/source
/ui
/dlg
/dlgsize \
277 dbaccess
/source
/ui
/dlg
/dlgattr \
278 dbaccess
/source
/ui
/dlg
/optionalboolitem \
279 dbaccess
/source
/ui
/querydesign
/TableFieldInfo \
280 dbaccess
/source
/ui
/querydesign
/QTableConnectionData \
281 dbaccess
/source
/ui
/querydesign
/QTableWindowData \
282 dbaccess
/source
/ui
/querydesign
/ConnectionLine \
283 dbaccess
/source
/ui
/querydesign
/ConnectionLineData \
284 dbaccess
/source
/shared
/dbu_reghelper \
285 dbaccess
/source
/shared
/dbustrings \
288 # the following source file can't be compiled with optimization by some compilers (crash or endless loop):
289 # Solaris Sparc with Sun compiler, gcc on MacOSX and Linux PPC
290 # the latter is currently not supported by gbuild and needs a fix here later
291 ifeq ($(COM
),$(filter-out GCC
,$(COM
)))
292 $(eval
$(call gb_Library_add_exception_objects
,dbui
,\
293 dbaccess
/source
/ui
/uno
/copytablewizard \
296 $(eval
$(call gb_Library_add_cxxobjects
,dbui
,\
297 dbaccess
/source
/ui
/uno
/copytablewizard \
298 , $(gb_COMPILERNOOPTFLAGS
) $(gb_LinkTarget_EXCEPTIONFLAGS
) \
302 # vim: set noet sw=4 ts=4: