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 \
75 $(if
$(and
$(ENABLE_GTK
), $(filter LINUX
,$(OS
))), gtktiledviewer
) \
78 $(eval
$(call gb_Helper_register_executables_for_install
,SDK
,sdk
, \
79 $(if
$(filter MSC
,$(COM
)),climaker
) \
84 $(if
$(filter UCPP
,$(BUILD_TYPE
)),ucpp
) \
85 $(if
$(filter ODK
,$(BUILD_TYPE
)),unoapploader
) \
86 $(if
$(filter ODK
,$(BUILD_TYPE
)),uno-skeletonmaker
) \
89 $(eval
$(call gb_Helper_register_executables_for_install
,OOO
,brand
, \
90 $(if
$(filter-out ANDROID IOS MACOSX WNT
,$(OS
)),oosplash
) \
92 $(if
$(filter DESKTOP
,$(BUILD_TYPE
)),unopkg_bin
) \
93 $(if
$(filter WNT
,$(OS
)), \
101 $(eval
$(call gb_Helper_register_executables_for_install
,OOO
,base_brand
, \
102 $(if
$(filter WNT
,$(OS
)), \
107 $(eval
$(call gb_Helper_register_executables_for_install
,OOO
,base
, \
108 $(if
$(filter WNT
,$(OS
)), \
113 $(eval
$(call gb_Helper_register_executables_for_install
,OOO
,calc_brand
, \
114 $(if
$(filter WNT
,$(OS
)), \
119 $(eval
$(call gb_Helper_register_executables_for_install
,OOO
,draw_brand
, \
120 $(if
$(filter WNT
,$(OS
)), \
125 $(eval
$(call gb_Helper_register_executables_for_install
,OOO
,impress_brand
, \
126 $(if
$(filter WNT
,$(OS
)), \
131 $(eval
$(call gb_Helper_register_executables_for_install
,OOO
,math_brand
, \
132 $(if
$(filter WNT
,$(OS
)), \
137 $(eval
$(call gb_Helper_register_executables_for_install
,OOO
,writer_brand
, \
138 $(if
$(filter WNT
,$(OS
)), \
144 $(eval
$(call gb_Helper_register_executables_for_install
,OOO
,ooo
, \
146 $(if
$(filter unx-TRUE
,$(GUIBASE
)-$(ENABLE_NPAPI_FROM_BROWSER
)),pluginapp.bin
) \
147 $(if
$(filter unx-TRUE
,$(GUIBASE
)-$(ENABLE_TDE
)),tdefilepicker
) \
148 $(if
$(filter WNT
,$(OS
)),,uri-encode
) \
150 $(if
$(filter WNT
,$(OS
)), \
156 $(eval
$(call gb_Helper_register_executables_for_install
,OOO
,quickstart
, \
161 ifneq ($(ENABLE_CRASHDUMP
),)
162 $(eval
$(call gb_Helper_register_executables_for_install
,OOO
,crashrep
, \
164 $(if
$(filter WNT
,$(OS
)),crashrep_com
) \
168 $(eval
$(call gb_Helper_register_executables_for_install
,OOO
,python
, \
169 $(if
$(filter WNT
,$(OS
)), \
174 ifeq ($(GUIBASE
),unx
)
175 $(eval
$(call gb_Helper_register_executables_for_install
,OOO
,gnome
, \
177 xid-fullscreen-on-all-monitors \
182 ifneq ($(ENABLE_PDFIMPORT
),)
183 $(eval
$(call gb_Helper_register_executables_for_install
,OOO
,pdfimport
, \
188 $(eval
$(call gb_Helper_register_executables_for_install
,UREBIN
,ure
,\
189 $(if
$(and
$(ENABLE_JAVA
),$(filter-out MACOSX WNT
,$(OS
)),$(filter DESKTOP
,$(BUILD_TYPE
))),javaldx
) \
192 $(if
$(filter DESKTOP
,$(BUILD_TYPE
)),uno
) \
195 ifneq (,$(filter ANDROID IOS
,$(OS
)))
197 # these are in NONE layer because
198 # a) scp2 is not used on mobile b) layers don't mean anything on mobile
199 $(eval
$(call gb_Helper_register_libraries
,PLAINLIBS_NONE
, \
200 $(if
$(filter $(OS
),ANDROID
), \
210 $(eval
$(call gb_Helper_register_libraries
,PLAINLIBS_NONE
, \
211 OOoSpotlightImporter \
216 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,base
, \
222 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,calc
, \
224 $(call gb_Helper_optional
,DBCONNECTIVITY
,calc
) \
232 $(if
$(ENABLE_COINMP
)$(ENABLE_LPSOLVE
),solver
) \
233 $(call gb_Helper_optional
,SCRIPTING
,vbaobj
) \
236 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,graphicfilter
, \
243 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,tde
, \
244 $(if
$(ENABLE_TDE
),tdebe1
) \
247 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,impress
, \
251 PresentationMinimizer \
255 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,onlineupdate
, \
256 $(if
$(ENABLE_ONLINE_UPDATE
), \
262 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,gnome
, \
263 $(if
$(ENABLE_EVOAB2
),evoab
) \
264 $(if
$(ENABLE_GTK
),vclplug_gtk
) \
265 $(if
$(ENABLE_GTK3
),vclplug_gtk3
) \
266 $(if
$(ENABLE_GCONF
),gconfbe1
) \
267 $(if
$(ENABLE_SYSTRAY_GTK
),qstart_gtk
) \
268 $(if
$(ENABLE_GIO
),losessioninstall
) \
269 $(if
$(ENABLE_GIO
),ucpgio1
) \
270 $(if
$(ENABLE_GNOMEVFS
),ucpgvfs1
) \
273 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,kde
, \
274 $(if
$(ENABLE_KDE
),kdebe1
) \
275 $(if
$(ENABLE_KDE4
),kde4be1
) \
276 $(if
$(and
$(filter unx
,$(GUIBASE
)),$(filter-out MACOSX
,$(OS
))), \
277 $(if
$(ENABLE_KDE
),vclplug_kde
) \
278 $(if
$(ENABLE_KDE4
),vclplug_kde4
) \
282 $(eval
$(call gb_Helper_register_executables_for_install
,OOO
,kde
, \
283 $(if
$(filter $(GUIBASE
)$(ENABLE_KDE
),unxTRUE
), \
288 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,math
, \
293 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,ogltrans
, \
297 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,ooo
, \
299 $(call gb_Helper_optional
,AVMEDIA
,avmedia
) \
300 $(if
$(filter MACOSX
,$(OS
)),\
302 $(if
$(ENABLE_MACOSX_SANDBOX
),,avmediaQuickTime
) \
304 $(call gb_Helper_optional
,SCRIPTING
, \
308 $(if
$(filter $(OS
),ANDROID
),, \
313 $(if
$(ENABLE_CAIRO_CANVAS
),cairocanvas
) \
319 $(call gb_Helper_optional
,OPENCL
,clew
) \
320 $(if
$(filter $(OS
),WNT
),,cmdmail
) \
325 $(call gb_Helper_optional
,DBCONNECTIVITY
, \
332 $(if
$(filter-out MACOSX WNT
,$(OS
)),desktopbe1
) \
333 $(if
$(filter unx
,$(GUIBASE
)),desktop_detector
) \
334 $(call gb_Helper_optional
,SCRIPTING
,dlgprov
) \
335 $(if
$(ENABLE_DIRECTX
),directx9canvas
) \
336 $(if
$(ENABLE_OPENGL_CANVAS
),oglcanvas
) \
341 $(if
$(filter WNT
,$(OS
)),$(if
$(DISABLE_ATL
),,emser
)) \
352 $(call gb_Helper_optional
,DBCONNECTIVITY
, \
356 $(if
$(filter $(ENABLE_FIREBIRD_SDBC
),TRUE
),firebird_sdbc
) \
367 $(if
$(ENABLE_DIRECTX
),gdipluscanvas
) \
369 $(if
$(filter DESKTOP
,$(BUILD_TYPE
)),helplinker
) \
385 $(if
$(ENABLE_JAVA
),jdbc
) \
386 $(if
$(ENABLE_KAB
),kab1
) \
387 $(if
$(ENABLE_KAB
),kabdrv1
) \
393 $(if
$(filter $(OS
),MACOSX
),macbe1
) \
394 $(if
$(MERGELIBS
),merged
) \
398 $(call gb_Helper_optional
,SCRIPTING
,msforms
) \
400 $(call gb_Helper_optional
,DBCONNECTIVITY
,mysql
) \
405 $(call gb_Helper_optional
,OPENCL
,opencl
) \
408 $(if
$(ENABLE_NPAPI_FROM_BROWSER
),pl
) \
410 $(call gb_Helper_optional
,SCRIPTING
,protocolhandler
) \
414 $(call gb_Helper_optional
,DBCONNECTIVITY
,sdbt
) \
425 $(if
$(ENABLE_HEADLESS
),,spl
) \
427 $(call gb_Helper_optional
,SCRIPTING
,stringresource
) \
435 $(if
$(ENABLE_TDEAB
),tdeab1
) \
436 $(if
$(ENABLE_TDEAB
),tdeabdrv1
) \
441 $(if
$(ENABLE_TELEPATHY
),tubes
) \
451 $(call gb_Helper_optional
,SCRIPTING
, \
457 $(if
$(and
$(filter unx
,$(GUIBASE
)),$(filter-out MACOSX
,$(OS
))), \
459 $(if
$(ENABLE_TDE
),vclplug_tde
) \
460 $(if
$(ENABLE_HEADLESS
),,vclplug_svp
) \
470 $(if
$(filter $(OS
),WNT
), \
472 $(if
$(DISABLE_ATL
),,oleautobridge
) \
475 $(if
$(WITH_MOZAB4WIN
), \
479 $(if
$(WITH_MOZAB4WIN
),,mozbootstrap
) \
481 $(if
$(filter $(OS
),WNT
),, \
485 $(if
$(filter $(OS
),MACOSX
), \
486 $(if
$(ENABLE_MACOSX_SANDBOX
),, \
494 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,postgresqlsdbc
, \
495 $(if
$(BUILD_POSTGRESQL_SDBC
), \
497 postgresql-sdbc-impl
) \
500 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,pdfimport
, \
504 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,python
, \
508 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,python
, \
510 $(if
$(filter-out WNT
,$(OS
)),pyuno_wrapper
) \
513 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,reportbuilder
, \
519 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,writer
, \
521 $(if
$(ENABLE_LWP
),lwpft
) \
526 $(call gb_Helper_optional
,SCRIPTING
,vbaswobj
) \
531 $(eval
$(call gb_Helper_register_libraries
,PLAINLIBS_NONE
, \
537 testtools_bridgetest \
538 testtools_constructors \
539 unobootstrapprotector \
540 unoexceptionprotector \
542 vclbootstrapprotector \
547 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_URE
,ure
, \
549 $(if
$(filter MSC
,$(COM
)),cli_uno
) \
550 $(if
$(ENABLE_JAVA
), \
553 $(if
$(filter $(OS
),WNT
),jpipx
) \
559 $(if
$(URELIBS
),urelibs
) \
560 $(if
$(filter MSC
,$(COM
)),$(if
$(filter INTEL
,$(CPUNAME
)),msci
,mscx
),gcc3
)_uno \
561 $(if
$(filter $(OS
),WNT
), \
566 $(eval
$(call gb_Helper_register_libraries_for_install
,PRIVATELIBS_URE
,ure
, \
573 $(if
$(ENABLE_JAVA
),javaloader
) \
574 $(if
$(ENABLE_JAVA
),javavm
) \
575 $(if
$(ENABLE_JAVA
),jvmaccess
) \
576 $(if
$(ENABLE_JAVA
),jvmfwk
) \
589 # this is NONE even though it is actually in URE because it is CliNativeLibrary
590 $(eval
$(call gb_Helper_register_libraries
,PLAINLIBS_NONE
, \
591 $(if
$(filter MSC
,$(COM
)),cli_cppuhelper
) \
594 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,ooo
, \
595 $(if
$(ENABLE_VLC
),avmediavlc
) \
596 $(if
$(ENABLE_GSTREAMER_1_0
),avmediagst
) \
597 $(if
$(ENABLE_GSTREAMER_0_10
),avmediagst_0_10
) \
598 $(if
$(ENABLE_DIRECTX
),avmediawin
) \
599 $(if
$(ENABLE_GLTF
),avmediaogl
) \
603 $(call gb_Helper_optional
,DBCONNECTIVITY
,dbpool2
) \
609 $(if
$(ENABLE_JAVA
),hsqldb
) \
613 $(if
$(and
$(ENABLE_GTK
), $(filter LINUX
,$(OS
))), libreofficekitgtk
) \
619 $(if
$(ENABLE_JAVA
), \
620 $(if
$(filter $(OS
),MACOSX
),,officebean
) \
622 $(if
$(filter WNT-TRUE
,$(OS
)-$(DISABLE_ATL
)),,emboleobj
) \
624 $(if
$(and
$(filter unx
,$(GUIBASE
)),$(filter-out MACOSX
,$(OS
))),recentfile
) \
625 $(call gb_Helper_optional
,SCRIPTING
,scriptframe
) \
629 $(if
$(filter $(OS
),WNT
),sysdtrans
) \
633 $(if
$(WITH_WEBDAV
),ucpdav1
) \
644 $(if
$(filter $(OS
),MACOSX
), \
648 $(if
$(filter WNT
,$(OS
)), \
653 $(if
$(DISABLE_ATL
),,\
662 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,activexbinarytable
, \
663 $(if
$(DISABLE_ACTIVEX
),,\
668 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,activex
, \
669 $(if
$(DISABLE_ACTIVEX
),,\
674 ifneq ($(BUILD_X64
),)
675 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,activexwin64
, \
676 $(if
$(DISABLE_ACTIVEX
),,\
682 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,ooobinarytable
, \
683 $(if
$(WINDOWS_SDK_HOME
),\
693 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,winexplorerextbinarytable
, \
697 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_SHLXTHDL
,winexplorerext
, \
702 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_SHLXTHDL
,winexplorerextnt6
, \
706 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_SHLXTHDL
,winexplorerextwin64
, \
711 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_SHLXTHDL
,winexplorerextwin64nt6
, \
717 $(eval
$(call gb_Helper_register_libraries_for_install
,RTVERLIBS
,ure
, \
723 $(eval
$(call gb_Helper_register_libraries_for_install
,UNOVERLIBS
,ure
, \
728 $(eval
$(call gb_Helper_register_libraries
,EXTENSIONLIBS
, \
734 ifneq ($(ENABLE_JAVA
),)
735 $(eval
$(call gb_Helper_register_jars_for_install
,URE
,ure
, \
743 $(eval
$(call gb_Helper_register_jars_for_install
,OOO
,ooo
, \
745 ScriptProviderForJava \
749 $(if
$(filter-out MACOSX
,$(OS
)),officebean
) \
759 $(eval
$(call gb_Helper_register_jars_for_install
,OOO
,reportbuilder
, \
761 reportbuilderwizard \
764 ifneq ($(ENABLE_SCRIPTING_BEANSHELL
),)
765 $(eval
$(call gb_Helper_register_jars_for_install
,OOO
,extensions_bsh
, \
766 ScriptProviderForBeanShell \
770 ifneq ($(ENABLE_SCRIPTING_JAVASCRIPT
),)
771 $(eval
$(call gb_Helper_register_jars_for_install
,OOO
,extensions_rhino
, \
772 ScriptProviderForJavaScript \
776 $(eval
$(call gb_Helper_register_jars
,OXT
, \
784 $(eval
$(call gb_Helper_register_jars
,NONE
,\
798 $(eval
$(call gb_Helper_register_packages_for_install
,ure
,\
799 instsetoo_native_setup_ure \
801 $(if
$(ENABLE_JAVA
),\
803 jvmfwk_jreproperties \
804 $(if
$(filter MACOSX
,$(OS
)),bridges_jnilib_java_uno
) \
808 $(eval
$(call gb_Helper_register_packages_for_install
,ooo
,\
810 chart2_opengl_shader \
812 $(if
$(ENABLE_OPENGL_CANVAS
),canvas_opengl_shader
) \
815 $(eval
$(call gb_Helper_register_packages_for_install
,ogltrans
,\
816 slideshow_opengl_shader \
819 ifeq ($(GUIBASE
),unx
)
820 $(eval
$(call gb_Helper_register_packages_for_install
,base_brand
,\
824 $(eval
$(call gb_Helper_register_packages_for_install
,calc_brand
,\
828 $(eval
$(call gb_Helper_register_packages_for_install
,draw_brand
,\
832 $(eval
$(call gb_Helper_register_packages_for_install
,impress_brand
,\
833 desktop_simpress_sh \
836 $(eval
$(call gb_Helper_register_packages_for_install
,math_brand
,\
840 $(eval
$(call gb_Helper_register_packages_for_install
,writer_brand
,\
845 # External executables
846 $(eval
$(call gb_ExternalExecutable_register_executables
,\
856 # vim: set noet sw=4 ts=4: