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_Helper_register_executables
,NONE
, \
28 $(if
$(filter MSC
,$(COM
)), \
39 $(if
$(ENABLE_TELEPATHY
),liboapprover
) \
40 $(if
$(filter IOS
,$(OS
)),LibreOffice
) \
65 $(if
$(filter-out ANDROID IOS WNT
,$(OS
)), \
73 $(eval
$(call gb_Helper_register_executables_for_install
,SDK
,sdk
, \
74 $(if
$(filter MSC
,$(COM
)),climaker
) \
79 $(if
$(filter UCPP
,$(BUILD_TYPE
)),ucpp
) \
80 $(if
$(filter ODK
,$(BUILD_TYPE
)),unoapploader
) \
81 $(if
$(filter ODK
,$(BUILD_TYPE
)),uno-skeletonmaker
) \
84 $(eval
$(call gb_Helper_register_executables_for_install
,OOO
,ooo
, \
88 $(eval
$(call gb_Helper_register_executables
,OOO
, \
89 $(call gb_Helper_optional
,CRASHREP
,crashrep
) \
91 $(if
$(ENABLE_NPAPI_INTO_BROWSER
),nsplugin
) \
92 $(if
$(filter-out ANDROID IOS MACOSX WNT
,$(OS
)),oosplash
) \
93 $(if
$(ENABLE_NPAPI_FROM_BROWSER
),pluginapp.bin
) \
95 $(if
$(filter $(GUIBASE
)$(ENABLE_GTK
),unxTRUE
), \
96 xid-fullscreen-on-all-monitors \
98 $(if
$(filter $(GUIBASE
)$(ENABLE_TDE
),unxTRUE
), \
102 $(if
$(filter $(GUIBASE
)$(ENABLE_KDE
),unxTRUE
), \
107 $(if
$(filter DESKTOP
,$(BUILD_TYPE
)),unopkg_bin
) \
109 $(if
$(filter WNT
,$(OS
)), \
129 $(eval
$(call gb_Helper_register_executables_for_install
,UREBIN
,ure
,\
130 $(if
$(and
$(ENABLE_JAVA
),$(filter-out MACOSX WNT
,$(OS
)),$(filter DESKTOP
,$(BUILD_TYPE
))),javaldx
) \
133 $(if
$(filter DESKTOP
,$(BUILD_TYPE
)),uno
) \
136 ifeq ($(ENABLE_NPAPI_INTO_BROWSER
),TRUE
)
137 $(eval
$(call gb_Helper_register_libraries
,PLAINLIBS_OOO
, \
144 $(eval
$(call gb_Helper_register_libraries
,PLAINLIBS_NONE
, \
145 OOoSpotlightImporter \
150 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,base
, \
156 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,calc
, \
158 $(call gb_Helper_optional
,DBCONNECTIVITY
,calc
) \
166 $(if
$(ENABLE_OPENCL
),scopencl
) \
167 $(if
$(ENABLE_COINMP
)$(ENABLE_LPSOLVE
),solver
) \
168 $(if
$(DISABLE_SCRIPTING
),,vbaobj
) \
169 $(if
$(ENABLE_TELEPATHY
),tubes
) \
172 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,graphicfilter
, \
179 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,tde
, \
180 $(if
$(ENABLE_TDE
),tdebe1
) \
183 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,impress
, \
187 PresentationMinimizer \
191 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,onlineupdate
, \
192 $(if
$(ENABLE_ONLINE_UPDATE
), \
198 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,gnome
, \
199 $(if
$(ENABLE_EVOAB2
),evoab
) \
200 $(if
$(ENABLE_GTK
),vclplug_gtk
) \
201 $(if
$(ENABLE_GTK3
),vclplug_gtk3
) \
202 $(if
$(ENABLE_GCONF
),gconfbe1
) \
203 $(if
$(ENABLE_SYSTRAY_GTK
),qstart_gtk
) \
204 $(if
$(ENABLE_GIO
),losessioninstall
) \
205 $(if
$(ENABLE_GIO
),ucpgio1
) \
206 $(if
$(ENABLE_GNOMEVFS
),ucpgvfs1
) \
209 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,kde
, \
210 $(if
$(ENABLE_KDE
),kdebe1
) \
211 $(if
$(ENABLE_KDE4
),kde4be1
) \
214 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,math
, \
219 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,ooo
, \
221 $(call gb_Helper_optional
,AVMEDIA
,avmedia
) \
222 $(if
$(DISABLE_SCRIPTING
),,basctl
) \
223 $(if
$(DISABLE_SCRIPTING
),,basprov
) \
226 $(if
$(ENABLE_CAIRO_CANVAS
),cairocanvas
) \
232 $(if
$(filter $(OS
),MACOSX WNT
),,cmdmail
) \
237 $(call gb_Helper_optional
,DBCONNECTIVITY
, \
244 $(if
$(filter-out MACOSX WNT
,$(OS
)),desktopbe1
) \
245 $(if
$(filter unx
,$(GUIBASE
)),desktop_detector
) \
246 $(if
$(DISABLE_SCRIPTING
),,dlgprov
) \
247 $(if
$(ENABLE_DIRECTX
),directx9canvas
) \
248 $(if
$(ENABLE_OPENGL_CANVAS
),oglcanvas
) \
253 $(if
$(filter WNT
,$(OS
)),$(if
$(DISABLE_ATL
),,emser
)) \
264 $(call gb_Helper_optional
,DBCONNECTIVITY
, \
268 $(if
$(filter $(ENABLE_FIREBIRD_SDBC
),TRUE
),firebird_sdbc
) \
279 $(if
$(ENABLE_DIRECTX
),gdipluscanvas
) \
281 $(if
$(filter DESKTOP
,$(BUILD_TYPE
)),helplinker
) \
297 $(if
$(ENABLE_JAVA
),jdbc
) \
298 $(if
$(ENABLE_KAB
),kab1
) \
299 $(if
$(ENABLE_KAB
),kabdrv1
) \
305 $(if
$(filter $(OS
),MACOSX
),macbe1
) \
306 $(if
$(MERGELIBS
),merged
) \
310 $(if
$(DISABLE_SCRIPTING
),,msforms
) \
312 $(call gb_Helper_optional
,DBCONNECTIVITY
,mysql
) \
319 $(if
$(ENABLE_NPAPI_FROM_BROWSER
),pl
) \
321 $(if
$(DISABLE_SCRIPTING
),,protocolhandler
) \
325 $(call gb_Helper_optional
,DBCONNECTIVITY
,sdbt
) \
336 $(if
$(ENABLE_HEADLESS
),,spl
) \
338 $(if
$(DISABLE_SCRIPTING
),,stringresource
) \
346 $(if
$(ENABLE_TDEAB
),tdeab1
) \
347 $(if
$(ENABLE_TDEAB
),tdeabdrv1
) \
361 $(if
$(DISABLE_SCRIPTING
),,vbaevents
) \
362 $(if
$(DISABLE_SCRIPTING
),,vbahelper
) \
366 $(if
$(and
$(filter unx
,$(GUIBASE
)),$(filter-out MACOSX
,$(OS
))), \
368 $(if
$(ENABLE_TDE
),vclplug_tde
) \
369 $(if
$(ENABLE_KDE
),vclplug_kde
) \
370 $(if
$(ENABLE_KDE4
),vclplug_kde4
) \
371 $(if
$(ENABLE_HEADLESS
),,vclplug_svp
) \
381 $(if
$(filter $(OS
),WNT
), \
383 $(if
$(DISABLE_ATL
),,oleautobridge
) \
386 $(if
$(WITH_MOZAB4WIN
), \
390 $(if
$(WITH_MOZAB4WIN
),,mozbootstrap
) \
392 $(if
$(filter $(OS
),WNT
),, \
396 $(if
$(filter $(OS
),MACOSX
), \
397 $(if
$(ENABLE_MACOSX_SANDBOX
),, \
405 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,writer
, \
407 $(if
$(ENABLE_LWP
),lwpft
) \
412 $(if
$(DISABLE_SCRIPTING
),,vbaswobj
) \
417 $(eval
$(call gb_Helper_register_libraries
,OOOLIBS
, \
421 $(if
$(filter $(OS
),ANDROID
),, \
426 $(call gb_Helper_optional
,DBCONNECTIVITY
,sdbc
) \
437 ifneq (,$(filter ANDROID IOS
,$(OS
)))
439 $(eval
$(call gb_Helper_register_libraries
,OOOLIBS
, \
445 $(eval
$(call gb_Helper_register_libraries
,PLAINLIBS_NONE
, \
451 testtools_bridgetest \
452 testtools_constructors \
453 unobootstrapprotector \
454 unoexceptionprotector \
460 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_URE
,ure
, \
462 $(if
$(filter MSC
,$(COM
)),cli_uno
) \
463 $(if
$(ENABLE_JAVA
), \
466 $(if
$(filter $(OS
),WNT
),jpipx
) \
472 $(if
$(URELIBS
),urelibs
) \
473 $(if
$(filter MSC
,$(COM
)),$(if
$(filter INTEL
,$(CPUNAME
)),msci
,mscx
),gcc3
)_uno \
474 $(if
$(filter $(OS
),WNT
), \
479 $(eval
$(call gb_Helper_register_libraries_for_install
,PRIVATELIBS_URE
,ure
, \
486 $(if
$(ENABLE_JAVA
),javaloader
) \
487 $(if
$(ENABLE_JAVA
),javavm
) \
488 $(if
$(ENABLE_JAVA
),jvmaccess
) \
489 $(if
$(ENABLE_JAVA
),jvmfwk
) \
497 $(if
$(ENABLE_JAVA
),sunjavaplugin
) \
503 # this is NONE even though it is actually in URE because it is CliNativeLibrary
504 $(eval
$(call gb_Helper_register_libraries
,PLAINLIBS_NONE
, \
505 $(if
$(filter MSC
,$(COM
)),cli_cppuhelper
) \
508 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,ooo
, \
509 $(if
$(ENABLE_VLC
),avmediavlc
) \
510 $(if
$(ENABLE_GSTREAMER
),avmediagst
) \
511 $(if
$(ENABLE_GSTREAMER_0_10
),avmediagst_0_10
) \
512 $(if
$(ENABLE_DIRECTX
),avmediawin
) \
513 $(if
$(ENABLE_GLTF
),avmediaogl
) \
517 $(call gb_Helper_optional
,DBCONNECTIVITY
,dbpool2
) \
523 $(if
$(ENABLE_JAVA
),hsqldb
) \
532 $(if
$(ENABLE_JAVA
), \
533 $(if
$(filter $(OS
),MACOSX
),,officebean
) \
535 $(if
$(filter WNT-TRUE
,$(OS
)-$(DISABLE_ATL
)),,emboleobj
) \
537 $(if
$(and
$(filter unx
,$(GUIBASE
)),$(filter-out MACOSX
,$(OS
))),recentfile
) \
538 $(if
$(DISABLE_SCRIPTING
),,scriptframe
) \
542 $(if
$(filter $(OS
),WNT
),sysdtrans
) \
546 $(if
$(WITH_WEBDAV
),ucpdav1
) \
556 $(if
$(filter $(OS
),MACOSX
), \
560 $(if
$(filter WNT
,$(OS
)), \
565 $(if
$(DISABLE_ATL
),,\
572 $(eval
$(call gb_Helper_register_libraries
,PLAINLIBS_OOO
, \
576 $(if
$(filter $(OS
),ANDROID
), \
582 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,activexbinarytable
, \
583 $(if
$(DISABLE_ACTIVEX
),,\
588 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,ooobinarytable
, \
589 $(if
$(WINDOWS_SDK_HOME
),\
600 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,winexplorerextbinarytable
, \
604 $(eval
$(call gb_Helper_register_libraries
,PLAINLIBS_SHLXTHDL
, \
613 $(eval
$(call gb_Helper_register_libraries
,PLAINLIBS_OOO
, \
623 $(eval
$(call gb_Helper_register_libraries_for_install
,RTVERLIBS
,ure
, \
629 $(eval
$(call gb_Helper_register_libraries
,OOOLIBS
, \
633 postgresql-sdbc-impl \
637 $(eval
$(call gb_Helper_register_libraries_for_install
,UNOVERLIBS
,ure
, \
642 $(eval
$(call gb_Helper_register_libraries
,EXTENSIONLIBS
, \
648 ifneq ($(ENABLE_JAVA
),)
649 $(eval
$(call gb_Helper_register_jars_for_install
,URE
,ure
, \
657 $(eval
$(call gb_Helper_register_jars_for_install
,OOO
,ooo
, \
659 ScriptProviderForJava \
663 $(if
$(filter-out MACOSX
,$(OS
)),officebean
) \
673 $(eval
$(call gb_Helper_register_jars_for_install
,OOO
,reportbuilder
, \
675 reportbuilderwizard \
678 ifneq ($(ENABLE_SCRIPTING_BEANSHELL
),)
679 $(eval
$(call gb_Helper_register_jars_for_install
,OOO
,extensions_bsh
, \
680 ScriptProviderForBeanShell \
684 ifneq ($(ENABLE_SCRIPTING_JAVASCRIPT
),)
685 $(eval
$(call gb_Helper_register_jars_for_install
,OOO
,extensions_rhino
, \
686 ScriptProviderForJavaScript \
690 $(eval
$(call gb_Helper_register_jars
,OXT
, \
698 $(eval
$(call gb_Helper_register_jars
,NONE
,\
712 $(eval
$(call gb_Helper_register_packages_for_install
,ure
,\
714 $(if
$(ENABLE_JAVA
),\
716 jvmfwk_jreproperties \
717 $(if
$(filter MACOSX
,$(OS
)),bridges_jnilib_java_uno
) \
721 $(eval
$(call gb_Helper_register_packages_for_install
,ooo
,\
725 # External executables
726 $(eval
$(call gb_ExternalExecutable_register_executables
,\
736 # vim: set noet sw=4 ts=4: