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
, \
29 $(if
$(filter MSC
,$(COM
)), \
41 $(if
$(ENABLE_TELEPATHY
),liboapprover
) \
42 $(if
$(filter IOS
,$(OS
)),LibreOffice
) \
67 $(if
$(filter-out ANDROID IOS WNT
,$(OS
)), \
73 $(if
$(filter LINUX
%BSD SOLARIS
,$(OS
)), tilebench
) \
74 $(if
$(filter LINUX MACOSX SOLARIS WNT
%BSD
,$(OS
)),icontest \
80 $(if
$(and
$(ENABLE_GTK3
), $(filter LINUX
%BSD SOLARIS
,$(OS
))), gtktiledviewer
) \
83 $(eval
$(call gb_Helper_register_executables_for_install
,SDK
,sdk
, \
84 $(if
$(filter MSC
,$(COM
)),climaker
) \
88 $(if
$(filter UCPP
,$(BUILD_TYPE
)),ucpp
) \
89 $(if
$(filter ODK
,$(BUILD_TYPE
)),unoapploader
) \
91 $(if
$(filter ODK
,$(BUILD_TYPE
)),uno-skeletonmaker
) \
94 $(eval
$(call gb_Helper_register_executables_for_install
,OOO
,brand
, \
95 $(call gb_Helper_optional
,BREAKPAD
,minidump_upload
) \
96 $(if
$(filter-out ANDROID IOS MACOSX WNT
,$(OS
)),oosplash
) \
98 $(if
$(filter DESKTOP
,$(BUILD_TYPE
)),unopkg_bin
) \
99 $(if
$(filter WNT
,$(OS
)), \
107 $(eval
$(call gb_Helper_register_executables_for_install
,OOO
,base_brand
, \
108 $(if
$(filter WNT
,$(OS
)), \
113 $(eval
$(call gb_Helper_register_executables_for_install
,OOO
,base
, \
114 $(if
$(filter WNT
,$(OS
)), \
119 $(eval
$(call gb_Helper_register_executables_for_install
,OOO
,calc_brand
, \
120 $(if
$(filter WNT
,$(OS
)), \
125 $(eval
$(call gb_Helper_register_executables_for_install
,OOO
,draw_brand
, \
126 $(if
$(filter WNT
,$(OS
)), \
131 $(eval
$(call gb_Helper_register_executables_for_install
,OOO
,impress_brand
, \
132 $(if
$(filter WNT
,$(OS
)), \
137 $(eval
$(call gb_Helper_register_executables_for_install
,OOO
,math_brand
, \
138 $(if
$(filter WNT
,$(OS
)), \
143 $(eval
$(call gb_Helper_register_executables_for_install
,OOO
,writer_brand
, \
144 $(if
$(filter WNT
,$(OS
)), \
150 $(eval
$(call gb_Helper_register_executables_for_install
,OOO
,ooo
, \
152 $(if
$(filter WNT
,$(OS
)),,uri-encode
) \
153 $(if
$(ENABLE_MACOSX_SANDBOX
),, \
156 $(if
$(filter WNT
,$(OS
)), \
162 $(eval
$(call gb_Helper_register_executables_for_install
,OOO
,quickstart
, \
167 $(eval
$(call gb_Helper_register_executables_for_install
,OOO
,python
, \
168 $(if
$(filter WNT
,$(OS
)), \
173 ifeq ($(USING_X11
), TRUE
)
174 $(eval
$(call gb_Helper_register_executables_for_install
,OOO
,gnome
, \
176 xid-fullscreen-on-all-monitors \
181 ifneq ($(ENABLE_PDFIMPORT
),)
182 $(eval
$(call gb_Helper_register_executables_for_install
,OOO
,pdfimport
, \
187 ifneq ($(ENABLE_ONLINE_UPDATE_MAR
),)
188 $(eval
$(call gb_Helper_register_executables_for_install
,OOO
,updater
,\
194 $(eval
$(call gb_Helper_register_executables_for_install
,UREBIN
,ure
,\
195 $(if
$(and
$(ENABLE_JAVA
),$(filter-out MACOSX WNT
,$(OS
)),$(filter DESKTOP
,$(BUILD_TYPE
))),javaldx
) \
196 $(if
$(ENABLE_MACOSX_SANDBOX
),, \
200 $(if
$(filter DESKTOP
,$(BUILD_TYPE
)),uno
) \
203 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,base
, \
209 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,calc
, \
211 $(call gb_Helper_optional
,DBCONNECTIVITY
,calc
) \
219 $(if
$(ENABLE_COINMP
)$(ENABLE_LPSOLVE
),solver
) \
220 $(call gb_Helper_optional
,SCRIPTING
,vbaobj
) \
223 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,graphicfilter
, \
230 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,tde
, \
231 $(if
$(ENABLE_TDE
),tdebe1
) \
233 $(if
$(ENABLE_TDE
),vclplug_tde
) \
237 $(eval
$(call gb_Helper_register_executables_for_install
,OOO
,tde
, \
238 $(if
$(ENABLE_TDE
),tdefilepicker
) \
241 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,impress
, \
245 PresentationMinimizer \
249 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,onlineupdate
, \
250 $(if
$(ENABLE_ONLINE_UPDATE
), \
256 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,gnome
, \
257 $(if
$(ENABLE_EVOAB2
),evoab
) \
258 $(if
$(ENABLE_GTK
),vclplug_gtk
) \
259 $(if
$(ENABLE_GTK3
),vclplug_gtk3
) \
260 $(if
$(ENABLE_SYSTRAY_GTK
),qstart_gtk
) \
261 $(if
$(ENABLE_GIO
),losessioninstall
) \
262 $(if
$(ENABLE_GIO
),ucpgio1
) \
265 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,kde
, \
266 $(if
$(ENABLE_KDE4
),kde4be1
) \
268 $(if
$(ENABLE_KDE4
),vclplug_kde4
) \
272 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,math
, \
277 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,ogltrans
, \
281 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,ooo
, \
283 $(call gb_Helper_optional
,AVMEDIA
,avmedia
) \
284 $(if
$(filter MACOSX
,$(OS
)),\
286 $(if
$(ENABLE_MACOSX_SANDBOX
),,\
287 $(if
$(shell test $(MACOSX_SDK_VERSION
) -ge
101200 || echo not
),avmediaQuickTime
) \
290 $(call gb_Helper_optional
,SCRIPTING
, \
296 $(if
$(ENABLE_CAIRO_CANVAS
),cairocanvas
) \
302 $(call gb_Helper_optional
,OPENCL
,clew
) \
303 $(if
$(filter $(OS
),WNT
),,cmdmail
) \
308 $(call gb_Helper_optional
,DBCONNECTIVITY
, \
315 $(if
$(filter-out MACOSX WNT
,$(OS
)),desktopbe1
) \
316 $(if
$(USING_X11
),desktop_detector
) \
317 $(call gb_Helper_optional
,SCRIPTING
,dlgprov
) \
318 $(if
$(ENABLE_DIRECTX
),directx9canvas
) \
319 $(if
$(ENABLE_OPENGL_CANVAS
),oglcanvas
) \
322 $(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
) \
348 $(if
$(ENABLE_JAVA
),jdbc
) \
354 $(if
$(filter $(OS
),MACOSX
),macbe1
) \
355 $(if
$(MERGELIBS
),merged
) \
359 $(call gb_Helper_optional
,SCRIPTING
,msforms
) \
361 $(call gb_Helper_optional
,DBCONNECTIVITY
,mysql
) \
366 $(call gb_Helper_optional
,OPENCL
,opencl
) \
370 $(call gb_Helper_optional
,SCRIPTING
,protocolhandler
) \
374 $(call gb_Helper_optional
,DBCONNECTIVITY
,sdbt
) \
385 $(if
$(ENABLE_HEADLESS
),,spl
) \
387 $(call gb_Helper_optional
,SCRIPTING
,stringresource
) \
395 $(if
$(ENABLE_TDEAB
),tdeab1
) \
396 $(if
$(ENABLE_TDEAB
),tdeabdrv1
) \
401 $(if
$(ENABLE_TELEPATHY
),tubes
) \
412 $(call gb_Helper_optional
,SCRIPTING
, \
431 $(if
$(filter $(OS
),WNT
), \
433 $(if
$(DISABLE_ATL
),,oleautobridge
) \
437 $(if
$(filter $(OS
),MACOSX
), \
438 $(if
$(ENABLE_MACOSX_SANDBOX
),, \
446 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,postgresqlsdbc
, \
447 $(if
$(BUILD_POSTGRESQL_SDBC
), \
449 postgresql-sdbc-impl
) \
452 ifneq ($(ENABLE_PDFIMPORT
),)
453 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,pdfimport
, \
458 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,python
, \
462 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,python
, \
464 $(if
$(filter-out WNT
,$(OS
)),pyuno_wrapper
) \
467 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,reportbuilder
, \
473 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,writer
, \
475 $(if
$(ENABLE_LWP
),lwpft
) \
480 $(call gb_Helper_optional
,SCRIPTING
,vbaswobj
) \
483 $(call gb_Helper_optional
,DBCONNECTIVITY
,writer
) \
486 # cli_cppuhelper is NONE even though it is actually in URE because it is CliNativeLibrary
487 $(eval
$(call gb_Helper_register_libraries
,PLAINLIBS_NONE
, \
494 testtools_bridgetest \
495 testtools_bridgetest-common \
496 testtools_constructors \
497 unobootstrapprotector \
498 unoexceptionprotector \
500 vclbootstrapprotector \
503 $(if
$(filter MSC
,$(COM
)),cli_cppuhelper
) \
504 $(if
$(filter $(OS
),ANDROID
),lo-bootstrap
) \
505 $(if
$(filter $(OS
),MACOSX
),OOoSpotlightImporter
) \
508 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_URE
,ure
, \
510 $(if
$(filter MSC
,$(COM
)),cli_uno
) \
512 $(if
$(ENABLE_JAVA
), \
515 $(if
$(filter $(OS
),WNT
),jpipx
) \
521 $(if
$(filter MSC
,$(COM
)),$(if
$(filter INTEL
,$(CPUNAME
)),msci
,mscx
),gcc3
)_uno \
522 $(if
$(filter $(OS
),WNT
), \
527 $(eval
$(call gb_Helper_register_libraries_for_install
,PRIVATELIBS_URE
,ure
, \
534 $(if
$(ENABLE_JAVA
),javaloader
) \
535 $(if
$(ENABLE_JAVA
),javavm
) \
536 $(if
$(ENABLE_JAVA
),jvmaccess
) \
537 $(if
$(ENABLE_JAVA
),jvmfwk
) \
550 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,ooo
, \
551 $(if
$(ENABLE_VLC
),avmediavlc
) \
552 $(if
$(ENABLE_GSTREAMER_1_0
),avmediagst
) \
553 $(if
$(ENABLE_GSTREAMER_0_10
),avmediagst_0_10
) \
554 $(if
$(ENABLE_DIRECTX
),avmediawin
) \
558 $(call gb_Helper_optional
,DBCONNECTIVITY
,dbpool2
) \
559 $(call gb_Helper_optional
,BREAKPAD
,crashreport
) \
565 $(if
$(ENABLE_JAVA
),hsqldb
) \
568 $(if
$(and
$(ENABLE_GTK3
), $(filter LINUX
%BSD SOLARIS
,$(OS
))), libreofficekitgtk
) \
574 $(if
$(ENABLE_JAVA
), \
575 $(if
$(filter $(OS
),MACOSX
),,officebean
) \
577 $(if
$(filter WNT-TRUE
,$(OS
)-$(DISABLE_ATL
)),,emboleobj
) \
579 $(if
$(USING_X11
),recentfile
) \
580 $(call gb_Helper_optional
,SCRIPTING
,scriptframe
) \
584 $(if
$(filter $(OS
),WNT
),sysdtrans
) \
588 $(if
$(WITH_WEBDAV
),ucpdav1
) \
599 $(if
$(filter $(OS
),MACOSX
), \
603 $(if
$(filter WNT
,$(OS
)), \
608 $(if
$(DISABLE_ATL
),,\
616 ifeq ($(ENABLE_GLTF
),TRUE
)
617 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,ooo
, \
623 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,activexbinarytable
, \
624 $(if
$(DISABLE_ACTIVEX
),,\
629 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,activex
, \
630 $(if
$(DISABLE_ACTIVEX
),,\
636 ifneq ($(BUILD_X64
),)
637 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,activexwin64
, \
638 $(if
$(DISABLE_ACTIVEX
),,\
645 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,ooobinarytable
, \
646 $(if
$(WINDOWS_SDK_HOME
),\
656 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,winexplorerextbinarytable
, \
660 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_SHLXTHDL
,winexplorerext
, \
665 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_SHLXTHDL
,winexplorerextnt6
, \
669 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_SHLXTHDL
,winexplorerextwin64
, \
674 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_SHLXTHDL
,winexplorerextwin64nt6
, \
680 $(eval
$(call gb_Helper_register_libraries_for_install
,RTVERLIBS
,ure
, \
686 $(eval
$(call gb_Helper_register_libraries_for_install
,UNOVERLIBS
,ure
, \
691 $(eval
$(call gb_Helper_register_libraries
,EXTENSIONLIBS
, \
697 ifneq ($(ENABLE_JAVA
),)
698 $(eval
$(call gb_Helper_register_jars_for_install
,URE
,ure
, \
706 $(eval
$(call gb_Helper_register_jars_for_install
,OOO
,ooo
, \
708 ScriptProviderForJava \
712 $(if
$(filter-out MACOSX
,$(OS
)),officebean
) \
722 $(eval
$(call gb_Helper_register_jars_for_install
,OOO
,reportbuilder
, \
724 reportbuilderwizard \
727 ifneq ($(ENABLE_SCRIPTING_BEANSHELL
),)
728 $(eval
$(call gb_Helper_register_jars_for_install
,OOO
,extensions_bsh
, \
729 ScriptProviderForBeanShell \
733 ifneq ($(ENABLE_SCRIPTING_JAVASCRIPT
),)
734 $(eval
$(call gb_Helper_register_jars_for_install
,OOO
,extensions_rhino
, \
735 ScriptProviderForJavaScript \
739 ifeq (CT2N
,$(filter CT2N
,$(BUILD_TYPE
)))
740 $(eval
$(call gb_Helper_register_packages_for_install
,extensions_ct2n
,\
745 ifeq (NUMBERTEXT
,$(filter NUMBERTEXT
,$(BUILD_TYPE
)))
746 $(eval
$(call gb_Helper_register_packages_for_install
,extensions_numbertext
,\
751 $(eval
$(call gb_Helper_register_jars
,OXT
, \
759 $(eval
$(call gb_Helper_register_jars
,NONE
,\
772 $(eval
$(call gb_Helper_register_packages_for_install
,ure
,\
773 instsetoo_native_setup_ure \
775 $(if
$(ENABLE_JAVA
),\
778 jvmfwk_jreproperties \
779 $(if
$(filter MACOSX
,$(OS
)),bridges_jnilib_java_uno
) \
783 $(eval
$(call gb_Helper_register_packages_for_install
,ooo
,\
784 $(if
$(SYSTEM_LIBEXTTEXTCAT
),,libexttextcat_fingerprint
) \
793 $(if
$(ENABLE_JAVA
),\
795 scripting_java_jars \
796 $(if
$(ENABLE_SCRIPTING_BEANSHELL
),scripting_ScriptsBeanShell
) \
797 $(if
$(ENABLE_SCRIPTING_JAVASCRIPT
),scripting_ScriptsJavaScript
) \
799 $(if
$(DISABLE_SCRIPTING
),,scripting_scriptbindinglib
) \
800 wizards_basicsrvaccess2base \
801 wizards_basicsrvdepot \
802 wizards_basicsrveuro \
803 wizards_basicsrvgimmicks \
804 wizards_basicsrvimport \
805 wizards_basicsrvform \
806 wizards_basicsrvtemplate \
807 wizards_basicsrvtools \
808 wizards_basicsrvtutorials \
810 chart2_opengl_shader \
813 $(if
$(filter WNT
,$(OS
)), \
814 vcl_opengl_blacklist \
816 $(if
$(ENABLE_OPENGL_CANVAS
),canvas_opengl_shader
) \
817 $(if
$(DISABLE_PYTHON
),,$(if
$(filter-out AIX
,$(OS
)), \
818 Pyuno
/commonwizards \
825 sfx2_classification \
826 $(if
$(filter OPENCL
,$(BUILD_TYPE
)),sc_opencl_runtimetest
) \
829 $(eval
$(call gb_Helper_register_packages_for_install
,ogltrans
,\
830 slideshow_opengl_shader \
833 $(eval
$(call gb_Helper_register_packages_for_install
,reportbuilder
,\
834 reportbuilder-templates \
837 $(eval
$(call gb_Helper_register_packages_for_install
,xsltfilter
,\
843 ifeq ($(USING_X11
), TRUE
)
844 $(eval
$(call gb_Helper_register_packages_for_install
,base_brand
,\
848 $(eval
$(call gb_Helper_register_packages_for_install
,calc_brand
,\
852 $(eval
$(call gb_Helper_register_packages_for_install
,draw_brand
,\
856 $(eval
$(call gb_Helper_register_packages_for_install
,impress_brand
,\
857 desktop_simpress_sh \
860 $(eval
$(call gb_Helper_register_packages_for_install
,math_brand
,\
864 $(eval
$(call gb_Helper_register_packages_for_install
,writer_brand
,\
867 endif # USING_X11=TRUE
869 ifneq ($(DISABLE_PYTHON
),TRUE
)
870 $(eval
$(call gb_Helper_register_packages_for_install
,python
, \
871 pyuno_pythonloader_ini \
872 pyuno_python_scripts \
873 $(if
$(SYSTEM_PYTHON
),,$(if
$(filter-out WNT
,$(OS
)),python_shell
)) \
874 scripting_ScriptsPython \
877 $(eval
$(call gb_Helper_register_packages_for_install
,python_scriptprovider
, \
878 scriptproviderforpython \
881 $(eval
$(call gb_Helper_register_packages_for_install
,python_librelogo
, \
883 librelogo_properties \
885 endif # DISABLE_PYTHON
887 # External executables
888 $(eval
$(call gb_ExternalExecutable_register_executables
,\
899 $(eval
$(call gb_Helper_register_resources
,\
904 $(call gb_Helper_optional
,SCRIPTING
,basctl
) \
905 $(call gb_Helper_optional
,DBCONNECTIVITY
,bib
) \
910 $(call gb_Helper_optional
,DBCONNECTIVITY
,\
925 $(call gb_Helper_optional
,DESKTOP
,fps_office
) \
931 $(call gb_Helper_optional
,DBCONNECTIVITY
,pcr
) \
936 $(call gb_Helper_optional
,SCRIPTING
,sb
) \
942 $(call gb_Helper_optional
,DBCONNECTIVITY
,sdbt
) \
945 $(if
$(ENABLE_COINMP
)$(ENABLE_LPSOLVE
),solver
) \
953 $(if
$(ENABLE_ONLINE_UPDATE
),updchk
) \
963 $(eval
$(call gb_Helper_register_uiconfigs
,\
965 $(call gb_Helper_optional
,DBCONNECTIVITY
,dbaccess
) \
970 $(call gb_Helper_optional
,SCRIPTING
,modules
/BasicIDE
) \
971 $(call gb_Helper_optional
,DBCONNECTIVITY
,\
978 $(call gb_Helper_optional
,DBCONNECTIVITY
,\
983 $(call gb_Helper_optional
,DBCONNECTIVITY
,modules
/sbibliography
) \
991 $(call gb_Helper_optional
,DBCONNECTIVITY
,modules
/spropctrlr
) \
992 modules
/StartModule \
1001 $(if
$(ENABLE_TELEPATHY
),tubes
) \
1008 ifeq ($(gb_GBUILDSELFTEST
),t
)
1009 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,ooo
, gbuildselftestdep gbuildselftest
))
1010 $(eval
$(call gb_Helper_register_executables
,NONE
, gbuildselftestexe
))
1013 # vim: set noet sw=4 ts=4: