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
,$(SRCDIR
)/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
,\
70 $(eval
$(call gb_Library_use_externals
,sfx
,\
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
/fwkhelper \
98 sfx2
/source
/appl
/helpdispatch \
99 sfx2
/source
/appl
/helpinterceptor \
100 sfx2
/source
/appl
/imestatuswindow \
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
/itemconnect \
173 sfx2
/source
/dialog
/infobar \
174 sfx2
/source
/dialog
/inputdlg \
175 sfx2
/source
/dialog
/mailmodel \
176 sfx2
/source
/dialog
/bluthsnd \
177 sfx2
/source
/dialog
/mgetempl \
178 sfx2
/source
/dialog
/navigat \
179 sfx2
/source
/dialog
/newstyle \
180 sfx2
/source
/dialog
/partwnd \
181 sfx2
/source
/dialog
/passwd \
182 sfx2
/source
/dialog
/printopt \
183 sfx2
/source
/dialog
/recfloat \
184 sfx2
/source
/dialog
/securitypage \
185 sfx2
/source
/dialog
/sfxdlg \
186 sfx2
/source
/dialog
/splitwin \
187 sfx2
/source
/dialog
/srchdlg \
188 sfx2
/source
/dialog
/styfitem \
189 sfx2
/source
/dialog
/styledlg \
190 sfx2
/source
/dialog
/tabdlg \
191 sfx2
/source
/dialog
/templdlg \
192 sfx2
/source
/dialog
/titledockwin \
193 sfx2
/source
/dialog
/tplcitem \
194 sfx2
/source
/dialog
/tplpitem \
195 sfx2
/source
/dialog
/versdlg \
196 sfx2
/source
/doc
/DocumentMetadataAccess \
197 sfx2
/source
/doc
/DocumentSigner \
198 sfx2
/source
/doc
/Metadatable \
199 sfx2
/source
/doc
/QuerySaveDocument \
200 sfx2
/source
/doc
/SfxDocumentMetaData \
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
/syspath \
231 sfx2
/source
/doc
/zoomitem \
232 sfx2
/source
/doc
/templatedlg \
233 sfx2
/source
/doc
/watermarkitem \
234 sfx2
/source
/doc
/saveastemplatedlg \
235 sfx2
/source
/explorer
/nochaos \
236 sfx2
/source
/inet
/inettbc \
237 sfx2
/source
/notebookbar
/ContextVBox \
238 sfx2
/source
/notebookbar
/DropdownBox \
239 sfx2
/source
/notebookbar
/OptionalBox \
240 sfx2
/source
/notebookbar
/PriorityHBox \
241 sfx2
/source
/notebookbar
/PriorityMergedHBox \
242 sfx2
/source
/notebookbar
/SfxNotebookBar \
243 sfx2
/source
/notebookbar
/NotebookbarPopup \
244 sfx2
/source
/notebookbar
/NotebookbarTabControl \
245 sfx2
/source
/notify
/eventsupplier \
246 sfx2
/source
/notify
/globalevents \
247 sfx2
/source
/notify
/hintpost \
248 sfx2
/source
/notify
/openurlhint \
249 sfx2
/source
/safemode
/safemode \
250 sfx2
/source
/sidebar
/Sidebar \
251 sfx2
/source
/sidebar
/SidebarChildWindow \
252 sfx2
/source
/sidebar
/SidebarDockingWindow \
253 sfx2
/source
/sidebar
/SidebarController \
254 sfx2
/source
/sidebar
/SidebarModelUpdate \
255 sfx2
/source
/sidebar
/SidebarPanelBase \
256 sfx2
/source
/sidebar
/SidebarToolBox \
257 sfx2
/source
/sidebar
/Accessible \
258 sfx2
/source
/sidebar
/AccessibleTitleBar \
259 sfx2
/source
/sidebar
/AsynchronousCall \
260 sfx2
/source
/sidebar
/Context \
261 sfx2
/source
/sidebar
/ContextChangeBroadcaster \
262 sfx2
/source
/sidebar
/ContextList \
263 sfx2
/source
/sidebar
/ControlFactory \
264 sfx2
/source
/sidebar
/ControllerFactory \
265 sfx2
/source
/sidebar
/ControllerItem \
266 sfx2
/source
/sidebar
/Deck \
267 sfx2
/source
/sidebar
/DeckDescriptor \
268 sfx2
/source
/sidebar
/DeckLayouter \
269 sfx2
/source
/sidebar
/DeckTitleBar \
270 sfx2
/source
/sidebar
/DrawHelper \
271 sfx2
/source
/sidebar
/FocusManager \
272 sfx2
/source
/sidebar
/MenuButton \
273 sfx2
/source
/sidebar
/IContextChangeReceiver \
274 sfx2
/source
/sidebar
/ILayoutableWindow \
275 sfx2
/source
/sidebar
/Paint \
276 sfx2
/source
/sidebar
/Panel \
277 sfx2
/source
/sidebar
/PanelDescriptor \
278 sfx2
/source
/sidebar
/PanelTitleBar \
279 sfx2
/source
/sidebar
/ResourceManager \
280 sfx2
/source
/sidebar
/TabBar \
281 sfx2
/source
/sidebar
/TabItem \
282 sfx2
/source
/sidebar
/TitleBar \
283 sfx2
/source
/sidebar
/Theme \
284 sfx2
/source
/sidebar
/Tools \
285 sfx2
/source
/sidebar
/UnoPanel \
286 sfx2
/source
/sidebar
/UnoPanels \
287 sfx2
/source
/sidebar
/UnoDeck \
288 sfx2
/source
/sidebar
/UnoDecks \
289 sfx2
/source
/sidebar
/UnoSidebar \
290 sfx2
/source
/statbar
/stbitem \
291 sfx2
/source
/styles
/StyleManager \
292 sfx2
/source
/toolbox
/tbxitem \
293 sfx2
/source
/uitest
/sfx_uiobject \
294 sfx2
/source
/view
/classificationcontroller \
295 sfx2
/source
/view
/classificationhelper \
296 sfx2
/source
/view
/frame \
297 sfx2
/source
/view
/frame2 \
298 sfx2
/source
/view
/frmload \
299 sfx2
/source
/view
/ipclient \
300 sfx2
/source
/view
/lokcharthelper \
301 sfx2
/source
/view
/lokhelper \
302 sfx2
/source
/view
/printer \
303 sfx2
/source
/view
/sfxbasecontroller \
304 sfx2
/source
/view
/userinputinterception \
305 sfx2
/source
/view
/viewfac \
306 sfx2
/source
/view
/viewfrm \
307 sfx2
/source
/view
/viewfrm2 \
308 sfx2
/source
/view
/viewprn \
309 sfx2
/source
/view
/viewsh \
312 $(eval
$(call gb_SdiTarget_SdiTarget
,sfx2
/sdi
/sfxslots
,sfx2
/sdi
/sfx
))
314 $(eval
$(call gb_SdiTarget_set_include
,sfx2
/sdi
/sfxslots
,\
316 -I
$(SRCDIR
)/sfx2
/inc \
317 -I
$(SRCDIR
)/sfx2
/sdi \
320 ifeq ($(OS
),$(filter WNT MACOSX
,$(OS
)))
321 $(eval
$(call gb_Library_add_defs
,sfx
,\
322 -DENABLE_QUICKSTART_APPLET \
327 $(eval
$(call gb_Library_add_objcxxobjects
,sfx
,\
328 sfx2
/source
/appl
/shutdowniconaqua \
330 $(eval
$(call gb_Library_add_libs
,sfx
,\
333 $(eval
$(call gb_Library_use_system_darwin_frameworks
,sfx
,\
340 $(eval
$(call gb_Library_add_exception_objects
,sfx
,\
341 sfx2
/source
/appl
/shutdowniconw32 \
342 sfx2
/source
/doc
/syspathw32 \
345 $(eval
$(call gb_Library_use_system_win32_libs
,sfx
,\
355 # vim: set noet sw=4 ts=4: