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
) \
151 $(if
$(filter WNT
,$(OS
)), \
157 $(eval
$(call gb_Helper_register_executables_for_install
,OOO
,quickstart
, \
162 $(eval
$(call gb_Helper_register_executables_for_install
,OOO
,python
, \
163 $(if
$(filter WNT
,$(OS
)), \
168 ifeq ($(GUIBASE
),unx
)
169 $(eval
$(call gb_Helper_register_executables_for_install
,OOO
,gnome
, \
171 xid-fullscreen-on-all-monitors \
176 ifneq ($(ENABLE_PDFIMPORT
),)
177 $(eval
$(call gb_Helper_register_executables_for_install
,OOO
,pdfimport
, \
182 $(eval
$(call gb_Helper_register_executables_for_install
,UREBIN
,ure
,\
183 $(if
$(and
$(ENABLE_JAVA
),$(filter-out MACOSX WNT
,$(OS
)),$(filter DESKTOP
,$(BUILD_TYPE
))),javaldx
) \
186 $(if
$(filter DESKTOP
,$(BUILD_TYPE
)),uno
) \
189 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,base
, \
195 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,calc
, \
197 $(call gb_Helper_optional
,DBCONNECTIVITY
,calc
) \
205 $(if
$(ENABLE_COINMP
)$(ENABLE_LPSOLVE
),solver
) \
206 $(call gb_Helper_optional
,SCRIPTING
,vbaobj
) \
209 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,graphicfilter
, \
216 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,tde
, \
217 $(if
$(ENABLE_TDE
),tdebe1
) \
220 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,impress
, \
224 PresentationMinimizer \
228 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,onlineupdate
, \
229 $(if
$(ENABLE_ONLINE_UPDATE
), \
235 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,gnome
, \
236 $(if
$(ENABLE_EVOAB2
),evoab
) \
237 $(if
$(ENABLE_GTK
),vclplug_gtk
) \
238 $(if
$(ENABLE_GTK3
),vclplug_gtk3
) \
239 $(if
$(ENABLE_GCONF
),gconfbe1
) \
240 $(if
$(ENABLE_SYSTRAY_GTK
),qstart_gtk
) \
241 $(if
$(ENABLE_GIO
),losessioninstall
) \
242 $(if
$(ENABLE_GIO
),ucpgio1
) \
243 $(if
$(ENABLE_GNOMEVFS
),ucpgvfs1
) \
246 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,kde
, \
247 $(if
$(ENABLE_KDE
),kdebe1
) \
248 $(if
$(ENABLE_KDE4
),kde4be1
) \
249 $(if
$(and
$(filter unx
,$(GUIBASE
)),$(filter-out MACOSX
,$(OS
))), \
250 $(if
$(ENABLE_KDE
),vclplug_kde
) \
251 $(if
$(ENABLE_KDE4
),vclplug_kde4
) \
255 $(eval
$(call gb_Helper_register_executables_for_install
,OOO
,kde
, \
256 $(if
$(filter $(GUIBASE
)$(ENABLE_KDE
),unxTRUE
), \
261 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,math
, \
266 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,ogltrans
, \
270 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,ooo
, \
272 $(call gb_Helper_optional
,AVMEDIA
,avmedia
) \
273 $(if
$(filter MACOSX
,$(OS
)),\
275 $(if
$(ENABLE_MACOSX_SANDBOX
),,avmediaQuickTime
) \
277 $(call gb_Helper_optional
,SCRIPTING
, \
281 $(if
$(filter $(OS
),ANDROID
),, \
286 $(if
$(ENABLE_CAIRO_CANVAS
),cairocanvas
) \
292 $(call gb_Helper_optional
,OPENCL
,clew
) \
293 $(if
$(filter $(OS
),WNT
),,cmdmail
) \
298 $(call gb_Helper_optional
,DBCONNECTIVITY
, \
305 $(if
$(filter-out MACOSX WNT
,$(OS
)),desktopbe1
) \
306 $(if
$(filter unx
,$(GUIBASE
)),desktop_detector
) \
307 $(call gb_Helper_optional
,SCRIPTING
,dlgprov
) \
308 $(if
$(ENABLE_DIRECTX
),directx9canvas
) \
309 $(if
$(ENABLE_OPENGL_CANVAS
),oglcanvas
) \
314 $(if
$(filter WNT
,$(OS
)),$(if
$(DISABLE_ATL
),,emser
)) \
325 $(call gb_Helper_optional
,DBCONNECTIVITY
, \
329 $(if
$(filter $(ENABLE_FIREBIRD_SDBC
),TRUE
),firebird_sdbc
) \
340 $(if
$(ENABLE_DIRECTX
),gdipluscanvas
) \
342 $(if
$(filter DESKTOP
,$(BUILD_TYPE
)),helplinker
) \
358 $(if
$(ENABLE_JAVA
),jdbc
) \
359 $(if
$(ENABLE_KAB
),kab1
) \
360 $(if
$(ENABLE_KAB
),kabdrv1
) \
366 $(if
$(filter $(OS
),MACOSX
),macbe1
) \
367 $(if
$(MERGELIBS
),merged
) \
371 $(call gb_Helper_optional
,SCRIPTING
,msforms
) \
373 $(call gb_Helper_optional
,DBCONNECTIVITY
,mysql
) \
378 $(call gb_Helper_optional
,OPENCL
,opencl
) \
381 $(if
$(ENABLE_NPAPI_FROM_BROWSER
),pl
) \
383 $(call gb_Helper_optional
,SCRIPTING
,protocolhandler
) \
387 $(call gb_Helper_optional
,DBCONNECTIVITY
,sdbt
) \
398 $(if
$(ENABLE_HEADLESS
),,spl
) \
400 $(call gb_Helper_optional
,SCRIPTING
,stringresource
) \
408 $(if
$(ENABLE_TDEAB
),tdeab1
) \
409 $(if
$(ENABLE_TDEAB
),tdeabdrv1
) \
414 $(if
$(ENABLE_TELEPATHY
),tubes
) \
425 $(call gb_Helper_optional
,SCRIPTING
, \
431 $(if
$(and
$(filter unx
,$(GUIBASE
)),$(filter-out MACOSX
,$(OS
))), \
433 $(if
$(ENABLE_TDE
),vclplug_tde
) \
443 $(if
$(WITH_MOZAB4WIN
), \
447 $(if
$(WITH_MOZAB4WIN
),,\
451 $(if
$(filter $(OS
),WNT
), \
453 $(if
$(DISABLE_ATL
),,oleautobridge
) \
457 $(if
$(filter $(OS
),MACOSX
), \
458 $(if
$(ENABLE_MACOSX_SANDBOX
),, \
466 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,postgresqlsdbc
, \
467 $(if
$(BUILD_POSTGRESQL_SDBC
), \
469 postgresql-sdbc-impl
) \
472 ifneq ($(ENABLE_PDFIMPORT
),)
473 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,pdfimport
, \
478 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,python
, \
482 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,python
, \
484 $(if
$(filter-out WNT
,$(OS
)),pyuno_wrapper
) \
487 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,reportbuilder
, \
493 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,writer
, \
495 $(if
$(ENABLE_LWP
),lwpft
) \
500 $(call gb_Helper_optional
,SCRIPTING
,vbaswobj
) \
505 # cli_cppuhelper is NONE even though it is actually in URE because it is CliNativeLibrary
506 $(eval
$(call gb_Helper_register_libraries
,PLAINLIBS_NONE
, \
512 testtools_bridgetest \
513 testtools_constructors \
514 unobootstrapprotector \
515 unoexceptionprotector \
517 vclbootstrapprotector \
520 $(if
$(filter MSC
,$(COM
)),cli_cppuhelper
) \
521 $(if
$(filter $(OS
),ANDROID
),lo-bootstrap
) \
522 $(if
$(filter $(OS
),MACOSX
),OOoSpotlightImporter
) \
525 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_URE
,ure
, \
527 $(if
$(filter MSC
,$(COM
)),cli_uno
) \
528 $(if
$(ENABLE_JAVA
), \
531 $(if
$(filter $(OS
),WNT
),jpipx
) \
537 $(if
$(filter MSC
,$(COM
)),$(if
$(filter INTEL
,$(CPUNAME
)),msci
,mscx
),gcc3
)_uno \
538 $(if
$(filter $(OS
),WNT
), \
543 $(eval
$(call gb_Helper_register_libraries_for_install
,PRIVATELIBS_URE
,ure
, \
550 $(if
$(ENABLE_JAVA
),javaloader
) \
551 $(if
$(ENABLE_JAVA
),javavm
) \
552 $(if
$(ENABLE_JAVA
),jvmaccess
) \
553 $(if
$(ENABLE_JAVA
),jvmfwk
) \
566 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,ooo
, \
567 $(if
$(ENABLE_VLC
),avmediavlc
) \
568 $(if
$(ENABLE_GSTREAMER_1_0
),avmediagst
) \
569 $(if
$(ENABLE_GSTREAMER_0_10
),avmediagst_0_10
) \
570 $(if
$(ENABLE_DIRECTX
),avmediawin
) \
571 $(if
$(ENABLE_GLTF
),avmediaogl
) \
575 $(call gb_Helper_optional
,DBCONNECTIVITY
,dbpool2
) \
581 $(if
$(ENABLE_JAVA
),hsqldb
) \
585 $(if
$(and
$(ENABLE_GTK
), $(filter LINUX
,$(OS
))), libreofficekitgtk
) \
591 $(if
$(ENABLE_JAVA
), \
592 $(if
$(filter $(OS
),MACOSX
),,officebean
) \
594 $(if
$(filter WNT-TRUE
,$(OS
)-$(DISABLE_ATL
)),,emboleobj
) \
596 $(if
$(and
$(filter unx
,$(GUIBASE
)),$(filter-out MACOSX
,$(OS
))),recentfile
) \
597 $(call gb_Helper_optional
,SCRIPTING
,scriptframe
) \
601 $(if
$(filter $(OS
),WNT
),sysdtrans
) \
605 $(if
$(WITH_WEBDAV
),ucpdav1
) \
616 $(if
$(filter $(OS
),MACOSX
), \
620 $(if
$(filter WNT
,$(OS
)), \
625 $(if
$(DISABLE_ATL
),,\
634 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,activexbinarytable
, \
635 $(if
$(DISABLE_ACTIVEX
),,\
640 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,activex
, \
641 $(if
$(DISABLE_ACTIVEX
),,\
646 ifneq ($(BUILD_X64
),)
647 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,activexwin64
, \
648 $(if
$(DISABLE_ACTIVEX
),,\
654 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,ooobinarytable
, \
655 $(if
$(WINDOWS_SDK_HOME
),\
665 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,winexplorerextbinarytable
, \
669 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_SHLXTHDL
,winexplorerext
, \
674 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_SHLXTHDL
,winexplorerextnt6
, \
678 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_SHLXTHDL
,winexplorerextwin64
, \
683 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_SHLXTHDL
,winexplorerextwin64nt6
, \
689 $(eval
$(call gb_Helper_register_libraries_for_install
,RTVERLIBS
,ure
, \
695 $(eval
$(call gb_Helper_register_libraries_for_install
,UNOVERLIBS
,ure
, \
700 $(eval
$(call gb_Helper_register_libraries
,EXTENSIONLIBS
, \
706 ifneq ($(ENABLE_JAVA
),)
707 $(eval
$(call gb_Helper_register_jars_for_install
,URE
,ure
, \
715 $(eval
$(call gb_Helper_register_jars_for_install
,OOO
,ooo
, \
717 ScriptProviderForJava \
721 $(if
$(filter-out MACOSX
,$(OS
)),officebean
) \
731 $(eval
$(call gb_Helper_register_jars_for_install
,OOO
,reportbuilder
, \
733 reportbuilderwizard \
736 ifneq ($(ENABLE_SCRIPTING_BEANSHELL
),)
737 $(eval
$(call gb_Helper_register_jars_for_install
,OOO
,extensions_bsh
, \
738 ScriptProviderForBeanShell \
742 ifneq ($(ENABLE_SCRIPTING_JAVASCRIPT
),)
743 $(eval
$(call gb_Helper_register_jars_for_install
,OOO
,extensions_rhino
, \
744 ScriptProviderForJavaScript \
748 ifneq ($(WITH_EXTRA_GALLERY
),)
749 $(eval
$(call gb_Helper_register_packages_for_install
,accessories_gallery
,\
750 accessories_accessoriesgallery \
751 accessories_accessoriesgallerydrawspeople \
752 accessories_accessoriesgalleryphotosplants \
753 accessories_accessoriesgalleryphotoscelebration \
754 accessories_accessoriesgalleryphotosfauna \
755 accessories_accessoriesgalleryphotosflowers \
756 accessories_accessoriesgalleryphotosfoodsanddrinks \
757 accessories_accessoriesgalleryphotoshumans \
758 accessories_accessoriesgalleryphotoslandscapes \
759 accessories_accessoriesgalleryphotosbuildings \
760 accessories_accessoriesgalleryphotoscities \
761 accessories_accessoriesgalleryphotosobjects \
762 accessories_accessoriesgalleryphotosspace \
763 accessories_accessoriesgalleryphotosstatues \
764 accessories_accessoriesgalleryphotostravel \
765 accessories_accessoriesgalleryelementsbullets2 \
766 accessories_accessoriesgallerynonfree \
771 ifeq (CT2N
,$(filter CT2N
,$(BUILD_TYPE
)))
772 $(eval
$(call gb_Helper_register_packages_for_install
,extensions_ct2n
,\
777 ifeq (NUMBERTEXT
,$(filter NUMBERTEXT
,$(BUILD_TYPE
)))
778 $(eval
$(call gb_Helper_register_packages_for_install
,extensions_numbertext
,\
783 $(eval
$(call gb_Helper_register_jars
,OXT
, \
791 $(eval
$(call gb_Helper_register_jars
,NONE
,\
804 $(eval
$(call gb_Helper_register_packages_for_install
,ure
,\
805 instsetoo_native_setup_ure \
807 $(if
$(ENABLE_JAVA
),\
810 jvmfwk_jreproperties \
811 $(if
$(filter MACOSX
,$(OS
)),bridges_jnilib_java_uno
) \
815 $(eval
$(call gb_Helper_register_packages_for_install
,ooo
,\
816 $(if
$(SYSTEM_LIBEXTTEXTCAT
),,libexttextcat_fingerprint
) \
825 $(if
$(ENABLE_JAVA
),\
827 scripting_java_jars \
828 $(if
$(ENABLE_SCRIPTING_BEANSHELL
),scripting_ScriptsBeanShell
) \
829 $(if
$(ENABLE_SCRIPTING_JAVASCRIPT
),scripting_ScriptsJavaScript
) \
831 $(if
$(DISABLE_SCRIPTING
),,scripting_scriptbindinglib
) \
832 wizards_basicsrvaccess2base \
833 wizards_basicsrvdepot \
834 wizards_basicsrveuro \
835 wizards_basicsrvgimmicks \
836 wizards_basicsrvimport \
837 wizards_basicsrvform \
838 wizards_basicsrvtemplate \
839 wizards_basicsrvtools \
840 wizards_basicsrvtutorials \
842 chart2_opengl_shader \
844 $(if
$(ENABLE_OPENGL_CANVAS
),canvas_opengl_shader
) \
847 $(eval
$(call gb_Helper_register_packages_for_install
,ogltrans
,\
848 slideshow_opengl_shader \
851 $(eval
$(call gb_Helper_register_packages_for_install
,reportbuilder
,\
852 reportbuilder-templates \
855 $(eval
$(call gb_Helper_register_packages_for_install
,xsltfilter
,\
861 ifeq ($(GUIBASE
),unx
)
862 $(eval
$(call gb_Helper_register_packages_for_install
,base_brand
,\
866 $(eval
$(call gb_Helper_register_packages_for_install
,calc_brand
,\
870 $(eval
$(call gb_Helper_register_packages_for_install
,draw_brand
,\
874 $(eval
$(call gb_Helper_register_packages_for_install
,impress_brand
,\
875 desktop_simpress_sh \
878 $(eval
$(call gb_Helper_register_packages_for_install
,math_brand
,\
882 $(eval
$(call gb_Helper_register_packages_for_install
,writer_brand
,\
887 ifneq ($(DISABLE_PYTHON
),TRUE
)
888 $(eval
$(call gb_Helper_register_packages_for_install
,python
, \
889 pyuno_pythonloader_ini \
890 pyuno_python_scripts \
891 $(if
$(SYSTEM_PYTHON
),,$(if
$(filter-out WNT
,$(OS
)),python_shell
)) \
892 scripting_ScriptsPython \
895 $(eval
$(call gb_Helper_register_packages_for_install
,python_scriptprovider
, \
896 scriptproviderforpython \
899 $(eval
$(call gb_Helper_register_packages_for_install
,python_librelogo
, \
901 librelogo_properties \
903 endif # DISABLE_PYTHON
905 # External executables
906 $(eval
$(call gb_ExternalExecutable_register_executables
,\
916 # vim: set noet sw=4 ts=4: