Bump version to 6.4-15
[LibreOffice.git] / sfx2 / Library_sfx.mk
blob4aa4d1727d110a11ecee35cad27b09bf2f027cb0
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 # This file incorporates work covered by the following license notice:
11 # Licensed to the Apache Software Foundation (ASF) under one or more
12 # contributor license agreements. See the NOTICE file distributed
13 # with this work for additional information regarding copyright
14 # ownership. The ASF licenses this file to you under the Apache
15 # License, Version 2.0 (the "License"); you may not use this file
16 # except in compliance with the License. You may obtain a copy of
17 # the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 $(eval $(call gb_Library_Library,sfx))
22 $(eval $(call gb_Library_add_sdi_headers,sfx,sfx2/sdi/sfxslots))
24 $(eval $(call gb_Library_set_componentfile,sfx,sfx2/util/sfx))
26 $(eval $(call gb_Library_set_precompiled_header,sfx,sfx2/inc/pch/precompiled_sfx))
28 $(eval $(call gb_Library_use_custom_headers,sfx,\
29 officecfg/registry \
32 $(eval $(call gb_Library_use_sdk_api,sfx))
34 $(eval $(call gb_Library_set_include,sfx,\
35 -I$(SRCDIR)/sfx2/inc \
36 -I$(SRCDIR)/sfx2/source/inc \
37 -I$(WORKDIR)/SdiTarget/sfx2/sdi \
38 $$(INCLUDE) \
41 $(eval $(call gb_Library_add_defs,sfx,-DSFX2_DLLIMPLEMENTATION))
43 $(eval $(call gb_Library_add_defs,sfx,\
44 $(if $(filter TRUE,$(ENABLE_CUPS)),-DENABLE_CUPS) \
47 $(eval $(call gb_Library_use_libraries,sfx,\
48 basegfx \
49 comphelper \
50 cppu \
51 cppuhelper \
52 drawinglayer \
53 fwe \
54 i18nlangtag \
55 i18nutil \
56 sal \
57 salhelper \
58 sax \
59 sb \
60 sot \
61 svl \
62 svt \
63 tk \
64 tl \
65 ucbhelper \
66 utl \
67 vcl \
70 $(eval $(call gb_Library_use_externals,sfx,\
71 boost_headers \
72 libxml2 \
73 orcus \
74 orcus-parser\
77 $(eval $(call gb_Library_add_exception_objects,sfx,\
78 sfx2/source/appl/app \
79 sfx2/source/appl/appbas \
80 sfx2/source/appl/appbaslib \
81 sfx2/source/appl/appcfg \
82 sfx2/source/appl/appchild \
83 sfx2/source/appl/appdata \
84 sfx2/source/appl/appdde \
85 sfx2/source/appl/appdispatchprovider \
86 sfx2/source/appl/appinit \
87 sfx2/source/appl/appmain \
88 sfx2/source/appl/appmisc \
89 sfx2/source/appl/appopen \
90 sfx2/source/appl/appquit \
91 sfx2/source/appl/appreg \
92 sfx2/source/appl/appserv \
93 sfx2/source/appl/appuno \
94 sfx2/source/appl/childwin \
95 sfx2/source/appl/childwinimpl \
96 sfx2/source/appl/fileobj \
97 sfx2/source/appl/flatpak \
98 sfx2/source/appl/fwkhelper \
99 sfx2/source/appl/helpdispatch \
100 sfx2/source/appl/helpinterceptor \
101 sfx2/source/appl/impldde \
102 sfx2/source/appl/linkmgr2 \
103 sfx2/source/appl/linksrc \
104 sfx2/source/appl/lnkbase2 \
105 sfx2/source/appl/macroloader \
106 sfx2/source/appl/module \
107 sfx2/source/appl/newhelp \
108 sfx2/source/appl/opengrf \
109 sfx2/source/appl/openuriexternally \
110 sfx2/source/appl/preventduplicateinteraction \
111 sfx2/source/appl/sfxhelp \
112 sfx2/source/appl/sfxpicklist \
113 sfx2/source/appl/shellimpl \
114 sfx2/source/appl/shutdownicon \
115 sfx2/source/appl/workwin \
116 sfx2/source/appl/xpackcreator \
117 sfx2/source/bastyp/bitset \
118 sfx2/source/bastyp/fltfnc \
119 sfx2/source/bastyp/fltlst \
120 sfx2/source/bastyp/frmhtml \
121 sfx2/source/bastyp/frmhtmlw \
122 sfx2/source/bastyp/helper \
123 sfx2/source/bastyp/mieclip \
124 sfx2/source/bastyp/progress \
125 sfx2/source/bastyp/sfxhtml \
126 sfx2/source/bastyp/sfxresid \
127 sfx2/source/config/evntconf \
128 sfx2/source/control/asyncfunc \
129 sfx2/source/control/bindings \
130 sfx2/source/control/ctrlitem \
131 sfx2/source/control/ctrlfactoryimpl \
132 sfx2/source/control/dispatch \
133 sfx2/source/control/itemdel \
134 sfx2/source/control/minfitem \
135 sfx2/source/control/msg \
136 sfx2/source/control/msgpool \
137 sfx2/source/control/objface \
138 sfx2/source/control/recentdocsview \
139 sfx2/source/control/recentdocsviewitem \
140 sfx2/source/control/request \
141 sfx2/source/control/sfxstatuslistener \
142 sfx2/source/control/shell \
143 sfx2/source/control/sorgitm \
144 sfx2/source/control/statcach \
145 sfx2/source/control/templatedefaultview \
146 sfx2/source/control/templateviewitem \
147 sfx2/source/control/templatelocalview \
148 sfx2/source/control/templatecontaineritem \
149 sfx2/source/control/templatesearchview \
150 sfx2/source/control/thumbnailviewitem \
151 sfx2/source/control/thumbnailviewacc \
152 sfx2/source/control/thumbnailview \
153 sfx2/source/control/emojiviewitem \
154 sfx2/source/control/emojiview \
155 sfx2/source/control/emojicontrol \
156 sfx2/source/control/emojipopup \
157 sfx2/source/control/charmapcontrol \
158 sfx2/source/control/charwin \
159 sfx2/source/control/unoctitm \
160 sfx2/source/dialog/alienwarn \
161 sfx2/source/dialog/backingcomp \
162 sfx2/source/dialog/backingwindow \
163 sfx2/source/dialog/basedlgs \
164 sfx2/source/dialog/checkin \
165 sfx2/source/dialog/dialoghelper \
166 sfx2/source/dialog/charmappopup \
167 sfx2/source/dialog/dinfdlg \
168 sfx2/source/dialog/dockwin \
169 sfx2/source/dialog/documentfontsdialog \
170 sfx2/source/dialog/filedlghelper \
171 sfx2/source/dialog/filtergrouping \
172 sfx2/source/dialog/infobar \
173 sfx2/source/dialog/inputdlg \
174 sfx2/source/dialog/mailmodel \
175 sfx2/source/dialog/bluthsnd \
176 sfx2/source/dialog/mgetempl \
177 sfx2/source/dialog/navigat \
178 sfx2/source/dialog/newstyle \
179 sfx2/source/dialog/partwnd \
180 sfx2/source/dialog/passwd \
181 sfx2/source/dialog/printopt \
182 sfx2/source/dialog/recfloat \
183 sfx2/source/dialog/securitypage \
184 sfx2/source/dialog/sfxdlg \
185 sfx2/source/dialog/splitwin \
186 sfx2/source/dialog/srchdlg \
187 sfx2/source/dialog/styfitem \
188 sfx2/source/dialog/styledlg \
189 sfx2/source/dialog/tabdlg \
190 sfx2/source/dialog/templdlg \
191 sfx2/source/dialog/titledockwin \
192 sfx2/source/dialog/tplcitem \
193 sfx2/source/dialog/tplpitem \
194 sfx2/source/dialog/versdlg \
195 sfx2/source/doc/DocumentMetadataAccess \
196 sfx2/source/doc/DocumentSigner \
197 sfx2/source/doc/Metadatable \
198 sfx2/source/doc/QuerySaveDocument \
199 sfx2/source/doc/SfxDocumentMetaData \
200 sfx2/source/doc/autoredactdialog \
201 sfx2/source/doc/docfac \
202 sfx2/source/doc/docfile \
203 sfx2/source/doc/docfilt \
204 sfx2/source/doc/docinf \
205 sfx2/source/doc/docinsert \
206 sfx2/source/doc/docmacromode \
207 sfx2/source/doc/docstoragemodifylistener \
208 sfx2/source/doc/doctempl \
209 sfx2/source/doc/doctemplates \
210 sfx2/source/doc/doctemplateslocal \
211 sfx2/source/doc/exoticfileloadexception \
212 sfx2/source/doc/frmdescr \
213 sfx2/source/doc/graphhelp \
214 sfx2/source/doc/guisaveas \
215 sfx2/source/doc/iframe \
216 sfx2/source/doc/new \
217 sfx2/source/doc/objcont \
218 sfx2/source/doc/objembed \
219 sfx2/source/doc/objitem \
220 sfx2/source/doc/objmisc \
221 sfx2/source/doc/objserv \
222 sfx2/source/doc/objstor \
223 sfx2/source/doc/objxtor \
224 sfx2/source/doc/oleprops \
225 sfx2/source/doc/ownsubfilterservice \
226 sfx2/source/doc/printhelper \
227 sfx2/source/doc/docundomanager \
228 sfx2/source/doc/sfxbasemodel \
229 sfx2/source/doc/sfxmodelfactory \
230 sfx2/source/doc/SfxRedactionHelper \
231 sfx2/source/doc/signaturestate \
232 sfx2/source/doc/syspath \
233 sfx2/source/doc/zoomitem \
234 sfx2/source/doc/templatedlg \
235 sfx2/source/doc/watermarkitem \
236 sfx2/source/doc/saveastemplatedlg \
237 sfx2/source/explorer/nochaos \
238 sfx2/source/inet/inettbc \
239 sfx2/source/notebookbar/ContextVBox \
240 sfx2/source/notebookbar/DropdownBox \
241 sfx2/source/notebookbar/PriorityHBox \
242 sfx2/source/notebookbar/PriorityMergedHBox \
243 sfx2/source/notebookbar/SfxNotebookBar \
244 sfx2/source/notebookbar/NotebookbarPopup \
245 sfx2/source/notebookbar/NotebookbarTabControl \
246 sfx2/source/notify/eventsupplier \
247 sfx2/source/notify/globalevents \
248 sfx2/source/notify/hintpost \
249 sfx2/source/notify/openurlhint \
250 sfx2/source/safemode/safemode \
251 sfx2/source/sidebar/Sidebar \
252 sfx2/source/sidebar/SidebarChildWindow \
253 sfx2/source/sidebar/SidebarDockingWindow \
254 sfx2/source/sidebar/SidebarController \
255 sfx2/source/sidebar/SidebarModelUpdate \
256 sfx2/source/sidebar/SidebarPanelBase \
257 sfx2/source/sidebar/SidebarToolBox \
258 sfx2/source/sidebar/Accessible \
259 sfx2/source/sidebar/AccessibleTitleBar \
260 sfx2/source/sidebar/AsynchronousCall \
261 sfx2/source/sidebar/Context \
262 sfx2/source/sidebar/ContextChangeBroadcaster \
263 sfx2/source/sidebar/ContextList \
264 sfx2/source/sidebar/ControlFactory \
265 sfx2/source/sidebar/ControllerFactory \
266 sfx2/source/sidebar/ControllerItem \
267 sfx2/source/sidebar/Deck \
268 sfx2/source/sidebar/DeckDescriptor \
269 sfx2/source/sidebar/DeckLayouter \
270 sfx2/source/sidebar/DeckTitleBar \
271 sfx2/source/sidebar/DrawHelper \
272 sfx2/source/sidebar/FocusManager \
273 sfx2/source/sidebar/MenuButton \
274 sfx2/source/sidebar/IContextChangeReceiver \
275 sfx2/source/sidebar/ILayoutableWindow \
276 sfx2/source/sidebar/Paint \
277 sfx2/source/sidebar/Panel \
278 sfx2/source/sidebar/PanelDescriptor \
279 sfx2/source/sidebar/PanelTitleBar \
280 sfx2/source/sidebar/ResourceManager \
281 sfx2/source/sidebar/TabBar \
282 sfx2/source/sidebar/TabItem \
283 sfx2/source/sidebar/TitleBar \
284 sfx2/source/sidebar/Theme \
285 sfx2/source/sidebar/Tools \
286 sfx2/source/sidebar/UnoPanel \
287 sfx2/source/sidebar/UnoPanels \
288 sfx2/source/sidebar/UnoDeck \
289 sfx2/source/sidebar/UnoDecks \
290 sfx2/source/sidebar/UnoSidebar \
291 sfx2/source/statbar/stbitem \
292 sfx2/source/styles/StyleManager \
293 sfx2/source/toolbox/tbxitem \
294 sfx2/source/toolbox/weldutils \
295 sfx2/source/view/classificationcontroller \
296 sfx2/source/view/classificationhelper \
297 sfx2/source/view/frame \
298 sfx2/source/view/frame2 \
299 sfx2/source/view/frmload \
300 sfx2/source/view/ipclient \
301 sfx2/source/view/lokcharthelper \
302 sfx2/source/view/lokhelper \
303 sfx2/source/view/printer \
304 sfx2/source/view/sfxbasecontroller \
305 sfx2/source/view/userinputinterception \
306 sfx2/source/view/viewfac \
307 sfx2/source/view/viewfrm \
308 sfx2/source/view/viewfrm2 \
309 sfx2/source/view/viewprn \
310 sfx2/source/view/viewsh \
313 $(eval $(call gb_SdiTarget_SdiTarget,sfx2/sdi/sfxslots,sfx2/sdi/sfx))
315 $(eval $(call gb_SdiTarget_set_include,sfx2/sdi/sfxslots,\
316 $$(INCLUDE) \
317 -I$(SRCDIR)/sfx2/inc \
318 -I$(SRCDIR)/sfx2/sdi \
321 ifeq ($(OS),$(filter WNT MACOSX,$(OS)))
322 $(eval $(call gb_Library_add_defs,sfx,\
323 -DENABLE_QUICKSTART_APPLET \
325 endif
327 ifeq ($(OS),MACOSX)
328 $(eval $(call gb_Library_add_objcxxobjects,sfx,\
329 sfx2/source/appl/shutdowniconaqua \
331 $(eval $(call gb_Library_add_libs,sfx,\
332 -lobjc \
334 $(eval $(call gb_Library_use_system_darwin_frameworks,sfx,\
335 Cocoa \
337 endif
339 ifeq ($(OS),WNT)
341 $(eval $(call gb_Library_add_exception_objects,sfx,\
342 sfx2/source/appl/shutdowniconw32 \
343 sfx2/source/doc/syspathw32 \
346 $(eval $(call gb_Library_use_system_win32_libs,sfx,\
347 advapi32 \
348 gdi32 \
349 ole32 \
350 shell32 \
351 uuid \
354 endif
356 # vim: set noet sw=4 ts=4: