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 ifneq (,$(filter ANDROID IOS
,$(OS
)))
191 # these are in NONE layer because
192 # a) scp2 is not used on mobile b) layers don't mean anything on mobile
193 $(eval
$(call gb_Helper_register_libraries
,PLAINLIBS_NONE
, \
194 $(if
$(filter $(OS
),ANDROID
), \
203 $(eval
$(call gb_Helper_register_libraries
,PLAINLIBS_NONE
, \
204 OOoSpotlightImporter \
209 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,base
, \
215 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,calc
, \
217 $(call gb_Helper_optional
,DBCONNECTIVITY
,calc
) \
225 $(if
$(ENABLE_COINMP
)$(ENABLE_LPSOLVE
),solver
) \
226 $(call gb_Helper_optional
,SCRIPTING
,vbaobj
) \
229 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,graphicfilter
, \
236 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,tde
, \
237 $(if
$(ENABLE_TDE
),tdebe1
) \
240 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,impress
, \
244 PresentationMinimizer \
248 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,onlineupdate
, \
249 $(if
$(ENABLE_ONLINE_UPDATE
), \
255 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,gnome
, \
256 $(if
$(ENABLE_EVOAB2
),evoab
) \
257 $(if
$(ENABLE_GTK
),vclplug_gtk
) \
258 $(if
$(ENABLE_GTK3
),vclplug_gtk3
) \
259 $(if
$(ENABLE_GCONF
),gconfbe1
) \
260 $(if
$(ENABLE_SYSTRAY_GTK
),qstart_gtk
) \
261 $(if
$(ENABLE_GIO
),losessioninstall
) \
262 $(if
$(ENABLE_GIO
),ucpgio1
) \
263 $(if
$(ENABLE_GNOMEVFS
),ucpgvfs1
) \
266 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,kde
, \
267 $(if
$(ENABLE_KDE
),kdebe1
) \
268 $(if
$(ENABLE_KDE4
),kde4be1
) \
269 $(if
$(and
$(filter unx
,$(GUIBASE
)),$(filter-out MACOSX
,$(OS
))), \
270 $(if
$(ENABLE_KDE
),vclplug_kde
) \
271 $(if
$(ENABLE_KDE4
),vclplug_kde4
) \
275 $(eval
$(call gb_Helper_register_executables_for_install
,OOO
,kde
, \
276 $(if
$(filter $(GUIBASE
)$(ENABLE_KDE
),unxTRUE
), \
281 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,math
, \
286 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,ogltrans
, \
290 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,ooo
, \
292 $(call gb_Helper_optional
,AVMEDIA
,avmedia
) \
293 $(if
$(filter MACOSX
,$(OS
)),\
295 $(if
$(ENABLE_MACOSX_SANDBOX
),,avmediaQuickTime
) \
297 $(call gb_Helper_optional
,SCRIPTING
, \
301 $(if
$(filter $(OS
),ANDROID
),, \
306 $(if
$(ENABLE_CAIRO_CANVAS
),cairocanvas
) \
312 $(call gb_Helper_optional
,OPENCL
,clew
) \
313 $(if
$(filter $(OS
),WNT
),,cmdmail
) \
318 $(call gb_Helper_optional
,DBCONNECTIVITY
, \
325 $(if
$(filter-out MACOSX WNT
,$(OS
)),desktopbe1
) \
326 $(if
$(filter unx
,$(GUIBASE
)),desktop_detector
) \
327 $(call gb_Helper_optional
,SCRIPTING
,dlgprov
) \
328 $(if
$(ENABLE_DIRECTX
),directx9canvas
) \
329 $(if
$(ENABLE_OPENGL_CANVAS
),oglcanvas
) \
334 $(if
$(filter WNT
,$(OS
)),$(if
$(DISABLE_ATL
),,emser
)) \
345 $(call gb_Helper_optional
,DBCONNECTIVITY
, \
349 $(if
$(filter $(ENABLE_FIREBIRD_SDBC
),TRUE
),firebird_sdbc
) \
360 $(if
$(ENABLE_DIRECTX
),gdipluscanvas
) \
362 $(if
$(filter DESKTOP
,$(BUILD_TYPE
)),helplinker
) \
378 $(if
$(ENABLE_JAVA
),jdbc
) \
379 $(if
$(ENABLE_KAB
),kab1
) \
380 $(if
$(ENABLE_KAB
),kabdrv1
) \
386 $(if
$(filter $(OS
),MACOSX
),macbe1
) \
387 $(if
$(MERGELIBS
),merged
) \
391 $(call gb_Helper_optional
,SCRIPTING
,msforms
) \
393 $(call gb_Helper_optional
,DBCONNECTIVITY
,mysql
) \
398 $(call gb_Helper_optional
,OPENCL
,opencl
) \
401 $(if
$(ENABLE_NPAPI_FROM_BROWSER
),pl
) \
403 $(call gb_Helper_optional
,SCRIPTING
,protocolhandler
) \
407 $(call gb_Helper_optional
,DBCONNECTIVITY
,sdbt
) \
418 $(if
$(ENABLE_HEADLESS
),,spl
) \
420 $(call gb_Helper_optional
,SCRIPTING
,stringresource
) \
428 $(if
$(ENABLE_TDEAB
),tdeab1
) \
429 $(if
$(ENABLE_TDEAB
),tdeabdrv1
) \
434 $(if
$(ENABLE_TELEPATHY
),tubes
) \
444 $(call gb_Helper_optional
,SCRIPTING
, \
450 $(if
$(and
$(filter unx
,$(GUIBASE
)),$(filter-out MACOSX
,$(OS
))), \
452 $(if
$(ENABLE_TDE
),vclplug_tde
) \
453 $(if
$(ENABLE_HEADLESS
),,vclplug_svp
) \
463 $(if
$(WITH_MOZAB4WIN
), \
467 $(if
$(WITH_MOZAB4WIN
),,\
471 $(if
$(filter $(OS
),WNT
), \
473 $(if
$(DISABLE_ATL
),,oleautobridge
) \
477 $(if
$(filter $(OS
),MACOSX
), \
478 $(if
$(ENABLE_MACOSX_SANDBOX
),, \
486 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,postgresqlsdbc
, \
487 $(if
$(BUILD_POSTGRESQL_SDBC
), \
489 postgresql-sdbc-impl
) \
492 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,pdfimport
, \
496 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,python
, \
500 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,python
, \
502 $(if
$(filter-out WNT
,$(OS
)),pyuno_wrapper
) \
505 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,reportbuilder
, \
511 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,writer
, \
513 $(if
$(ENABLE_LWP
),lwpft
) \
518 $(call gb_Helper_optional
,SCRIPTING
,vbaswobj
) \
523 $(eval
$(call gb_Helper_register_libraries
,PLAINLIBS_NONE
, \
529 testtools_bridgetest \
530 testtools_constructors \
531 unobootstrapprotector \
532 unoexceptionprotector \
534 vclbootstrapprotector \
539 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_URE
,ure
, \
541 $(if
$(filter MSC
,$(COM
)),cli_uno
) \
542 $(if
$(ENABLE_JAVA
), \
545 $(if
$(filter $(OS
),WNT
),jpipx
) \
551 $(if
$(URELIBS
),urelibs
) \
552 $(if
$(filter MSC
,$(COM
)),$(if
$(filter INTEL
,$(CPUNAME
)),msci
,mscx
),gcc3
)_uno \
553 $(if
$(filter $(OS
),WNT
), \
558 $(eval
$(call gb_Helper_register_libraries_for_install
,PRIVATELIBS_URE
,ure
, \
565 $(if
$(ENABLE_JAVA
),javaloader
) \
566 $(if
$(ENABLE_JAVA
),javavm
) \
567 $(if
$(ENABLE_JAVA
),jvmaccess
) \
568 $(if
$(ENABLE_JAVA
),jvmfwk
) \
581 # this is NONE even though it is actually in URE because it is CliNativeLibrary
582 $(eval
$(call gb_Helper_register_libraries
,PLAINLIBS_NONE
, \
583 $(if
$(filter MSC
,$(COM
)),cli_cppuhelper
) \
586 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,ooo
, \
587 $(if
$(ENABLE_VLC
),avmediavlc
) \
588 $(if
$(ENABLE_GSTREAMER_1_0
),avmediagst
) \
589 $(if
$(ENABLE_GSTREAMER_0_10
),avmediagst_0_10
) \
590 $(if
$(ENABLE_DIRECTX
),avmediawin
) \
591 $(if
$(ENABLE_GLTF
),avmediaogl
) \
595 $(call gb_Helper_optional
,DBCONNECTIVITY
,dbpool2
) \
601 $(if
$(ENABLE_JAVA
),hsqldb
) \
605 $(if
$(and
$(ENABLE_GTK
), $(filter LINUX
,$(OS
))), libreofficekitgtk
) \
611 $(if
$(ENABLE_JAVA
), \
612 $(if
$(filter $(OS
),MACOSX
),,officebean
) \
614 $(if
$(filter WNT-TRUE
,$(OS
)-$(DISABLE_ATL
)),,emboleobj
) \
616 $(if
$(and
$(filter unx
,$(GUIBASE
)),$(filter-out MACOSX
,$(OS
))),recentfile
) \
617 $(call gb_Helper_optional
,SCRIPTING
,scriptframe
) \
621 $(if
$(filter $(OS
),WNT
),sysdtrans
) \
625 $(if
$(WITH_WEBDAV
),ucpdav1
) \
636 $(if
$(filter $(OS
),MACOSX
), \
640 $(if
$(filter WNT
,$(OS
)), \
645 $(if
$(DISABLE_ATL
),,\
654 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,activexbinarytable
, \
655 $(if
$(DISABLE_ACTIVEX
),,\
660 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,activex
, \
661 $(if
$(DISABLE_ACTIVEX
),,\
666 ifneq ($(BUILD_X64
),)
667 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,activexwin64
, \
668 $(if
$(DISABLE_ACTIVEX
),,\
674 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,ooobinarytable
, \
675 $(if
$(WINDOWS_SDK_HOME
),\
685 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,winexplorerextbinarytable
, \
689 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_SHLXTHDL
,winexplorerext
, \
694 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_SHLXTHDL
,winexplorerextnt6
, \
698 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_SHLXTHDL
,winexplorerextwin64
, \
703 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_SHLXTHDL
,winexplorerextwin64nt6
, \
709 $(eval
$(call gb_Helper_register_libraries_for_install
,RTVERLIBS
,ure
, \
715 $(eval
$(call gb_Helper_register_libraries_for_install
,UNOVERLIBS
,ure
, \
720 $(eval
$(call gb_Helper_register_libraries
,EXTENSIONLIBS
, \
726 ifneq ($(ENABLE_JAVA
),)
727 $(eval
$(call gb_Helper_register_jars_for_install
,URE
,ure
, \
735 $(eval
$(call gb_Helper_register_jars_for_install
,OOO
,ooo
, \
737 ScriptProviderForJava \
741 $(if
$(filter-out MACOSX
,$(OS
)),officebean
) \
751 $(eval
$(call gb_Helper_register_jars_for_install
,OOO
,reportbuilder
, \
753 reportbuilderwizard \
756 ifneq ($(ENABLE_SCRIPTING_BEANSHELL
),)
757 $(eval
$(call gb_Helper_register_jars_for_install
,OOO
,extensions_bsh
, \
758 ScriptProviderForBeanShell \
762 ifneq ($(ENABLE_SCRIPTING_JAVASCRIPT
),)
763 $(eval
$(call gb_Helper_register_jars_for_install
,OOO
,extensions_rhino
, \
764 ScriptProviderForJavaScript \
768 ifneq ($(WITH_EXTRA_GALLERY
),)
769 $(eval
$(call gb_Helper_register_packages_for_install
,accessories_gallery
,\
770 accessories_accessoriesgallery \
771 accessories_accessoriesgallerydrawspeople \
772 accessories_accessoriesgalleryphotosplants \
773 accessories_accessoriesgalleryphotoscelebration \
774 accessories_accessoriesgalleryphotosfauna \
775 accessories_accessoriesgalleryphotosflowers \
776 accessories_accessoriesgalleryphotosfoodsanddrinks \
777 accessories_accessoriesgalleryphotoshumans \
778 accessories_accessoriesgalleryphotoslandscapes \
779 accessories_accessoriesgalleryphotosbuildings \
780 accessories_accessoriesgalleryphotoscities \
781 accessories_accessoriesgalleryphotosobjects \
782 accessories_accessoriesgalleryphotosspace \
783 accessories_accessoriesgalleryphotosstatues \
784 accessories_accessoriesgalleryphotostravel \
785 accessories_accessoriesgalleryelementsbullets2 \
786 accessories_accessoriesgallerynonfree \
791 ifeq (CT2N
,$(filter CT2N
,$(BUILD_TYPE
)))
792 $(eval
$(call gb_Helper_register_packages_for_install
,extensions_ct2n
,\
797 ifeq (NUMBERTEXT
,$(filter NUMBERTEXT
,$(BUILD_TYPE
)))
798 $(eval
$(call gb_Helper_register_packages_for_install
,extensions_numbertext
,\
803 $(eval
$(call gb_Helper_register_jars
,OXT
, \
811 $(eval
$(call gb_Helper_register_jars
,NONE
,\
824 $(eval
$(call gb_Helper_register_packages_for_install
,ure
,\
825 instsetoo_native_setup_ure \
827 $(if
$(ENABLE_JAVA
),\
830 jvmfwk_jreproperties \
831 $(if
$(filter MACOSX
,$(OS
)),bridges_jnilib_java_uno
) \
835 $(eval
$(call gb_Helper_register_packages_for_install
,ooo
,\
836 $(if
$(SYSTEM_LIBEXTTEXTCAT
),,libexttextcat_fingerprint
) \
845 $(if
$(ENABLE_JAVA
),\
847 scripting_java_jars \
848 $(if
$(ENABLE_SCRIPTING_BEANSHELL
),scripting_ScriptsBeanShell
) \
849 $(if
$(ENABLE_SCRIPTING_JAVASCRIPT
),scripting_ScriptsJavaScript
) \
851 $(if
$(DISABLE_SCRIPTING
),,scripting_scriptbindinglib
) \
852 wizards_basicsrvaccess2base \
853 wizards_basicsrvdepot \
854 wizards_basicsrveuro \
855 wizards_basicsrvgimmicks \
856 wizards_basicsrvimport \
857 wizards_basicsrvform \
858 wizards_basicsrvtemplate \
859 wizards_basicsrvtools \
860 wizards_basicsrvtutorials \
862 chart2_opengl_shader \
864 $(if
$(ENABLE_OPENGL_CANVAS
),canvas_opengl_shader
) \
867 $(eval
$(call gb_Helper_register_packages_for_install
,ogltrans
,\
868 slideshow_opengl_shader \
871 $(eval
$(call gb_Helper_register_packages_for_install
,reportbuilder
,\
872 reportbuilder-templates \
875 $(eval
$(call gb_Helper_register_packages_for_install
,xsltfilter
,\
881 ifeq ($(GUIBASE
),unx
)
882 $(eval
$(call gb_Helper_register_packages_for_install
,base_brand
,\
886 $(eval
$(call gb_Helper_register_packages_for_install
,calc_brand
,\
890 $(eval
$(call gb_Helper_register_packages_for_install
,draw_brand
,\
894 $(eval
$(call gb_Helper_register_packages_for_install
,impress_brand
,\
895 desktop_simpress_sh \
898 $(eval
$(call gb_Helper_register_packages_for_install
,math_brand
,\
902 $(eval
$(call gb_Helper_register_packages_for_install
,writer_brand
,\
907 ifneq ($(DISABLE_PYTHON
),TRUE
)
908 $(eval
$(call gb_Helper_register_packages_for_install
,python
, \
909 pyuno_pythonloader_ini \
910 pyuno_python_scripts \
911 $(if
$(SYSTEM_PYTHON
),,$(if
$(filter-out WNT
,$(OS
)),python_shell
)) \
912 scripting_ScriptsPython \
915 $(eval
$(call gb_Helper_register_packages_for_install
,python_scriptprovider
, \
916 scriptproviderforpython \
919 $(eval
$(call gb_Helper_register_packages_for_install
,python_librelogo
, \
921 librelogo_properties \
923 endif # DISABLE_PYTHON
925 # External executables
926 $(eval
$(call gb_ExternalExecutable_register_executables
,\
936 # vim: set noet sw=4 ts=4: