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
)), \
40 $(if
$(ENABLE_TELEPATHY
),liboapprover
) \
41 $(if
$(filter IOS
,$(OS
)),LibreOffice
) \
65 $(if
$(filter-out ANDROID IOS WNT
,$(OS
)), \
71 $(if
$(and
$(ENABLE_GTK3
), $(filter LINUX
%BSD SOLARIS
,$(OS
))), tilebench
) \
72 $(if
$(filter LINUX MACOSX SOLARIS WNT
%BSD
,$(OS
)),icontest \
77 $(if
$(and
$(ENABLE_GTK3
), $(filter LINUX
%BSD SOLARIS
,$(OS
))), gtktiledviewer
) \
80 $(eval
$(call gb_Helper_register_executables_for_install
,SDK
,sdk
, \
81 $(if
$(filter MSC
,$(COM
)),climaker
) \
85 $(if
$(filter UCPP
,$(BUILD_TYPE
)),ucpp
) \
86 $(if
$(filter ODK
,$(BUILD_TYPE
)),unoapploader
) \
88 $(if
$(filter ODK
,$(BUILD_TYPE
)),uno-skeletonmaker
) \
91 $(eval
$(call gb_Helper_register_executables_for_install
,OOO
,brand
, \
92 $(call gb_Helper_optional
,BREAKPAD
,minidump_upload
) \
93 $(if
$(filter-out ANDROID IOS MACOSX WNT
,$(OS
)),oosplash
) \
95 $(if
$(filter DESKTOP
,$(BUILD_TYPE
)),unopkg_bin
) \
96 $(if
$(filter WNT
,$(OS
)), \
104 $(eval
$(call gb_Helper_register_executables_for_install
,OOO
,base_brand
, \
105 $(if
$(filter WNT
,$(OS
)), \
110 $(eval
$(call gb_Helper_register_executables_for_install
,OOO
,base
, \
111 $(if
$(filter WNT
,$(OS
)), \
116 $(eval
$(call gb_Helper_register_executables_for_install
,OOO
,calc_brand
, \
117 $(if
$(filter WNT
,$(OS
)), \
122 $(eval
$(call gb_Helper_register_executables_for_install
,OOO
,draw_brand
, \
123 $(if
$(filter WNT
,$(OS
)), \
128 $(eval
$(call gb_Helper_register_executables_for_install
,OOO
,impress_brand
, \
129 $(if
$(filter WNT
,$(OS
)), \
134 $(eval
$(call gb_Helper_register_executables_for_install
,OOO
,math_brand
, \
135 $(if
$(filter WNT
,$(OS
)), \
140 $(eval
$(call gb_Helper_register_executables_for_install
,OOO
,writer_brand
, \
141 $(if
$(filter WNT
,$(OS
)), \
147 $(eval
$(call gb_Helper_register_executables_for_install
,OOO
,ooo
, \
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 ($(USING_X11
), TRUE
)
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 ifneq ($(ENABLE_ONLINE_UPDATE_MAR
),)
185 $(eval
$(call gb_Helper_register_executables_for_install
,OOO
,updater
,\
191 $(eval
$(call gb_Helper_register_executables_for_install
,UREBIN
,ure
,\
192 $(if
$(and
$(ENABLE_JAVA
),$(filter-out MACOSX WNT
,$(OS
)),$(filter DESKTOP
,$(BUILD_TYPE
))),javaldx
) \
193 $(if
$(ENABLE_MACOSX_SANDBOX
),, \
197 $(if
$(filter DESKTOP
,$(BUILD_TYPE
)),uno
) \
200 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,base
, \
206 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,calc
, \
208 $(call gb_Helper_optional
,DBCONNECTIVITY
,calc
) \
216 $(if
$(ENABLE_COINMP
)$(ENABLE_LPSOLVE
),solver
) \
217 $(call gb_Helper_optional
,SCRIPTING
,vbaobj
) \
220 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,graphicfilter
, \
227 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,tde
, \
228 $(if
$(ENABLE_TDE
),tdebe1
) \
230 $(if
$(ENABLE_TDE
),vclplug_tde
) \
234 $(eval
$(call gb_Helper_register_executables_for_install
,OOO
,tde
, \
235 $(if
$(ENABLE_TDE
),tdefilepicker
) \
238 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,impress
, \
242 PresentationMinimizer \
246 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,onlineupdate
, \
247 $(if
$(ENABLE_ONLINE_UPDATE
), \
253 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,gnome
, \
254 $(if
$(ENABLE_EVOAB2
),evoab
) \
255 $(if
$(ENABLE_GTK
),vclplug_gtk
) \
256 $(if
$(ENABLE_GTK3
),vclplug_gtk3
) \
257 $(if
$(ENABLE_SYSTRAY_GTK
),qstart_gtk
) \
258 $(if
$(ENABLE_GIO
),losessioninstall
) \
259 $(if
$(ENABLE_GIO
),ucpgio1
) \
262 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,kde
, \
263 $(if
$(ENABLE_KDE4
),kde4be1
) \
265 $(if
$(ENABLE_KDE4
),vclplug_kde4
) \
269 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,math
, \
274 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,ogltrans
, \
278 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,ooo
, \
280 $(call gb_Helper_optional
,AVMEDIA
,avmedia
) \
281 $(if
$(filter MACOSX
,$(OS
)),\
283 $(if
$(ENABLE_MACOSX_SANDBOX
),,avmediaQuickTime
) \
285 $(call gb_Helper_optional
,SCRIPTING
, \
291 $(if
$(ENABLE_CAIRO_CANVAS
),cairocanvas
) \
297 $(call gb_Helper_optional
,OPENCL
,clew
) \
298 $(if
$(filter $(OS
),WNT
),,cmdmail
) \
303 $(call gb_Helper_optional
,DBCONNECTIVITY
, \
310 $(if
$(filter-out MACOSX WNT
,$(OS
)),desktopbe1
) \
311 $(if
$(USING_X11
),desktop_detector
) \
312 $(call gb_Helper_optional
,SCRIPTING
,dlgprov
) \
313 $(if
$(ENABLE_DIRECTX
),directx9canvas
) \
314 $(if
$(ENABLE_OPENGL_CANVAS
),oglcanvas
) \
317 $(if
$(filter WNT
,$(OS
)),$(if
$(DISABLE_ATL
),,emser
)) \
320 $(call gb_Helper_optional
,DBCONNECTIVITY
, \
324 $(if
$(filter $(ENABLE_FIREBIRD_SDBC
),TRUE
),firebird_sdbc
) \
335 $(if
$(ENABLE_DIRECTX
),gdipluscanvas
) \
337 $(if
$(filter DESKTOP
,$(BUILD_TYPE
)),helplinker
) \
343 $(if
$(ENABLE_JAVA
),jdbc
) \
349 $(if
$(filter $(OS
),MACOSX
),macbe1
) \
350 $(if
$(MERGELIBS
),merged
) \
354 $(call gb_Helper_optional
,SCRIPTING
,msforms
) \
356 $(call gb_Helper_optional
,DBCONNECTIVITY
,mysql
) \
361 $(call gb_Helper_optional
,OPENCL
,opencl
) \
365 $(call gb_Helper_optional
,SCRIPTING
,protocolhandler
) \
369 $(call gb_Helper_optional
,DBCONNECTIVITY
,sdbt
) \
380 $(if
$(ENABLE_HEADLESS
),,spl
) \
382 $(call gb_Helper_optional
,SCRIPTING
,stringresource
) \
390 $(if
$(ENABLE_TDEAB
),tdeab1
) \
391 $(if
$(ENABLE_TDEAB
),tdeabdrv1
) \
396 $(if
$(ENABLE_TELEPATHY
),tubes
) \
407 $(call gb_Helper_optional
,SCRIPTING
, \
426 $(if
$(filter $(OS
),WNT
), \
428 $(if
$(DISABLE_ATL
),,oleautobridge
) \
432 $(if
$(filter $(OS
),MACOSX
), \
433 $(if
$(ENABLE_MACOSX_SANDBOX
),, \
441 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,postgresqlsdbc
, \
442 $(if
$(BUILD_POSTGRESQL_SDBC
), \
444 postgresql-sdbc-impl
) \
447 ifneq ($(ENABLE_PDFIMPORT
),)
448 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,pdfimport
, \
453 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,python
, \
457 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,python
, \
459 $(if
$(filter-out WNT
,$(OS
)),pyuno_wrapper
) \
462 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,reportbuilder
, \
468 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,writer
, \
470 $(if
$(ENABLE_LWP
),lwpft
) \
475 $(call gb_Helper_optional
,SCRIPTING
,vbaswobj
) \
480 # cli_cppuhelper is NONE even though it is actually in URE because it is CliNativeLibrary
481 $(eval
$(call gb_Helper_register_libraries
,PLAINLIBS_NONE
, \
487 testtools_bridgetest \
488 testtools_constructors \
489 unobootstrapprotector \
490 unoexceptionprotector \
492 vclbootstrapprotector \
495 $(if
$(filter MSC
,$(COM
)),cli_cppuhelper
) \
496 $(if
$(filter $(OS
),ANDROID
),lo-bootstrap
) \
497 $(if
$(filter $(OS
),MACOSX
),OOoSpotlightImporter
) \
500 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_URE
,ure
, \
502 $(if
$(filter MSC
,$(COM
)),cli_uno
) \
503 $(if
$(ENABLE_JAVA
), \
506 $(if
$(filter $(OS
),WNT
),jpipx
) \
512 $(if
$(filter MSC
,$(COM
)),$(if
$(filter INTEL
,$(CPUNAME
)),msci
,mscx
),gcc3
)_uno \
513 $(if
$(filter $(OS
),WNT
), \
518 $(eval
$(call gb_Helper_register_libraries_for_install
,PRIVATELIBS_URE
,ure
, \
525 $(if
$(ENABLE_JAVA
),javaloader
) \
526 $(if
$(ENABLE_JAVA
),javavm
) \
527 $(if
$(ENABLE_JAVA
),jvmaccess
) \
528 $(if
$(ENABLE_JAVA
),jvmfwk
) \
541 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,ooo
, \
542 $(if
$(ENABLE_VLC
),avmediavlc
) \
543 $(if
$(ENABLE_GSTREAMER_1_0
),avmediagst
) \
544 $(if
$(ENABLE_GSTREAMER_0_10
),avmediagst_0_10
) \
545 $(if
$(ENABLE_DIRECTX
),avmediawin
) \
549 $(call gb_Helper_optional
,DBCONNECTIVITY
,dbpool2
) \
550 $(call gb_Helper_optional
,BREAKPAD
,crashreport
) \
556 $(if
$(ENABLE_JAVA
),hsqldb
) \
560 $(if
$(and
$(ENABLE_GTK3
), $(filter LINUX
%BSD SOLARIS
,$(OS
))), libreofficekitgtk
) \
566 $(if
$(ENABLE_JAVA
), \
567 $(if
$(filter $(OS
),MACOSX
),,officebean
) \
569 $(if
$(filter WNT-TRUE
,$(OS
)-$(DISABLE_ATL
)),,emboleobj
) \
571 $(if
$(USING_X11
),recentfile
) \
572 $(call gb_Helper_optional
,SCRIPTING
,scriptframe
) \
576 $(if
$(filter $(OS
),WNT
),sysdtrans
) \
580 $(if
$(WITH_WEBDAV
),ucpdav1
) \
591 $(if
$(filter $(OS
),MACOSX
), \
595 $(if
$(filter WNT
,$(OS
)), \
600 $(if
$(DISABLE_ATL
),,\
608 ifeq ($(ENABLE_OPENGL
),TRUE
)
609 ifeq ($(ENABLE_GLTF
),TRUE
)
610 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,ooo
, \
617 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,activexbinarytable
, \
618 $(if
$(DISABLE_ACTIVEX
),,\
623 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,activex
, \
624 $(if
$(DISABLE_ACTIVEX
),,\
629 ifneq ($(BUILD_X64
),)
630 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,activexwin64
, \
631 $(if
$(DISABLE_ACTIVEX
),,\
637 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,ooobinarytable
, \
638 $(if
$(WINDOWS_SDK_HOME
),\
648 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,winexplorerextbinarytable
, \
652 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_SHLXTHDL
,winexplorerext
, \
657 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_SHLXTHDL
,winexplorerextnt6
, \
661 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_SHLXTHDL
,winexplorerextwin64
, \
666 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_SHLXTHDL
,winexplorerextwin64nt6
, \
672 $(eval
$(call gb_Helper_register_libraries_for_install
,RTVERLIBS
,ure
, \
678 $(eval
$(call gb_Helper_register_libraries_for_install
,UNOVERLIBS
,ure
, \
683 $(eval
$(call gb_Helper_register_libraries
,EXTENSIONLIBS
, \
689 ifneq ($(ENABLE_JAVA
),)
690 $(eval
$(call gb_Helper_register_jars_for_install
,URE
,ure
, \
698 $(eval
$(call gb_Helper_register_jars_for_install
,OOO
,ooo
, \
700 ScriptProviderForJava \
704 $(if
$(filter-out MACOSX
,$(OS
)),officebean
) \
714 $(eval
$(call gb_Helper_register_jars_for_install
,OOO
,reportbuilder
, \
716 reportbuilderwizard \
719 ifneq ($(ENABLE_SCRIPTING_BEANSHELL
),)
720 $(eval
$(call gb_Helper_register_jars_for_install
,OOO
,extensions_bsh
, \
721 ScriptProviderForBeanShell \
725 ifneq ($(ENABLE_SCRIPTING_JAVASCRIPT
),)
726 $(eval
$(call gb_Helper_register_jars_for_install
,OOO
,extensions_rhino
, \
727 ScriptProviderForJavaScript \
731 ifneq ($(WITH_EXTRA_GALLERY
),)
732 $(eval
$(call gb_Helper_register_packages_for_install
,accessories_gallery
,\
733 accessories_accessoriesgallery \
734 accessories_accessoriesgallerydrawspeople \
735 accessories_accessoriesgalleryphotosplants \
736 accessories_accessoriesgalleryphotoscelebration \
737 accessories_accessoriesgalleryphotosfauna \
738 accessories_accessoriesgalleryphotosflowers \
739 accessories_accessoriesgalleryphotosfoodsanddrinks \
740 accessories_accessoriesgalleryphotoshumans \
741 accessories_accessoriesgalleryphotoslandscapes \
742 accessories_accessoriesgalleryphotosbuildings \
743 accessories_accessoriesgalleryphotoscities \
744 accessories_accessoriesgalleryphotosobjects \
745 accessories_accessoriesgalleryphotosspace \
746 accessories_accessoriesgalleryphotosstatues \
747 accessories_accessoriesgalleryphotostravel \
748 accessories_accessoriesgalleryelementsbullets2 \
749 accessories_accessoriesgallerynonfree \
754 ifeq (CT2N
,$(filter CT2N
,$(BUILD_TYPE
)))
755 $(eval
$(call gb_Helper_register_packages_for_install
,extensions_ct2n
,\
760 ifeq (NUMBERTEXT
,$(filter NUMBERTEXT
,$(BUILD_TYPE
)))
761 $(eval
$(call gb_Helper_register_packages_for_install
,extensions_numbertext
,\
766 $(eval
$(call gb_Helper_register_jars
,OXT
, \
774 $(eval
$(call gb_Helper_register_jars
,NONE
,\
787 $(eval
$(call gb_Helper_register_packages_for_install
,ure
,\
788 instsetoo_native_setup_ure \
790 $(if
$(ENABLE_JAVA
),\
793 jvmfwk_jreproperties \
794 $(if
$(filter MACOSX
,$(OS
)),bridges_jnilib_java_uno
) \
798 $(eval
$(call gb_Helper_register_packages_for_install
,ooo
,\
799 $(if
$(SYSTEM_LIBEXTTEXTCAT
),,libexttextcat_fingerprint
) \
808 $(if
$(ENABLE_JAVA
),\
810 scripting_java_jars \
811 $(if
$(ENABLE_SCRIPTING_BEANSHELL
),scripting_ScriptsBeanShell
) \
812 $(if
$(ENABLE_SCRIPTING_JAVASCRIPT
),scripting_ScriptsJavaScript
) \
814 $(if
$(DISABLE_SCRIPTING
),,scripting_scriptbindinglib
) \
815 wizards_basicsrvaccess2base \
816 wizards_basicsrvdepot \
817 wizards_basicsrveuro \
818 wizards_basicsrvgimmicks \
819 wizards_basicsrvimport \
820 wizards_basicsrvform \
821 wizards_basicsrvtemplate \
822 wizards_basicsrvtools \
823 wizards_basicsrvtutorials \
825 chart2_opengl_shader \
827 $(if
$(filter WNT
,$(OS
)), \
828 vcl_opengl_blacklist \
830 $(if
$(ENABLE_OPENGL_CANVAS
),canvas_opengl_shader
) \
831 $(if
$(DISABLE_PYTHON
),,$(if
$(filter-out AIX
,$(OS
)), \
832 Pyuno
/commonwizards \
839 sfx2_classification \
840 $(if
$(filter OPENCL
,$(BUILD_TYPE
)),sc_opencl_runtimetest
) \
843 $(eval
$(call gb_Helper_register_packages_for_install
,ogltrans
,\
844 slideshow_opengl_shader \
847 $(eval
$(call gb_Helper_register_packages_for_install
,reportbuilder
,\
848 reportbuilder-templates \
851 $(eval
$(call gb_Helper_register_packages_for_install
,xsltfilter
,\
857 ifeq ($(USING_X11
), TRUE
)
858 $(eval
$(call gb_Helper_register_packages_for_install
,base_brand
,\
862 $(eval
$(call gb_Helper_register_packages_for_install
,calc_brand
,\
866 $(eval
$(call gb_Helper_register_packages_for_install
,draw_brand
,\
870 $(eval
$(call gb_Helper_register_packages_for_install
,impress_brand
,\
871 desktop_simpress_sh \
874 $(eval
$(call gb_Helper_register_packages_for_install
,math_brand
,\
878 $(eval
$(call gb_Helper_register_packages_for_install
,writer_brand
,\
881 endif # USING_X11=TRUE
883 ifneq ($(DISABLE_PYTHON
),TRUE
)
884 $(eval
$(call gb_Helper_register_packages_for_install
,python
, \
885 pyuno_pythonloader_ini \
886 pyuno_python_scripts \
887 $(if
$(SYSTEM_PYTHON
),,$(if
$(filter-out WNT
,$(OS
)),python_shell
)) \
888 scripting_ScriptsPython \
891 $(eval
$(call gb_Helper_register_packages_for_install
,python_scriptprovider
, \
892 scriptproviderforpython \
895 $(eval
$(call gb_Helper_register_packages_for_install
,python_librelogo
, \
897 librelogo_properties \
899 endif # DISABLE_PYTHON
901 # External executables
902 $(eval
$(call gb_ExternalExecutable_register_executables
,\
912 # vim: set noet sw=4 ts=4: