bump product version to 5.0.4.1
[LibreOffice.git] / sfx2 / Library_sfx.mk
blob0a1100e1f51a4103e970c071fcca30e8a47a811e
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,\
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 ifeq ($(ENABLE_SYSTRAY_GTK),TRUE)
48 $(eval $(call gb_Library_add_defs,sfx,\
49 -DENABLE_QUICKSTART_APPLET \
50 -DENABLE_SYSTRAY_GTK \
51 -DPLUGIN_NAME=libqstart_gtk$(gb_Library_OOOEXT) \
53 endif
55 $(eval $(call gb_Library_use_libraries,sfx,\
56 basegfx \
57 comphelper \
58 cppu \
59 cppuhelper \
60 drawinglayer \
61 fwe \
62 i18nlangtag \
63 i18nutil \
64 sal \
65 salhelper \
66 sax \
67 sb \
68 sot \
69 svl \
70 svt \
71 tk \
72 tl \
73 ucbhelper \
74 utl \
75 vcl \
76 $(gb_UWINAPI) \
79 $(eval $(call gb_Library_use_externals,sfx,\
80 boost_headers \
81 libxml2 \
84 $(eval $(call gb_Library_add_exception_objects,sfx,\
85 sfx2/source/appl/app \
86 sfx2/source/appl/appbas \
87 sfx2/source/appl/appbaslib \
88 sfx2/source/appl/appcfg \
89 sfx2/source/appl/appchild \
90 sfx2/source/appl/appdata \
91 sfx2/source/appl/appdde \
92 sfx2/source/appl/appdispatchprovider \
93 sfx2/source/appl/appinit \
94 sfx2/source/appl/appmain \
95 sfx2/source/appl/appmisc \
96 sfx2/source/appl/appopen \
97 sfx2/source/appl/appquit \
98 sfx2/source/appl/appreg \
99 sfx2/source/appl/appserv \
100 sfx2/source/appl/appuno \
101 sfx2/source/appl/childwin \
102 sfx2/source/appl/childwinimpl \
103 sfx2/source/appl/fileobj \
104 sfx2/source/appl/fwkhelper \
105 sfx2/source/appl/helpdispatch \
106 sfx2/source/appl/helpinterceptor \
107 sfx2/source/appl/imagemgr \
108 sfx2/source/appl/imestatuswindow \
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/sfxhelp \
119 sfx2/source/appl/sfxpicklist \
120 sfx2/source/appl/shellimpl \
121 sfx2/source/appl/shutdownicon \
122 sfx2/source/appl/workwin \
123 sfx2/source/appl/xpackcreator \
124 sfx2/source/bastyp/bitset \
125 sfx2/source/bastyp/dummytypes \
126 sfx2/source/bastyp/fltfnc \
127 sfx2/source/bastyp/fltlst \
128 sfx2/source/bastyp/frmhtml \
129 sfx2/source/bastyp/frmhtmlw \
130 sfx2/source/bastyp/helper \
131 sfx2/source/bastyp/mieclip \
132 sfx2/source/bastyp/progress \
133 sfx2/source/bastyp/sfxhtml \
134 sfx2/source/bastyp/sfxresid \
135 sfx2/source/config/evntconf \
136 sfx2/source/control/bindings \
137 sfx2/source/control/ctrlitem \
138 sfx2/source/control/ctrlfactoryimpl \
139 sfx2/source/control/dispatch \
140 sfx2/source/control/itemdel \
141 sfx2/source/control/minfitem \
142 sfx2/source/control/msg \
143 sfx2/source/control/msgpool \
144 sfx2/source/control/objface \
145 sfx2/source/control/querystatus \
146 sfx2/source/control/recentdocsview \
147 sfx2/source/control/recentdocsviewitem \
148 sfx2/source/control/request \
149 sfx2/source/control/sfxstatuslistener \
150 sfx2/source/control/shell \
151 sfx2/source/control/sorgitm \
152 sfx2/source/control/statcach \
153 sfx2/source/control/templateabstractview \
154 sfx2/source/control/templatedefaultview \
155 sfx2/source/control/templateviewitem \
156 sfx2/source/control/templatelocalview \
157 sfx2/source/control/templatecontaineritem \
158 sfx2/source/control/templateremoteview \
159 sfx2/source/control/templatesearchview \
160 sfx2/source/control/thumbnailviewitem \
161 sfx2/source/control/thumbnailviewacc \
162 sfx2/source/control/thumbnailview \
163 sfx2/source/control/unoctitm \
164 sfx2/source/dialog/alienwarn \
165 sfx2/source/dialog/backingcomp \
166 sfx2/source/dialog/backingwindow \
167 sfx2/source/dialog/basedlgs \
168 sfx2/source/dialog/checkin \
169 sfx2/source/dialog/dialoghelper \
170 sfx2/source/dialog/dinfdlg \
171 sfx2/source/dialog/dinfedt \
172 sfx2/source/dialog/dockwin \
173 sfx2/source/dialog/documentfontsdialog \
174 sfx2/source/dialog/filedlghelper \
175 sfx2/source/dialog/filtergrouping \
176 sfx2/source/dialog/itemconnect \
177 sfx2/source/dialog/infobar \
178 sfx2/source/dialog/inputdlg \
179 sfx2/source/dialog/mailmodel \
180 sfx2/source/dialog/bluthsnd \
181 sfx2/source/dialog/mgetempl \
182 sfx2/source/dialog/navigat \
183 sfx2/source/dialog/newstyle \
184 sfx2/source/dialog/partwnd \
185 sfx2/source/dialog/passwd \
186 sfx2/source/dialog/printopt \
187 sfx2/source/dialog/recfloat \
188 sfx2/source/dialog/securitypage \
189 sfx2/source/dialog/sfxdlg \
190 sfx2/source/dialog/splitwin \
191 sfx2/source/dialog/srchdlg \
192 sfx2/source/dialog/styfitem \
193 sfx2/source/dialog/styledlg \
194 sfx2/source/dialog/tabdlg \
195 sfx2/source/dialog/taskpane \
196 sfx2/source/dialog/templateinfodlg \
197 sfx2/source/dialog/templdlg \
198 sfx2/source/dialog/titledockwin \
199 sfx2/source/dialog/tplcitem \
200 sfx2/source/dialog/tplpitem \
201 sfx2/source/dialog/versdlg \
202 sfx2/source/doc/DocumentMetadataAccess \
203 sfx2/source/doc/Metadatable \
204 sfx2/source/doc/QuerySaveDocument \
205 sfx2/source/doc/SfxDocumentMetaData \
206 sfx2/source/doc/docfac \
207 sfx2/source/doc/docfile \
208 sfx2/source/doc/docfilt \
209 sfx2/source/doc/docinf \
210 sfx2/source/doc/docinsert \
211 sfx2/source/doc/docmacromode \
212 sfx2/source/doc/docstoragemodifylistener \
213 sfx2/source/doc/doctempl \
214 sfx2/source/doc/doctemplates \
215 sfx2/source/doc/doctemplateslocal \
216 sfx2/source/doc/frmdescr \
217 sfx2/source/doc/graphhelp \
218 sfx2/source/doc/guisaveas \
219 sfx2/source/doc/iframe \
220 sfx2/source/doc/new \
221 sfx2/source/doc/objcont \
222 sfx2/source/doc/objembed \
223 sfx2/source/doc/objitem \
224 sfx2/source/doc/objmisc \
225 sfx2/source/doc/objserv \
226 sfx2/source/doc/objstor \
227 sfx2/source/doc/objxtor \
228 sfx2/source/doc/oleprops \
229 sfx2/source/doc/ownsubfilterservice \
230 sfx2/source/doc/plugin \
231 sfx2/source/doc/printhelper \
232 sfx2/source/doc/querytemplate \
233 sfx2/source/doc/docundomanager \
234 sfx2/source/doc/sfxacldetect \
235 sfx2/source/doc/sfxbasemodel \
236 sfx2/source/doc/sfxmodelfactory \
237 sfx2/source/doc/syspath \
238 sfx2/source/doc/zoomitem \
239 sfx2/source/doc/templatedlg \
240 sfx2/source/explorer/nochaos \
241 sfx2/source/inet/inettbc \
242 sfx2/source/menu/mnuitem \
243 sfx2/source/menu/mnumgr \
244 sfx2/source/menu/thessubmenu \
245 sfx2/source/menu/virtmenu \
246 sfx2/source/notify/eventsupplier \
247 sfx2/source/notify/globalevents \
248 sfx2/source/notify/hintpost \
249 sfx2/source/notify/stringhint \
250 sfx2/source/sidebar/Sidebar \
251 sfx2/source/sidebar/SidebarChildWindow \
252 sfx2/source/sidebar/SidebarDockingWindow \
253 sfx2/source/sidebar/SidebarController \
254 sfx2/source/sidebar/SidebarPanelBase \
255 sfx2/source/sidebar/SidebarToolBox \
256 sfx2/source/sidebar/Accessible \
257 sfx2/source/sidebar/AccessibleTitleBar \
258 sfx2/source/sidebar/AsynchronousCall \
259 sfx2/source/sidebar/CommandInfoProvider \
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/EnumContext \
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/statbar/stbitem \
287 sfx2/source/toolbox/imgmgr \
288 sfx2/source/toolbox/tbxitem \
289 sfx2/source/view/frame \
290 sfx2/source/view/frame2 \
291 sfx2/source/view/frmload \
292 sfx2/source/view/ipclient \
293 sfx2/source/view/printer \
294 sfx2/source/view/sfxbasecontroller \
295 sfx2/source/view/userinputinterception \
296 sfx2/source/view/viewfac \
297 sfx2/source/view/viewfrm \
298 sfx2/source/view/viewfrm2 \
299 sfx2/source/view/viewprn \
300 sfx2/source/view/viewsh \
303 $(eval $(call gb_SdiTarget_SdiTarget,sfx2/sdi/sfxslots,sfx2/sdi/sfx))
305 $(eval $(call gb_SdiTarget_set_include,sfx2/sdi/sfxslots,\
306 $$(INCLUDE) \
307 -I$(SRCDIR)/sfx2/inc \
308 -I$(SRCDIR)/sfx2/sdi \
311 ifeq ($(OS),$(filter WNT MACOSX,$(OS)))
312 $(eval $(call gb_Library_add_defs,sfx,\
313 -DENABLE_QUICKSTART_APPLET \
315 endif
317 ifeq ($(OS),MACOSX)
318 $(eval $(call gb_Library_add_objcxxobjects,sfx,\
319 sfx2/source/appl/shutdowniconaqua \
321 $(eval $(call gb_Library_add_libs,sfx,\
322 -lobjc \
324 $(eval $(call gb_Library_use_system_darwin_frameworks,sfx,\
325 Cocoa \
327 endif
329 ifeq ($(OS),WNT)
331 $(eval $(call gb_Library_add_exception_objects,sfx,\
332 sfx2/source/appl/shutdowniconw32 \
333 sfx2/source/doc/syspathw32 \
336 $(eval $(call gb_Library_use_system_win32_libs,sfx,\
337 advapi32 \
338 gdi32 \
339 ole32 \
340 shell32 \
341 uuid \
344 endif
346 # Runtime dependency for unit-tests
347 $(eval $(call gb_Library_use_restarget,sfx,sfx))
349 # vim: set noet sw=4 ts=4: