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
)), \
70 $(if
$(and
$(ENABLE_GTK
), $(filter LINUX
,$(OS
))), tilebench
) \
71 $(if
$(filter LINUX MACOSX WNT
,$(OS
)),icontest \
76 $(if
$(and
$(ENABLE_GTK
), $(filter LINUX
,$(OS
))), gtktiledviewer
) \
79 $(eval
$(call gb_Helper_register_executables_for_install
,SDK
,sdk
, \
80 $(if
$(filter MSC
,$(COM
)),climaker
) \
85 $(if
$(filter UCPP
,$(BUILD_TYPE
)),ucpp
) \
86 $(if
$(filter ODK
,$(BUILD_TYPE
)),unoapploader
) \
87 $(if
$(filter ODK
,$(BUILD_TYPE
)),uno-skeletonmaker
) \
90 $(eval
$(call gb_Helper_register_executables_for_install
,OOO
,brand
, \
91 $(if
$(filter-out ANDROID IOS MACOSX WNT
,$(OS
)),oosplash
) \
93 $(if
$(filter DESKTOP
,$(BUILD_TYPE
)),unopkg_bin
) \
94 $(if
$(filter WNT
,$(OS
)), \
102 $(eval
$(call gb_Helper_register_executables_for_install
,OOO
,base_brand
, \
103 $(if
$(filter WNT
,$(OS
)), \
108 $(eval
$(call gb_Helper_register_executables_for_install
,OOO
,base
, \
109 $(if
$(filter WNT
,$(OS
)), \
114 $(eval
$(call gb_Helper_register_executables_for_install
,OOO
,calc_brand
, \
115 $(if
$(filter WNT
,$(OS
)), \
120 $(eval
$(call gb_Helper_register_executables_for_install
,OOO
,draw_brand
, \
121 $(if
$(filter WNT
,$(OS
)), \
126 $(eval
$(call gb_Helper_register_executables_for_install
,OOO
,impress_brand
, \
127 $(if
$(filter WNT
,$(OS
)), \
132 $(eval
$(call gb_Helper_register_executables_for_install
,OOO
,math_brand
, \
133 $(if
$(filter WNT
,$(OS
)), \
138 $(eval
$(call gb_Helper_register_executables_for_install
,OOO
,writer_brand
, \
139 $(if
$(filter WNT
,$(OS
)), \
145 $(eval
$(call gb_Helper_register_executables_for_install
,OOO
,ooo
, \
147 $(if
$(filter unx-TRUE
,$(GUIBASE
)-$(ENABLE_NPAPI_FROM_BROWSER
)),pluginapp.bin
) \
148 $(if
$(filter unx-TRUE
,$(GUIBASE
)-$(ENABLE_TDE
)),tdefilepicker
) \
149 $(if
$(filter WNT
,$(OS
)),,uri-encode
) \
150 $(if
$(ENABLE_MACOSX_SANDBOX
),, \
153 $(if
$(filter WNT
,$(OS
)), \
159 $(eval
$(call gb_Helper_register_executables_for_install
,OOO
,quickstart
, \
164 $(eval
$(call gb_Helper_register_executables_for_install
,OOO
,python
, \
165 $(if
$(filter WNT
,$(OS
)), \
170 ifeq ($(GUIBASE
),unx
)
171 $(eval
$(call gb_Helper_register_executables_for_install
,OOO
,gnome
, \
173 xid-fullscreen-on-all-monitors \
178 ifneq ($(ENABLE_PDFIMPORT
),)
179 $(eval
$(call gb_Helper_register_executables_for_install
,OOO
,pdfimport
, \
184 $(eval
$(call gb_Helper_register_executables_for_install
,UREBIN
,ure
,\
185 $(if
$(and
$(ENABLE_JAVA
),$(filter-out MACOSX WNT
,$(OS
)),$(filter DESKTOP
,$(BUILD_TYPE
))),javaldx
) \
186 $(if
$(ENABLE_MACOSX_SANDBOX
),, \
190 $(if
$(filter DESKTOP
,$(BUILD_TYPE
)),uno
) \
193 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,base
, \
199 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,calc
, \
201 $(call gb_Helper_optional
,DBCONNECTIVITY
,calc
) \
209 $(if
$(ENABLE_COINMP
)$(ENABLE_LPSOLVE
),solver
) \
210 $(call gb_Helper_optional
,SCRIPTING
,vbaobj
) \
213 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,graphicfilter
, \
220 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,tde
, \
221 $(if
$(ENABLE_TDE
),tdebe1
) \
224 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,impress
, \
228 PresentationMinimizer \
232 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,onlineupdate
, \
233 $(if
$(ENABLE_ONLINE_UPDATE
), \
239 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,gnome
, \
240 $(if
$(ENABLE_EVOAB2
),evoab
) \
241 $(if
$(ENABLE_GTK
),vclplug_gtk
) \
242 $(if
$(ENABLE_GTK3
),vclplug_gtk3
) \
243 $(if
$(ENABLE_GCONF
),gconfbe1
) \
244 $(if
$(ENABLE_SYSTRAY_GTK
),qstart_gtk
) \
245 $(if
$(ENABLE_GIO
),losessioninstall
) \
246 $(if
$(ENABLE_GIO
),ucpgio1
) \
247 $(if
$(ENABLE_GNOMEVFS
),ucpgvfs1
) \
250 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,kde
, \
251 $(if
$(ENABLE_KDE
),kdebe1
) \
252 $(if
$(ENABLE_KDE4
),kde4be1
) \
253 $(if
$(and
$(filter unx
,$(GUIBASE
)),$(filter-out MACOSX
,$(OS
))), \
254 $(if
$(ENABLE_KDE
),vclplug_kde
) \
255 $(if
$(ENABLE_KDE4
),vclplug_kde4
) \
259 $(eval
$(call gb_Helper_register_executables_for_install
,OOO
,kde
, \
260 $(if
$(filter $(GUIBASE
)$(ENABLE_KDE
),unxTRUE
), \
265 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,math
, \
270 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,ogltrans
, \
274 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,ooo
, \
276 $(call gb_Helper_optional
,AVMEDIA
,avmedia
) \
277 $(if
$(filter MACOSX
,$(OS
)),\
279 $(if
$(ENABLE_MACOSX_SANDBOX
),,avmediaQuickTime
) \
281 $(call gb_Helper_optional
,SCRIPTING
, \
285 $(if
$(filter $(OS
),ANDROID
),, \
290 $(if
$(ENABLE_CAIRO_CANVAS
),cairocanvas
) \
296 $(call gb_Helper_optional
,OPENCL
,clew
) \
297 $(if
$(filter $(OS
),WNT
),,cmdmail
) \
302 $(call gb_Helper_optional
,DBCONNECTIVITY
, \
309 $(if
$(filter-out MACOSX WNT
,$(OS
)),desktopbe1
) \
310 $(if
$(filter unx
,$(GUIBASE
)),desktop_detector
) \
311 $(call gb_Helper_optional
,SCRIPTING
,dlgprov
) \
312 $(if
$(ENABLE_DIRECTX
),directx9canvas
) \
313 $(if
$(ENABLE_OPENGL_CANVAS
),oglcanvas
) \
318 $(if
$(filter WNT
,$(OS
)),$(if
$(DISABLE_ATL
),,emser
)) \
329 $(call gb_Helper_optional
,DBCONNECTIVITY
, \
333 $(if
$(filter $(ENABLE_FIREBIRD_SDBC
),TRUE
),firebird_sdbc
) \
344 $(if
$(ENABLE_DIRECTX
),gdipluscanvas
) \
346 $(if
$(filter DESKTOP
,$(BUILD_TYPE
)),helplinker
) \
362 $(if
$(ENABLE_JAVA
),jdbc
) \
363 $(if
$(ENABLE_KAB
),kab1
) \
364 $(if
$(ENABLE_KAB
),kabdrv1
) \
370 $(if
$(filter $(OS
),MACOSX
),macbe1
) \
371 $(if
$(MERGELIBS
),merged
) \
375 $(call gb_Helper_optional
,SCRIPTING
,msforms
) \
377 $(call gb_Helper_optional
,DBCONNECTIVITY
,mysql
) \
382 $(call gb_Helper_optional
,OPENCL
,opencl
) \
385 $(if
$(ENABLE_NPAPI_FROM_BROWSER
),pl
) \
387 $(call gb_Helper_optional
,SCRIPTING
,protocolhandler
) \
391 $(call gb_Helper_optional
,DBCONNECTIVITY
,sdbt
) \
402 $(if
$(ENABLE_HEADLESS
),,spl
) \
404 $(call gb_Helper_optional
,SCRIPTING
,stringresource
) \
412 $(if
$(ENABLE_TDEAB
),tdeab1
) \
413 $(if
$(ENABLE_TDEAB
),tdeabdrv1
) \
418 $(if
$(ENABLE_TELEPATHY
),tubes
) \
429 $(call gb_Helper_optional
,SCRIPTING
, \
435 $(if
$(and
$(filter unx
,$(GUIBASE
)),$(filter-out MACOSX
,$(OS
))), \
437 $(if
$(ENABLE_TDE
),vclplug_tde
) \
447 $(if
$(WITH_MOZAB4WIN
), \
451 $(if
$(WITH_MOZAB4WIN
),,\
455 $(if
$(filter $(OS
),WNT
), \
457 $(if
$(DISABLE_ATL
),,oleautobridge
) \
461 $(if
$(filter $(OS
),MACOSX
), \
462 $(if
$(ENABLE_MACOSX_SANDBOX
),, \
470 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,postgresqlsdbc
, \
471 $(if
$(BUILD_POSTGRESQL_SDBC
), \
473 postgresql-sdbc-impl
) \
476 ifneq ($(ENABLE_PDFIMPORT
),)
477 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,pdfimport
, \
482 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,python
, \
486 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,python
, \
488 $(if
$(filter-out WNT
,$(OS
)),pyuno_wrapper
) \
491 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,reportbuilder
, \
497 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,writer
, \
499 $(if
$(ENABLE_LWP
),lwpft
) \
504 $(call gb_Helper_optional
,SCRIPTING
,vbaswobj
) \
509 # cli_cppuhelper is NONE even though it is actually in URE because it is CliNativeLibrary
510 $(eval
$(call gb_Helper_register_libraries
,PLAINLIBS_NONE
, \
516 testtools_bridgetest \
517 testtools_constructors \
518 unobootstrapprotector \
519 unoexceptionprotector \
521 vclbootstrapprotector \
524 $(if
$(filter MSC
,$(COM
)),cli_cppuhelper
) \
525 $(if
$(filter $(OS
),ANDROID
),lo-bootstrap
) \
526 $(if
$(filter $(OS
),MACOSX
),OOoSpotlightImporter
) \
529 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_URE
,ure
, \
531 $(if
$(filter MSC
,$(COM
)),cli_uno
) \
532 $(if
$(ENABLE_JAVA
), \
535 $(if
$(filter $(OS
),WNT
),jpipx
) \
541 $(if
$(filter MSC
,$(COM
)),$(if
$(filter INTEL
,$(CPUNAME
)),msci
,mscx
),gcc3
)_uno \
542 $(if
$(filter $(OS
),WNT
), \
547 $(eval
$(call gb_Helper_register_libraries_for_install
,PRIVATELIBS_URE
,ure
, \
554 $(if
$(ENABLE_JAVA
),javaloader
) \
555 $(if
$(ENABLE_JAVA
),javavm
) \
556 $(if
$(ENABLE_JAVA
),jvmaccess
) \
557 $(if
$(ENABLE_JAVA
),jvmfwk
) \
570 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,ooo
, \
571 $(if
$(ENABLE_VLC
),avmediavlc
) \
572 $(if
$(ENABLE_GSTREAMER_1_0
),avmediagst
) \
573 $(if
$(ENABLE_GSTREAMER_0_10
),avmediagst_0_10
) \
574 $(if
$(ENABLE_DIRECTX
),avmediawin
) \
575 $(if
$(ENABLE_GLTF
),avmediaogl
) \
579 $(call gb_Helper_optional
,DBCONNECTIVITY
,dbpool2
) \
585 $(if
$(ENABLE_JAVA
),hsqldb
) \
589 $(if
$(and
$(ENABLE_GTK
), $(filter LINUX
,$(OS
))), libreofficekitgtk
) \
595 $(if
$(ENABLE_JAVA
), \
596 $(if
$(filter $(OS
),MACOSX
),,officebean
) \
598 $(if
$(filter WNT-TRUE
,$(OS
)-$(DISABLE_ATL
)),,emboleobj
) \
600 $(if
$(and
$(filter unx
,$(GUIBASE
)),$(filter-out MACOSX
,$(OS
))),recentfile
) \
601 $(call gb_Helper_optional
,SCRIPTING
,scriptframe
) \
605 $(if
$(filter $(OS
),WNT
),sysdtrans
) \
609 $(if
$(WITH_WEBDAV
),ucpdav1
) \
620 $(if
$(filter $(OS
),MACOSX
), \
624 $(if
$(filter WNT
,$(OS
)), \
629 $(if
$(DISABLE_ATL
),,\
638 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,activexbinarytable
, \
639 $(if
$(DISABLE_ACTIVEX
),,\
644 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,activex
, \
645 $(if
$(DISABLE_ACTIVEX
),,\
650 ifneq ($(BUILD_X64
),)
651 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,activexwin64
, \
652 $(if
$(DISABLE_ACTIVEX
),,\
658 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,ooobinarytable
, \
659 $(if
$(WINDOWS_SDK_HOME
),\
669 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,winexplorerextbinarytable
, \
673 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_SHLXTHDL
,winexplorerext
, \
678 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_SHLXTHDL
,winexplorerextnt6
, \
682 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_SHLXTHDL
,winexplorerextwin64
, \
687 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_SHLXTHDL
,winexplorerextwin64nt6
, \
693 $(eval
$(call gb_Helper_register_libraries_for_install
,RTVERLIBS
,ure
, \
699 $(eval
$(call gb_Helper_register_libraries_for_install
,UNOVERLIBS
,ure
, \
704 $(eval
$(call gb_Helper_register_libraries
,EXTENSIONLIBS
, \
710 ifneq ($(ENABLE_JAVA
),)
711 $(eval
$(call gb_Helper_register_jars_for_install
,URE
,ure
, \
719 $(eval
$(call gb_Helper_register_jars_for_install
,OOO
,ooo
, \
721 ScriptProviderForJava \
725 $(if
$(filter-out MACOSX
,$(OS
)),officebean
) \
735 $(eval
$(call gb_Helper_register_jars_for_install
,OOO
,reportbuilder
, \
737 reportbuilderwizard \
740 ifneq ($(ENABLE_SCRIPTING_BEANSHELL
),)
741 $(eval
$(call gb_Helper_register_jars_for_install
,OOO
,extensions_bsh
, \
742 ScriptProviderForBeanShell \
746 ifneq ($(ENABLE_SCRIPTING_JAVASCRIPT
),)
747 $(eval
$(call gb_Helper_register_jars_for_install
,OOO
,extensions_rhino
, \
748 ScriptProviderForJavaScript \
752 ifneq ($(WITH_EXTRA_GALLERY
),)
753 $(eval
$(call gb_Helper_register_packages_for_install
,accessories_gallery
,\
754 accessories_accessoriesgallery \
755 accessories_accessoriesgallerydrawspeople \
756 accessories_accessoriesgalleryphotosplants \
757 accessories_accessoriesgalleryphotoscelebration \
758 accessories_accessoriesgalleryphotosfauna \
759 accessories_accessoriesgalleryphotosflowers \
760 accessories_accessoriesgalleryphotosfoodsanddrinks \
761 accessories_accessoriesgalleryphotoshumans \
762 accessories_accessoriesgalleryphotoslandscapes \
763 accessories_accessoriesgalleryphotosbuildings \
764 accessories_accessoriesgalleryphotoscities \
765 accessories_accessoriesgalleryphotosobjects \
766 accessories_accessoriesgalleryphotosspace \
767 accessories_accessoriesgalleryphotosstatues \
768 accessories_accessoriesgalleryphotostravel \
769 accessories_accessoriesgalleryelementsbullets2 \
770 accessories_accessoriesgallerynonfree \
775 ifeq (CT2N
,$(filter CT2N
,$(BUILD_TYPE
)))
776 $(eval
$(call gb_Helper_register_packages_for_install
,extensions_ct2n
,\
781 ifeq (NUMBERTEXT
,$(filter NUMBERTEXT
,$(BUILD_TYPE
)))
782 $(eval
$(call gb_Helper_register_packages_for_install
,extensions_numbertext
,\
787 $(eval
$(call gb_Helper_register_jars
,OXT
, \
795 $(eval
$(call gb_Helper_register_jars
,NONE
,\
808 $(eval
$(call gb_Helper_register_packages_for_install
,ure
,\
809 instsetoo_native_setup_ure \
811 $(if
$(ENABLE_JAVA
),\
814 jvmfwk_jreproperties \
815 $(if
$(filter MACOSX
,$(OS
)),bridges_jnilib_java_uno
) \
819 $(eval
$(call gb_Helper_register_packages_for_install
,ooo
,\
820 $(if
$(SYSTEM_LIBEXTTEXTCAT
),,libexttextcat_fingerprint
) \
829 $(if
$(ENABLE_JAVA
),\
831 scripting_java_jars \
832 $(if
$(ENABLE_SCRIPTING_BEANSHELL
),scripting_ScriptsBeanShell
) \
833 $(if
$(ENABLE_SCRIPTING_JAVASCRIPT
),scripting_ScriptsJavaScript
) \
835 $(if
$(DISABLE_SCRIPTING
),,scripting_scriptbindinglib
) \
836 wizards_basicsrvaccess2base \
837 wizards_basicsrvdepot \
838 wizards_basicsrveuro \
839 wizards_basicsrvgimmicks \
840 wizards_basicsrvimport \
841 wizards_basicsrvform \
842 wizards_basicsrvtemplate \
843 wizards_basicsrvtools \
844 wizards_basicsrvtutorials \
846 chart2_opengl_shader \
848 $(if
$(ENABLE_OPENGL_CANVAS
),canvas_opengl_shader
) \
851 $(eval
$(call gb_Helper_register_packages_for_install
,ogltrans
,\
852 slideshow_opengl_shader \
855 $(eval
$(call gb_Helper_register_packages_for_install
,reportbuilder
,\
856 reportbuilder-templates \
859 $(eval
$(call gb_Helper_register_packages_for_install
,xsltfilter
,\
865 ifeq ($(GUIBASE
),unx
)
866 $(eval
$(call gb_Helper_register_packages_for_install
,base_brand
,\
870 $(eval
$(call gb_Helper_register_packages_for_install
,calc_brand
,\
874 $(eval
$(call gb_Helper_register_packages_for_install
,draw_brand
,\
878 $(eval
$(call gb_Helper_register_packages_for_install
,impress_brand
,\
879 desktop_simpress_sh \
882 $(eval
$(call gb_Helper_register_packages_for_install
,math_brand
,\
886 $(eval
$(call gb_Helper_register_packages_for_install
,writer_brand
,\
891 ifneq ($(DISABLE_PYTHON
),TRUE
)
892 $(eval
$(call gb_Helper_register_packages_for_install
,python
, \
893 pyuno_pythonloader_ini \
894 pyuno_python_scripts \
895 $(if
$(SYSTEM_PYTHON
),,$(if
$(filter-out WNT
,$(OS
)),python_shell
)) \
896 scripting_ScriptsPython \
899 $(eval
$(call gb_Helper_register_packages_for_install
,python_scriptprovider
, \
900 scriptproviderforpython \
903 $(eval
$(call gb_Helper_register_packages_for_install
,python_librelogo
, \
905 librelogo_properties \
907 endif # DISABLE_PYTHON
909 # External executables
910 $(eval
$(call gb_ExternalExecutable_register_executables
,\
920 # vim: set noet sw=4 ts=4: