calc: on editing invalidation of view with different zoom is wrong
[LibreOffice.git] / sfx2 / Library_sfx.mk
blob7b1dee935ff30def8149b511c03a9879bb60f59d
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,services))
26 $(eval $(call gb_Library_add_componentimpls,sfx, \
27 $(if $(ENABLE_WASM_STRIP_RECENT),,extended) \
30 $(eval $(call gb_Library_set_precompiled_header,sfx,sfx2/inc/pch/precompiled_sfx))
32 $(eval $(call gb_Library_use_custom_headers,sfx,\
33 officecfg/registry \
36 $(eval $(call gb_Library_use_sdk_api,sfx))
38 $(eval $(call gb_Library_set_include,sfx,\
39 -I$(SRCDIR)/sfx2/inc \
40 -I$(SRCDIR)/sfx2/source/inc \
41 -I$(WORKDIR)/SdiTarget/sfx2/sdi \
42 $$(INCLUDE) \
45 $(eval $(call gb_Library_add_defs,sfx,-DSFX2_DLLIMPLEMENTATION))
47 $(eval $(call gb_Library_add_defs,sfx,\
48 $(if $(filter TRUE,$(ENABLE_CUPS)),-DENABLE_CUPS) \
51 $(eval $(call gb_Library_use_libraries,sfx,\
52 basegfx \
53 comphelper \
54 cppu \
55 cppuhelper \
56 drawinglayercore \
57 drawinglayer \
58 fwk \
59 i18nlangtag \
60 i18nutil \
61 sal \
62 salhelper \
63 sax \
64 sb \
65 sot \
66 svl \
67 svt \
68 tk \
69 tl \
70 ucbhelper \
71 utl \
72 vcl \
73 $(if $(ENABLE_BREAKPAD), \
74 crashreport \
75 ) \
78 $(eval $(call gb_Library_use_externals,sfx,\
79 boost_headers \
80 icu_headers \
81 icui18n \
82 icuuc \
83 libxml2 \
86 ifneq ($(ENABLE_WASM_STRIP_RECENT),TRUE)
87 $(eval $(call gb_Library_add_exception_objects,sfx,\
88 sfx2/source/dialog/backingcomp \
89 sfx2/source/dialog/backingwindow \
90 sfx2/source/control/recentdocsview \
91 sfx2/source/control/recentdocsviewitem \
93 endif
95 $(eval $(call gb_Library_add_exception_objects,sfx,\
96 sfx2/source/accessibility/AccessibilityCheck \
97 sfx2/source/accessibility/AccessibilityIssue \
98 sfx2/source/appl/app \
99 sfx2/source/appl/appbas \
100 sfx2/source/appl/appbaslib \
101 sfx2/source/appl/appcfg \
102 sfx2/source/appl/appchild \
103 sfx2/source/appl/appdata \
104 sfx2/source/appl/appdde \
105 sfx2/source/appl/appdispatchprovider \
106 sfx2/source/appl/appinit \
107 sfx2/source/appl/appmain \
108 sfx2/source/appl/appmisc \
109 sfx2/source/appl/appopen \
110 sfx2/source/appl/appquit \
111 sfx2/source/appl/appreg \
112 sfx2/source/appl/appserv \
113 sfx2/source/appl/appuno \
114 sfx2/source/appl/childwin \
115 sfx2/source/appl/fileobj \
116 sfx2/source/appl/flatpak \
117 sfx2/source/appl/fwkhelper \
118 sfx2/source/appl/getbasctlfunction \
119 sfx2/source/appl/helpdispatch \
120 sfx2/source/appl/helpinterceptor \
121 sfx2/source/appl/impldde \
122 sfx2/source/appl/linkmgr2 \
123 sfx2/source/appl/linksrc \
124 sfx2/source/appl/lnkbase2 \
125 sfx2/source/appl/macroloader \
126 sfx2/source/appl/module \
127 sfx2/source/appl/newhelp \
128 sfx2/source/appl/opengrf \
129 sfx2/source/appl/openuriexternally \
130 sfx2/source/appl/preventduplicateinteraction \
131 sfx2/source/appl/sfxhelp \
132 sfx2/source/appl/sfxpicklist \
133 sfx2/source/appl/shutdownicon \
134 sfx2/source/appl/workwin \
135 sfx2/source/appl/xpackcreator \
136 sfx2/source/bastyp/bitset \
137 sfx2/source/bastyp/fltfnc \
138 sfx2/source/bastyp/fltlst \
139 sfx2/source/bastyp/frmhtml \
140 sfx2/source/bastyp/frmhtmlw \
141 sfx2/source/bastyp/helper \
142 sfx2/source/bastyp/mieclip \
143 sfx2/source/bastyp/progress \
144 sfx2/source/bastyp/sfxhtml \
145 sfx2/source/bastyp/sfxresid \
146 sfx2/source/commandpopup/CommandPopup \
147 sfx2/source/config/evntconf \
148 sfx2/source/control/bindings \
149 sfx2/source/control/ctrlitem \
150 sfx2/source/control/dispatch \
151 sfx2/source/control/itemdel \
152 sfx2/source/control/minfitem \
153 sfx2/source/control/msg \
154 sfx2/source/control/msgpool \
155 sfx2/source/control/objface \
156 sfx2/source/control/request \
157 sfx2/source/control/sfxstatuslistener \
158 sfx2/source/control/shell \
159 sfx2/source/control/sorgitm \
160 sfx2/source/control/statcach \
161 sfx2/source/control/templatedefaultview \
162 sfx2/source/control/templateviewitem \
163 sfx2/source/control/templatelocalview \
164 sfx2/source/control/templatecontaineritem \
165 sfx2/source/control/templatedlglocalview \
166 sfx2/source/control/listview \
167 sfx2/source/control/thumbnailviewitem \
168 sfx2/source/control/thumbnailviewacc \
169 sfx2/source/control/thumbnailview \
170 sfx2/source/control/charmapcontrol \
171 sfx2/source/control/charwin \
172 sfx2/source/control/unoctitm \
173 sfx2/source/devtools/DevelopmentToolChildWindow \
174 sfx2/source/devtools/DevelopmentToolDockingWindow \
175 sfx2/source/devtools/DocumentModelTreeHandler \
176 sfx2/source/devtools/ObjectInspectorTreeHandler \
177 sfx2/source/dialog/alienwarn \
178 sfx2/source/dialog/basedlgs \
179 sfx2/source/dialog/checkin \
180 sfx2/source/dialog/dialoghelper \
181 sfx2/source/dialog/charmappopup \
182 sfx2/source/dialog/dinfdlg \
183 sfx2/source/dialog/dockwin \
184 sfx2/source/dialog/documentfontsdialog \
185 sfx2/source/dialog/filedlghelper \
186 sfx2/source/dialog/filtergrouping \
187 sfx2/source/dialog/infobar \
188 sfx2/source/dialog/inputdlg \
189 sfx2/source/dialog/mailmodel \
190 sfx2/source/dialog/bluthsnd \
191 sfx2/source/dialog/mgetempl \
192 sfx2/source/dialog/navigat \
193 sfx2/source/dialog/newstyle \
194 sfx2/source/dialog/partwnd \
195 sfx2/source/dialog/passwd \
196 sfx2/source/dialog/printopt \
197 sfx2/source/dialog/recfloat \
198 sfx2/source/dialog/securitypage \
199 sfx2/source/dialog/sfxdlg \
200 sfx2/source/dialog/splitwin \
201 sfx2/source/dialog/srchdlg \
202 sfx2/source/dialog/styfitem \
203 sfx2/source/dialog/styledlg \
204 sfx2/source/dialog/tabdlg \
205 sfx2/source/dialog/templdlg \
206 sfx2/source/dialog/StyleList \
207 sfx2/source/dialog/tplcitem \
208 sfx2/source/dialog/tplpitem \
209 sfx2/source/dialog/versdlg \
210 sfx2/source/doc/DocumentMetadataAccess \
211 sfx2/source/doc/DocumentSigner \
212 sfx2/source/doc/Metadatable \
213 sfx2/source/doc/QuerySaveDocument \
214 sfx2/source/doc/SfxDocumentMetaData \
215 sfx2/source/doc/autoredactdialog \
216 sfx2/source/doc/docfac \
217 sfx2/source/doc/docfile \
218 sfx2/source/doc/docfilt \
219 sfx2/source/doc/docinf \
220 sfx2/source/doc/docinsert \
221 sfx2/source/doc/docmacromode \
222 sfx2/source/doc/docstoragemodifylistener \
223 sfx2/source/doc/doctempl \
224 sfx2/source/doc/doctemplates \
225 sfx2/source/doc/doctemplateslocal \
226 sfx2/source/doc/exoticfileloadexception \
227 sfx2/source/doc/frmdescr \
228 sfx2/source/doc/graphhelp \
229 sfx2/source/doc/guisaveas \
230 sfx2/source/doc/iframe \
231 sfx2/source/doc/new \
232 sfx2/source/doc/objcont \
233 sfx2/source/doc/objembed \
234 sfx2/source/doc/objitem \
235 sfx2/source/doc/objmisc \
236 sfx2/source/doc/objserv \
237 sfx2/source/doc/objstor \
238 sfx2/source/doc/objxtor \
239 sfx2/source/doc/oleprops \
240 sfx2/source/doc/ownsubfilterservice \
241 sfx2/source/doc/printhelper \
242 sfx2/source/doc/docundomanager \
243 sfx2/source/doc/sfxbasemodel \
244 sfx2/source/doc/sfxmodelfactory \
245 sfx2/source/doc/SfxRedactionHelper \
246 sfx2/source/doc/signaturestate \
247 sfx2/source/doc/syspath \
248 sfx2/source/doc/zoomitem \
249 sfx2/source/doc/templatedlg \
250 sfx2/source/doc/watermarkitem \
251 sfx2/source/doc/saveastemplatedlg \
252 sfx2/source/explorer/nochaos \
253 sfx2/source/inet/inettbc \
254 sfx2/source/notebookbar/SfxNotebookBar \
255 sfx2/source/notebookbar/NotebookbarTabControl \
256 sfx2/source/notify/eventsupplier \
257 sfx2/source/notify/globalevents \
258 sfx2/source/notify/hintpost \
259 sfx2/source/notify/openurlhint \
260 sfx2/source/safemode/safemode \
261 sfx2/source/sidebar/Sidebar \
262 sfx2/source/sidebar/SidebarChildWindow \
263 sfx2/source/sidebar/SidebarDockingWindow \
264 sfx2/source/sidebar/SidebarController \
265 sfx2/source/sidebar/SidebarModelUpdate \
266 sfx2/source/sidebar/SidebarPanelBase \
267 sfx2/source/sidebar/SidebarToolBox \
268 sfx2/source/sidebar/AsynchronousCall \
269 sfx2/source/sidebar/Context \
270 sfx2/source/sidebar/ContextChangeBroadcaster \
271 sfx2/source/sidebar/ContextList \
272 sfx2/source/sidebar/ControllerFactory \
273 sfx2/source/sidebar/ControllerItem \
274 sfx2/source/sidebar/Deck \
275 sfx2/source/sidebar/DeckDescriptor \
276 sfx2/source/sidebar/DeckLayouter \
277 sfx2/source/sidebar/DeckTitleBar \
278 sfx2/source/sidebar/FocusManager \
279 sfx2/source/sidebar/IContextChangeReceiver \
280 sfx2/source/sidebar/ILayoutableWindow \
281 sfx2/source/sidebar/Panel \
282 sfx2/source/sidebar/PanelDescriptor \
283 sfx2/source/sidebar/PanelLayout \
284 sfx2/source/sidebar/PanelTitleBar \
285 sfx2/source/sidebar/ResourceManager \
286 sfx2/source/sidebar/TabBar \
287 sfx2/source/sidebar/TitleBar \
288 sfx2/source/sidebar/Theme \
289 sfx2/source/sidebar/Tools \
290 sfx2/source/sidebar/UnoPanel \
291 sfx2/source/sidebar/UnoPanels \
292 sfx2/source/sidebar/UnoDeck \
293 sfx2/source/sidebar/UnoDecks \
294 sfx2/source/sidebar/UnoSidebar \
295 sfx2/source/statbar/stbitem \
296 sfx2/source/styles/StyleManager \
297 sfx2/source/toolbox/tbxitem \
298 sfx2/source/toolbox/weldutils \
299 sfx2/source/view/classificationcontroller \
300 sfx2/source/view/classificationhelper \
301 sfx2/source/view/frame \
302 sfx2/source/view/frame2 \
303 sfx2/source/view/frmload \
304 sfx2/source/view/ipclient \
305 sfx2/source/view/lokcharthelper \
306 sfx2/source/view/lokstarmathhelper \
307 sfx2/source/view/lokhelper \
308 sfx2/source/view/printer \
309 sfx2/source/view/sfxbasecontroller \
310 sfx2/source/view/userinputinterception \
311 sfx2/source/view/viewfac \
312 sfx2/source/view/viewfrm \
313 sfx2/source/view/viewfrm2 \
314 sfx2/source/view/viewprn \
315 sfx2/source/view/viewsh \
318 $(eval $(call gb_SdiTarget_SdiTarget,sfx2/sdi/sfxslots,sfx2/sdi/sfx))
320 $(eval $(call gb_SdiTarget_set_include,sfx2/sdi/sfxslots,\
321 $$(INCLUDE) \
322 -I$(SRCDIR)/sfx2/inc \
323 -I$(SRCDIR)/sfx2/sdi \
326 ifeq ($(OS),$(filter WNT MACOSX,$(OS)))
327 $(eval $(call gb_Library_add_defs,sfx,\
328 -DENABLE_QUICKSTART_APPLET \
330 endif
332 ifeq ($(OS),MACOSX)
333 $(eval $(call gb_Library_add_cxxflags,sfx,\
334 $(gb_OBJCXXFLAGS) \
336 $(eval $(call gb_Library_add_objcxxobjects,sfx,\
337 sfx2/source/appl/shutdowniconaqua \
339 $(eval $(call gb_Library_add_libs,sfx,\
340 -lobjc \
342 $(eval $(call gb_Library_use_system_darwin_frameworks,sfx,\
343 Cocoa \
345 endif
347 ifeq ($(OS),WNT)
349 $(eval $(call gb_Library_add_exception_objects,sfx,\
350 sfx2/source/appl/shutdowniconw32 \
351 sfx2/source/doc/syspathw32 \
354 $(eval $(call gb_Library_use_system_win32_libs,sfx,\
355 advapi32 \
356 gdi32 \
357 ole32 \
358 shell32 \
359 uuid \
362 endif
364 # vim: set noet sw=4 ts=4: