Version 4.0.0.1, tag libreoffice-4.0.0.1
[LibreOffice.git] / dbaccess / Library_dbu.mk
blob9bfe58bb675849e1a0a0fb2abf55f6ba547da859
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
2 # Version: MPL 1.1 / GPLv3+ / LGPLv3+
4 # The contents of this file are subject to the Mozilla Public License Version
5 # 1.1 (the "License"); you may not use this file except in compliance with
6 # the License or as specified alternatively below. You may obtain a copy of
7 # the License at http://www.mozilla.org/MPL/
9 # Software distributed under the License is distributed on an "AS IS" basis,
10 # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11 # for the specific language governing rights and limitations under the
12 # License.
14 # Major Contributor(s):
15 # Copyright (C) 2010 Red Hat, Inc., David Tardon <dtardon@redhat.com>
16 # (initial developer)
18 # All Rights Reserved.
20 # For minor contributions see the git repository.
22 # Alternatively, the contents of this file may be used under the terms of
23 # either the GNU General Public License Version 3 or later (the "GPLv3+"), or
24 # the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
25 # in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
26 # instead of those above.
28 $(eval $(call gb_Library_Library,dbu))
30 $(eval $(call gb_Library_set_include,dbu,\
31 $$(INCLUDE) \
32 -I$(SRCDIR)/dbaccess/inc \
33 -I$(SRCDIR)/dbaccess/source/inc \
34 -I$(SRCDIR)/dbaccess/source/ui/inc \
35 -I$(call gb_SrsTemplateTarget_get_include_dir,dbaccess) \
38 $(eval $(call gb_Library_use_sdk_api,dbu))
40 $(eval $(call gb_Library_add_defs,dbu,\
41 -DDBACCESS_DLLIMPLEMENTATION \
44 ifeq ($(GUI)$(COM),WNTGCC) # for adoint.h
45 $(eval $(call gb_Library_add_cxxflags,dbu,\
46 -fpermissive \
48 endif
50 $(eval $(call gb_Library_use_external,dbu,odbc_headers))
52 $(eval $(call gb_Library_use_libraries,dbu,\
53 comphelper \
54 cppu \
55 cppuhelper \
56 dba \
57 dbtools \
58 editeng \
59 fwe \
60 sal \
61 salhelper \
62 i18nisolang1 \
63 sfx \
64 sot \
65 svl \
66 svt \
67 svxcore \
68 svx \
69 tk \
70 tl \
71 ucbhelper \
72 utl \
73 vcl \
74 $(gb_UWINAPI) \
77 ifeq ($(GUI),WNT)
78 $(eval $(call gb_Library_use_system_win32_libs,dbu,\
79 ole32 \
80 oleaut32 \
81 uuid \
83 endif
85 $(eval $(call gb_Library_set_componentfile,dbu,dbaccess/util/dbu))
87 $(eval $(call gb_Library_add_exception_objects,dbu,\
88 dbaccess/source/shared/dbu_reghelper \
89 dbaccess/source/shared/dbustrings \
90 dbaccess/source/ui/app/AppController \
91 dbaccess/source/ui/app/AppControllerDnD \
92 dbaccess/source/ui/app/AppControllerGen \
93 dbaccess/source/ui/app/AppDetailPageHelper \
94 dbaccess/source/ui/app/AppDetailView \
95 dbaccess/source/ui/app/AppIconControl \
96 dbaccess/source/ui/app/AppSwapWindow \
97 dbaccess/source/ui/app/AppTitleWindow \
98 dbaccess/source/ui/app/AppView \
99 dbaccess/source/ui/app/subcomponentmanager \
100 dbaccess/source/ui/browser/AsyncronousLink \
101 dbaccess/source/ui/browser/brwctrlr \
102 dbaccess/source/ui/browser/brwview \
103 dbaccess/source/ui/browser/dataview \
104 dbaccess/source/ui/browser/dbexchange \
105 dbaccess/source/ui/browser/dbloader \
106 dbaccess/source/ui/browser/dbtreemodel \
107 dbaccess/source/ui/browser/dbtreeview \
108 dbaccess/source/ui/browser/dsbrowserDnD \
109 dbaccess/source/ui/browser/dsEntriesNoExp \
110 dbaccess/source/ui/browser/exsrcbrw \
111 dbaccess/source/ui/browser/formadapter \
112 dbaccess/source/ui/browser/genericcontroller \
113 dbaccess/source/ui/browser/sbagrid \
114 dbaccess/source/ui/browser/sbamultiplex \
115 dbaccess/source/ui/browser/unodatbr \
116 dbaccess/source/ui/control/charsetlistbox \
117 dbaccess/source/ui/control/ColumnControlWindow \
118 dbaccess/source/ui/control/curledit \
119 dbaccess/source/ui/control/dbtreelistbox \
120 dbaccess/source/ui/control/FieldDescControl \
121 dbaccess/source/ui/control/listviewitems \
122 dbaccess/source/ui/control/marktree \
123 dbaccess/source/ui/control/opendoccontrols \
124 dbaccess/source/ui/control/RelationControl \
125 dbaccess/source/ui/control/ScrollHelper \
126 dbaccess/source/ui/control/sqledit \
127 dbaccess/source/ui/control/SqlNameEdit \
128 dbaccess/source/ui/control/statusbarontroller \
129 dbaccess/source/ui/control/TableGrantCtrl \
130 dbaccess/source/ui/control/tabletree \
131 dbaccess/source/ui/control/toolboxcontroller \
132 dbaccess/source/ui/control/undosqledit \
133 dbaccess/source/ui/control/VertSplitView \
134 dbaccess/source/ui/dlg/admincontrols \
135 dbaccess/source/ui/dlg/adminpages \
136 dbaccess/source/ui/dlg/adtabdlg \
137 dbaccess/source/ui/dlg/advancedsettings \
138 dbaccess/source/ui/dlg/CollectionView \
139 dbaccess/source/ui/dlg/ConnectionHelper \
140 dbaccess/source/ui/dlg/ConnectionPage \
141 dbaccess/source/ui/dlg/ConnectionPageSetup \
142 dbaccess/source/ui/dlg/dbadmin \
143 dbaccess/source/ui/dlg/DbAdminImpl \
144 dbaccess/source/ui/dlg/dbfindex \
145 dbaccess/source/ui/dlg/DBSetupConnectionPages \
146 dbaccess/source/ui/dlg/dbwiz \
147 dbaccess/source/ui/dlg/dbwizsetup \
148 dbaccess/source/ui/dlg/detailpages \
149 dbaccess/source/ui/dlg/directsql \
150 dbaccess/source/ui/dlg/dlgattr \
151 dbaccess/source/ui/dlg/dlgsave \
152 dbaccess/source/ui/dlg/dlgsize \
153 dbaccess/source/ui/dlg/DriverSettings \
154 dbaccess/source/ui/dlg/dsselect \
155 dbaccess/source/ui/dlg/finteraction \
156 dbaccess/source/ui/dlg/generalpage \
157 dbaccess/source/ui/dlg/indexdialog \
158 dbaccess/source/ui/dlg/indexfieldscontrol \
159 dbaccess/source/ui/dlg/odbcconfig \
160 dbaccess/source/ui/dlg/optionalboolitem \
161 dbaccess/source/ui/dlg/paramdialog \
162 dbaccess/source/ui/dlg/queryfilter \
163 dbaccess/source/ui/dlg/queryorder \
164 dbaccess/source/ui/dlg/RelationDlg \
165 dbaccess/source/ui/dlg/sqlmessage \
166 dbaccess/source/ui/dlg/tablespage \
167 dbaccess/source/ui/dlg/TablesSingleDlg \
168 dbaccess/source/ui/dlg/TextConnectionHelper \
169 dbaccess/source/ui/dlg/textconnectionsettings \
170 dbaccess/source/ui/dlg/UserAdmin \
171 dbaccess/source/ui/dlg/UserAdminDlg \
172 dbaccess/source/ui/misc/asyncmodaldialog \
173 dbaccess/source/ui/misc/charsets \
174 dbaccess/source/ui/misc/controllerframe \
175 dbaccess/source/ui/misc/databaseobjectview \
176 dbaccess/source/ui/misc/datasourceconnector \
177 dbaccess/source/ui/misc/dbaundomanager \
178 dbaccess/source/ui/misc/dbsubcomponentcontroller \
179 dbaccess/source/ui/misc/defaultobjectnamecheck \
180 dbaccess/source/ui/misc/DExport \
181 dbaccess/source/ui/misc/dsmeta \
182 dbaccess/source/ui/misc/HtmlReader \
183 dbaccess/source/ui/misc/imageprovider \
184 dbaccess/source/ui/misc/indexcollection \
185 dbaccess/source/ui/misc/linkeddocuments \
186 dbaccess/source/ui/misc/moduledbu \
187 dbaccess/source/ui/misc/propertysetitem \
188 dbaccess/source/ui/misc/propertystorage \
189 dbaccess/source/ui/misc/RowSetDrop \
190 dbaccess/source/ui/misc/RtfReader \
191 dbaccess/source/ui/misc/singledoccontroller \
192 dbaccess/source/ui/misc/stringlistitem \
193 dbaccess/source/ui/misc/TableCopyHelper \
194 dbaccess/source/ui/misc/TokenWriter \
195 dbaccess/source/ui/misc/ToolBoxHelper \
196 dbaccess/source/ui/misc/uiservices \
197 dbaccess/source/ui/misc/UITools \
198 dbaccess/source/ui/misc/WColumnSelect \
199 dbaccess/source/ui/misc/WCopyTable \
200 dbaccess/source/ui/misc/WCPage \
201 dbaccess/source/ui/misc/WExtendPages \
202 dbaccess/source/ui/misc/WNameMatch \
203 dbaccess/source/ui/misc/WTypeSelect \
204 dbaccess/source/ui/querydesign/ConnectionLine \
205 dbaccess/source/ui/querydesign/ConnectionLineAccess \
206 dbaccess/source/ui/querydesign/ConnectionLineData \
207 dbaccess/source/ui/querydesign/JAccess \
208 dbaccess/source/ui/querydesign/JoinController \
209 dbaccess/source/ui/querydesign/JoinDesignView \
210 dbaccess/source/ui/querydesign/JoinExchange \
211 dbaccess/source/ui/querydesign/JoinTableView \
212 dbaccess/source/ui/querydesign/QTableConnection \
213 dbaccess/source/ui/querydesign/QTableConnectionData \
214 dbaccess/source/ui/querydesign/QTableWindow \
215 dbaccess/source/ui/querydesign/QTableWindowData \
216 dbaccess/source/ui/querydesign/querycontainerwindow \
217 dbaccess/source/ui/querydesign/querycontroller \
218 dbaccess/source/ui/querydesign/QueryDesignView \
219 dbaccess/source/ui/querydesign/querydlg \
220 dbaccess/source/ui/querydesign/QueryMoveTabWinUndoAct \
221 dbaccess/source/ui/querydesign/QueryTabConnUndoAction \
222 dbaccess/source/ui/querydesign/QueryTableView \
223 dbaccess/source/ui/querydesign/QueryTabWinUndoAct \
224 dbaccess/source/ui/querydesign/QueryTextView \
225 dbaccess/source/ui/querydesign/queryview \
226 dbaccess/source/ui/querydesign/QueryViewSwitch \
227 dbaccess/source/ui/querydesign/SelectionBrowseBox \
228 dbaccess/source/ui/querydesign/TableConnection \
229 dbaccess/source/ui/querydesign/TableConnectionData \
230 dbaccess/source/ui/querydesign/TableFieldDescription \
231 dbaccess/source/ui/querydesign/TableFieldInfo \
232 dbaccess/source/ui/querydesign/TableWindow \
233 dbaccess/source/ui/querydesign/TableWindowAccess \
234 dbaccess/source/ui/querydesign/TableWindowData \
235 dbaccess/source/ui/querydesign/TableWindowListBox \
236 dbaccess/source/ui/querydesign/TableWindowTitle \
237 dbaccess/source/ui/relationdesign/RelationController \
238 dbaccess/source/ui/relationdesign/RelationDesignView \
239 dbaccess/source/ui/relationdesign/RelationTableView \
240 dbaccess/source/ui/relationdesign/RTableConnection \
241 dbaccess/source/ui/relationdesign/RTableConnectionData \
242 dbaccess/source/ui/tabledesign/FieldDescGenWin \
243 dbaccess/source/ui/tabledesign/FieldDescriptions \
244 dbaccess/source/ui/tabledesign/TableController \
245 dbaccess/source/ui/tabledesign/TableDesignControl \
246 dbaccess/source/ui/tabledesign/TableDesignHelpBar \
247 dbaccess/source/ui/tabledesign/TableDesignView \
248 dbaccess/source/ui/tabledesign/TableFieldControl \
249 dbaccess/source/ui/tabledesign/TableFieldDescWin \
250 dbaccess/source/ui/tabledesign/TableRow \
251 dbaccess/source/ui/tabledesign/TableRowExchange \
252 dbaccess/source/ui/tabledesign/TableUndo \
253 dbaccess/source/ui/tabledesign/TEditControl \
254 dbaccess/source/ui/uno/admindlg \
255 dbaccess/source/ui/uno/AdvancedSettingsDlg \
256 dbaccess/source/ui/uno/ColumnControl \
257 dbaccess/source/ui/uno/ColumnModel \
258 dbaccess/source/ui/uno/ColumnPeer \
259 dbaccess/source/ui/uno/composerdialogs \
260 dbaccess/source/ui/uno/dbinteraction \
261 dbaccess/source/ui/uno/DBTypeWizDlg \
262 dbaccess/source/ui/uno/DBTypeWizDlgSetup \
263 dbaccess/source/ui/uno/TableFilterDlg \
264 dbaccess/source/ui/uno/textconnectionsettings_uno \
265 dbaccess/source/ui/uno/unoadmin \
266 dbaccess/source/ui/uno/unoDirectSql \
267 dbaccess/source/ui/uno/unosqlmessage \
268 dbaccess/source/ui/uno/UserSettingsDlg \
271 ifeq ($(GUI),WNT)
272 $(eval $(call gb_Library_add_exception_objects,dbu,\
273 dbaccess/source/ui/dlg/adodatalinks \
275 endif
277 # workaround for issue http://qa.openoffice.org/issues/show_bug.cgi?id=102305 Linux specific
278 ifeq ($(COM),GCC)
279 $(eval $(call gb_Library_add_cxxobjects,dbu,\
280 dbaccess/source/ui/uno/copytablewizard \
281 , $(gb_LinkTarget_EXCEPTIONFLAGS) $(gb_COMPILERNOOPTFLAGS) \
283 else
284 $(eval $(call gb_Library_add_exception_objects,dbu,\
285 dbaccess/source/ui/uno/copytablewizard \
287 endif
289 $(call gb_Library_get_headers_target,dbu) : $(call gb_SrsTemplateTarget_get_include_dir,dbaccess)/AutoControls.hrc
291 # vim: set noet sw=4 ts=4: