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
,\
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 \
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
,\
68 $(if
$(ENABLE_BREAKPAD
), \
73 $(eval
$(call gb_Library_use_externals
,sfx
,\
83 $(eval
$(call gb_Library_add_exception_objects
,sfx
,\
84 sfx2
/source
/accessibility
/AccessibilityCheck \
85 sfx2
/source
/accessibility
/AccessibilityIssue \
86 sfx2
/source
/appl
/app \
87 sfx2
/source
/appl
/appbas \
88 sfx2
/source
/appl
/appbaslib \
89 sfx2
/source
/appl
/appcfg \
90 sfx2
/source
/appl
/appchild \
91 sfx2
/source
/appl
/appdata \
92 sfx2
/source
/appl
/appdde \
93 sfx2
/source
/appl
/appdispatchprovider \
94 sfx2
/source
/appl
/appinit \
95 sfx2
/source
/appl
/appmain \
96 sfx2
/source
/appl
/appmisc \
97 sfx2
/source
/appl
/appopen \
98 sfx2
/source
/appl
/appquit \
99 sfx2
/source
/appl
/appreg \
100 sfx2
/source
/appl
/appserv \
101 sfx2
/source
/appl
/appuno \
102 sfx2
/source
/appl
/childwin \
103 sfx2
/source
/appl
/fileobj \
104 sfx2
/source
/appl
/flatpak \
105 sfx2
/source
/appl
/fwkhelper \
106 sfx2
/source
/appl
/getbasctlfunction \
107 sfx2
/source
/appl
/helpdispatch \
108 sfx2
/source
/appl
/helpinterceptor \
109 sfx2
/source
/appl
/impldde \
110 sfx2
/source
/appl
/linkmgr2 \
111 sfx2
/source
/appl
/linksrc \
112 sfx2
/source
/appl
/lnkbase2 \
113 sfx2
/source
/appl
/macroloader \
114 sfx2
/source
/appl
/module \
115 sfx2
/source
/appl
/newhelp \
116 sfx2
/source
/appl
/opengrf \
117 sfx2
/source
/appl
/openuriexternally \
118 sfx2
/source
/appl
/preventduplicateinteraction \
119 sfx2
/source
/appl
/sfxhelp \
120 sfx2
/source
/appl
/sfxpicklist \
121 sfx2
/source
/appl
/shutdownicon \
122 sfx2
/source
/appl
/workwin \
123 sfx2
/source
/appl
/xpackcreator \
124 sfx2
/source
/bastyp
/bitset \
125 sfx2
/source
/bastyp
/fltfnc \
126 sfx2
/source
/bastyp
/fltlst \
127 sfx2
/source
/bastyp
/frmhtml \
128 sfx2
/source
/bastyp
/frmhtmlw \
129 sfx2
/source
/bastyp
/helper \
130 sfx2
/source
/bastyp
/mieclip \
131 sfx2
/source
/bastyp
/progress \
132 sfx2
/source
/bastyp
/sfxhtml \
133 sfx2
/source
/bastyp
/sfxresid \
134 sfx2
/source
/commandpopup
/CommandPopup \
135 sfx2
/source
/config
/evntconf \
136 sfx2
/source
/control
/bindings \
137 sfx2
/source
/control
/ctrlitem \
138 sfx2
/source
/control
/dispatch \
139 sfx2
/source
/control
/itemdel \
140 sfx2
/source
/control
/minfitem \
141 sfx2
/source
/control
/msg \
142 sfx2
/source
/control
/msgpool \
143 sfx2
/source
/control
/objface \
144 sfx2
/source
/control
/recentdocsview \
145 sfx2
/source
/control
/recentdocsviewitem \
146 sfx2
/source
/control
/request \
147 sfx2
/source
/control
/sfxstatuslistener \
148 sfx2
/source
/control
/shell \
149 sfx2
/source
/control
/sorgitm \
150 sfx2
/source
/control
/statcach \
151 sfx2
/source
/control
/templatedefaultview \
152 sfx2
/source
/control
/templateviewitem \
153 sfx2
/source
/control
/templatelocalview \
154 sfx2
/source
/control
/templatecontaineritem \
155 sfx2
/source
/control
/templatedlglocalview \
156 sfx2
/source
/control
/listview \
157 sfx2
/source
/control
/thumbnailviewitem \
158 sfx2
/source
/control
/thumbnailviewacc \
159 sfx2
/source
/control
/thumbnailview \
160 sfx2
/source
/control
/emojiviewitem \
161 sfx2
/source
/control
/emojiview \
162 sfx2
/source
/control
/emojicontrol \
163 sfx2
/source
/control
/emojipopup \
164 sfx2
/source
/control
/charmapcontrol \
165 sfx2
/source
/control
/charwin \
166 sfx2
/source
/control
/unoctitm \
167 sfx2
/source
/devtools
/DevelopmentToolChildWindow \
168 sfx2
/source
/devtools
/DevelopmentToolDockingWindow \
169 sfx2
/source
/devtools
/DocumentModelTreeHandler \
170 sfx2
/source
/devtools
/ObjectInspectorTreeHandler \
171 sfx2
/source
/dialog
/alienwarn \
172 sfx2
/source
/dialog
/backingcomp \
173 sfx2
/source
/dialog
/backingwindow \
174 sfx2
/source
/dialog
/basedlgs \
175 sfx2
/source
/dialog
/checkin \
176 sfx2
/source
/dialog
/dialoghelper \
177 sfx2
/source
/dialog
/charmappopup \
178 sfx2
/source
/dialog
/dinfdlg \
179 sfx2
/source
/dialog
/dockwin \
180 sfx2
/source
/dialog
/documentfontsdialog \
181 sfx2
/source
/dialog
/filedlghelper \
182 sfx2
/source
/dialog
/filtergrouping \
183 sfx2
/source
/dialog
/infobar \
184 sfx2
/source
/dialog
/inputdlg \
185 sfx2
/source
/dialog
/mailmodel \
186 sfx2
/source
/dialog
/bluthsnd \
187 sfx2
/source
/dialog
/mgetempl \
188 sfx2
/source
/dialog
/navigat \
189 sfx2
/source
/dialog
/newstyle \
190 sfx2
/source
/dialog
/partwnd \
191 sfx2
/source
/dialog
/passwd \
192 sfx2
/source
/dialog
/printopt \
193 sfx2
/source
/dialog
/recfloat \
194 sfx2
/source
/dialog
/securitypage \
195 sfx2
/source
/dialog
/sfxdlg \
196 sfx2
/source
/dialog
/splitwin \
197 sfx2
/source
/dialog
/srchdlg \
198 sfx2
/source
/dialog
/styfitem \
199 sfx2
/source
/dialog
/styledlg \
200 sfx2
/source
/dialog
/tabdlg \
201 sfx2
/source
/dialog
/templdlg \
202 sfx2
/source
/dialog
/StyleList \
203 sfx2
/source
/dialog
/titledockwin \
204 sfx2
/source
/dialog
/tplcitem \
205 sfx2
/source
/dialog
/tplpitem \
206 sfx2
/source
/dialog
/versdlg \
207 sfx2
/source
/doc
/DocumentMetadataAccess \
208 sfx2
/source
/doc
/DocumentSigner \
209 sfx2
/source
/doc
/Metadatable \
210 sfx2
/source
/doc
/QuerySaveDocument \
211 sfx2
/source
/doc
/SfxDocumentMetaData \
212 sfx2
/source
/doc
/autoredactdialog \
213 sfx2
/source
/doc
/docfac \
214 sfx2
/source
/doc
/docfile \
215 sfx2
/source
/doc
/docfilt \
216 sfx2
/source
/doc
/docinf \
217 sfx2
/source
/doc
/docinsert \
218 sfx2
/source
/doc
/docmacromode \
219 sfx2
/source
/doc
/docstoragemodifylistener \
220 sfx2
/source
/doc
/doctempl \
221 sfx2
/source
/doc
/doctemplates \
222 sfx2
/source
/doc
/doctemplateslocal \
223 sfx2
/source
/doc
/exoticfileloadexception \
224 sfx2
/source
/doc
/frmdescr \
225 sfx2
/source
/doc
/graphhelp \
226 sfx2
/source
/doc
/guisaveas \
227 sfx2
/source
/doc
/iframe \
228 sfx2
/source
/doc
/new \
229 sfx2
/source
/doc
/objcont \
230 sfx2
/source
/doc
/objembed \
231 sfx2
/source
/doc
/objitem \
232 sfx2
/source
/doc
/objmisc \
233 sfx2
/source
/doc
/objserv \
234 sfx2
/source
/doc
/objstor \
235 sfx2
/source
/doc
/objxtor \
236 sfx2
/source
/doc
/oleprops \
237 sfx2
/source
/doc
/ownsubfilterservice \
238 sfx2
/source
/doc
/printhelper \
239 sfx2
/source
/doc
/docundomanager \
240 sfx2
/source
/doc
/sfxbasemodel \
241 sfx2
/source
/doc
/sfxmodelfactory \
242 sfx2
/source
/doc
/SfxRedactionHelper \
243 sfx2
/source
/doc
/signaturestate \
244 sfx2
/source
/doc
/syspath \
245 sfx2
/source
/doc
/zoomitem \
246 sfx2
/source
/doc
/templatedlg \
247 sfx2
/source
/doc
/watermarkitem \
248 sfx2
/source
/doc
/saveastemplatedlg \
249 sfx2
/source
/explorer
/nochaos \
250 sfx2
/source
/inet
/inettbc \
251 sfx2
/source
/notebookbar
/SfxNotebookBar \
252 sfx2
/source
/notebookbar
/NotebookbarTabControl \
253 sfx2
/source
/notify
/eventsupplier \
254 sfx2
/source
/notify
/globalevents \
255 sfx2
/source
/notify
/hintpost \
256 sfx2
/source
/notify
/openurlhint \
257 sfx2
/source
/safemode
/safemode \
258 sfx2
/source
/sidebar
/Sidebar \
259 sfx2
/source
/sidebar
/SidebarChildWindow \
260 sfx2
/source
/sidebar
/SidebarDockingWindow \
261 sfx2
/source
/sidebar
/SidebarController \
262 sfx2
/source
/sidebar
/SidebarModelUpdate \
263 sfx2
/source
/sidebar
/SidebarPanelBase \
264 sfx2
/source
/sidebar
/SidebarToolBox \
265 sfx2
/source
/sidebar
/AsynchronousCall \
266 sfx2
/source
/sidebar
/Context \
267 sfx2
/source
/sidebar
/ContextChangeBroadcaster \
268 sfx2
/source
/sidebar
/ContextList \
269 sfx2
/source
/sidebar
/ControllerFactory \
270 sfx2
/source
/sidebar
/ControllerItem \
271 sfx2
/source
/sidebar
/Deck \
272 sfx2
/source
/sidebar
/DeckDescriptor \
273 sfx2
/source
/sidebar
/DeckLayouter \
274 sfx2
/source
/sidebar
/DeckTitleBar \
275 sfx2
/source
/sidebar
/FocusManager \
276 sfx2
/source
/sidebar
/IContextChangeReceiver \
277 sfx2
/source
/sidebar
/ILayoutableWindow \
278 sfx2
/source
/sidebar
/Panel \
279 sfx2
/source
/sidebar
/PanelDescriptor \
280 sfx2
/source
/sidebar
/PanelLayout \
281 sfx2
/source
/sidebar
/PanelTitleBar \
282 sfx2
/source
/sidebar
/ResourceManager \
283 sfx2
/source
/sidebar
/TabBar \
284 sfx2
/source
/sidebar
/TitleBar \
285 sfx2
/source
/sidebar
/Theme \
286 sfx2
/source
/sidebar
/Tools \
287 sfx2
/source
/sidebar
/UnoPanel \
288 sfx2
/source
/sidebar
/UnoPanels \
289 sfx2
/source
/sidebar
/UnoDeck \
290 sfx2
/source
/sidebar
/UnoDecks \
291 sfx2
/source
/sidebar
/UnoSidebar \
292 sfx2
/source
/statbar
/stbitem \
293 sfx2
/source
/styles
/StyleManager \
294 sfx2
/source
/toolbox
/tbxitem \
295 sfx2
/source
/toolbox
/weldutils \
296 sfx2
/source
/view
/classificationcontroller \
297 sfx2
/source
/view
/classificationhelper \
298 sfx2
/source
/view
/frame \
299 sfx2
/source
/view
/frame2 \
300 sfx2
/source
/view
/frmload \
301 sfx2
/source
/view
/ipclient \
302 sfx2
/source
/view
/lokcharthelper \
303 sfx2
/source
/view
/lokhelper \
304 sfx2
/source
/view
/printer \
305 sfx2
/source
/view
/sfxbasecontroller \
306 sfx2
/source
/view
/userinputinterception \
307 sfx2
/source
/view
/viewfac \
308 sfx2
/source
/view
/viewfrm \
309 sfx2
/source
/view
/viewfrm2 \
310 sfx2
/source
/view
/viewprn \
311 sfx2
/source
/view
/viewsh \
314 $(eval
$(call gb_SdiTarget_SdiTarget
,sfx2
/sdi
/sfxslots
,sfx2
/sdi
/sfx
))
316 $(eval
$(call gb_SdiTarget_set_include
,sfx2
/sdi
/sfxslots
,\
318 -I
$(SRCDIR
)/sfx2
/inc \
319 -I
$(SRCDIR
)/sfx2
/sdi \
322 ifeq ($(OS
),$(filter WNT MACOSX
,$(OS
)))
323 $(eval
$(call gb_Library_add_defs
,sfx
,\
324 -DENABLE_QUICKSTART_APPLET \
329 $(eval
$(call gb_Library_add_cxxflags
,sfx
,\
332 $(eval
$(call gb_Library_add_objcxxobjects
,sfx
,\
333 sfx2
/source
/appl
/shutdowniconaqua \
335 $(eval
$(call gb_Library_add_libs
,sfx
,\
338 $(eval
$(call gb_Library_use_system_darwin_frameworks
,sfx
,\
345 $(eval
$(call gb_Library_add_exception_objects
,sfx
,\
346 sfx2
/source
/appl
/shutdowniconw32 \
347 sfx2
/source
/doc
/syspathw32 \
350 $(eval
$(call gb_Library_use_system_win32_libs
,sfx
,\
360 # vim: set noet sw=4 ts=4: