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
)), \
72 $(eval
$(call gb_Helper_register_executables_for_install
,SDK
,sdk
, \
73 $(if
$(filter MSC
,$(COM
)),climaker
) \
78 $(if
$(filter UCPP
,$(BUILD_TYPE
)),ucpp
) \
79 $(if
$(filter ODK
,$(BUILD_TYPE
)),unoapploader
) \
80 $(if
$(filter ODK
,$(BUILD_TYPE
)),uno-skeletonmaker
) \
83 $(eval
$(call gb_Helper_register_executables_for_install
,OOO
,ooo
, \
87 $(eval
$(call gb_Helper_register_executables
,OOO
, \
88 $(if
$(filter LINUX
,$(OS
)), tilebench
) \
89 $(call gb_Helper_optional
,CRASHREP
,crashrep
) \
91 $(if
$(filter-out ANDROID IOS MACOSX WNT
,$(OS
)),oosplash
) \
92 $(if
$(ENABLE_NPAPI_FROM_BROWSER
),pluginapp.bin
) \
94 $(if
$(filter $(GUIBASE
)$(ENABLE_GTK
),unxTRUE
), \
95 xid-fullscreen-on-all-monitors \
97 $(if
$(filter $(GUIBASE
)$(ENABLE_TDE
),unxTRUE
), \
104 $(if
$(and
$(ENABLE_GTK
), $(filter LINUX
,$(OS
))), gtktiledviewer
) \
105 $(if
$(filter DESKTOP
,$(BUILD_TYPE
)),unopkg_bin
) \
107 $(if
$(filter WNT
,$(OS
)), \
127 $(eval
$(call gb_Helper_register_executables_for_install
,UREBIN
,ure
,\
128 $(if
$(and
$(ENABLE_JAVA
),$(filter-out MACOSX WNT
,$(OS
)),$(filter DESKTOP
,$(BUILD_TYPE
))),javaldx
) \
131 $(if
$(filter DESKTOP
,$(BUILD_TYPE
)),uno
) \
134 ifneq (,$(filter ANDROID IOS
,$(OS
)))
136 $(eval
$(call gb_Helper_register_libraries
,PLAINLIBS_OOO
, \
137 $(if
$(filter $(OS
),ANDROID
), \
142 $(eval
$(call gb_Helper_register_libraries
,OOOLIBS
, \
150 $(eval
$(call gb_Helper_register_libraries
,PLAINLIBS_NONE
, \
151 OOoSpotlightImporter \
156 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,base
, \
162 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,calc
, \
164 $(call gb_Helper_optional
,DBCONNECTIVITY
,calc
) \
172 $(if
$(ENABLE_OPENCL
),scopencl
) \
173 $(if
$(ENABLE_COINMP
)$(ENABLE_LPSOLVE
),solver
) \
174 $(if
$(DISABLE_SCRIPTING
),,vbaobj
) \
177 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,graphicfilter
, \
184 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,tde
, \
185 $(if
$(ENABLE_TDE
),tdebe1
) \
188 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,impress
, \
192 PresentationMinimizer \
196 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,onlineupdate
, \
197 $(if
$(ENABLE_ONLINE_UPDATE
), \
203 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,gnome
, \
204 $(if
$(ENABLE_EVOAB2
),evoab
) \
205 $(if
$(ENABLE_GTK
),vclplug_gtk
) \
206 $(if
$(ENABLE_GTK3
),vclplug_gtk3
) \
207 $(if
$(ENABLE_GCONF
),gconfbe1
) \
208 $(if
$(ENABLE_SYSTRAY_GTK
),qstart_gtk
) \
209 $(if
$(ENABLE_GIO
),losessioninstall
) \
210 $(if
$(ENABLE_GIO
),ucpgio1
) \
211 $(if
$(ENABLE_GNOMEVFS
),ucpgvfs1
) \
214 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,kde
, \
215 $(if
$(ENABLE_KDE
),kdebe1
) \
216 $(if
$(ENABLE_KDE4
),kde4be1
) \
217 $(if
$(and
$(filter unx
,$(GUIBASE
)),$(filter-out MACOSX
,$(OS
))), \
218 $(if
$(ENABLE_KDE
),vclplug_kde
) \
219 $(if
$(ENABLE_KDE4
),vclplug_kde4
) \
223 $(eval
$(call gb_Helper_register_executables_for_install
,OOO
,kde
, \
224 $(if
$(filter $(GUIBASE
)$(ENABLE_KDE
),unxTRUE
), \
229 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,math
, \
234 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,ogltrans
, \
238 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,ooo
, \
240 $(call gb_Helper_optional
,AVMEDIA
,avmedia
) \
241 $(if
$(filter MACOSX
,$(OS
)),\
242 $(if
$(filter-out 1050 1060,$(MACOSX_SDK_VERSION
)),avmediaMacAVF
) \
243 $(if
$(ENABLE_MACOSX_SANDBOX
),,avmediaQuickTime
) \
245 $(if
$(DISABLE_SCRIPTING
),,basctl
) \
246 $(if
$(DISABLE_SCRIPTING
),,basprov
) \
247 $(if
$(filter $(OS
),ANDROID
),, \
252 $(if
$(ENABLE_CAIRO_CANVAS
),cairocanvas
) \
258 $(if
$(filter $(OS
),WNT
),,cmdmail
) \
263 $(call gb_Helper_optional
,DBCONNECTIVITY
, \
270 $(if
$(filter-out MACOSX WNT
,$(OS
)),desktopbe1
) \
271 $(if
$(filter unx
,$(GUIBASE
)),desktop_detector
) \
272 $(if
$(DISABLE_SCRIPTING
),,dlgprov
) \
273 $(if
$(ENABLE_DIRECTX
),directx9canvas
) \
274 $(if
$(ENABLE_OPENGL_CANVAS
),oglcanvas
) \
279 $(if
$(filter WNT
,$(OS
)),$(if
$(DISABLE_ATL
),,emser
)) \
290 $(call gb_Helper_optional
,DBCONNECTIVITY
, \
294 $(if
$(filter $(ENABLE_FIREBIRD_SDBC
),TRUE
),firebird_sdbc
) \
305 $(if
$(ENABLE_DIRECTX
),gdipluscanvas
) \
307 $(if
$(filter DESKTOP
,$(BUILD_TYPE
)),helplinker
) \
323 $(if
$(ENABLE_JAVA
),jdbc
) \
324 $(if
$(ENABLE_KAB
),kab1
) \
325 $(if
$(ENABLE_KAB
),kabdrv1
) \
331 $(if
$(filter $(OS
),MACOSX
),macbe1
) \
332 $(if
$(MERGELIBS
),merged
) \
336 $(if
$(DISABLE_SCRIPTING
),,msforms
) \
338 $(call gb_Helper_optional
,DBCONNECTIVITY
,mysql
) \
345 $(if
$(ENABLE_NPAPI_FROM_BROWSER
),pl
) \
347 $(if
$(DISABLE_SCRIPTING
),,protocolhandler
) \
351 $(call gb_Helper_optional
,DBCONNECTIVITY
,sdbt
) \
362 $(if
$(ENABLE_HEADLESS
),,spl
) \
364 $(if
$(DISABLE_SCRIPTING
),,stringresource
) \
372 $(if
$(ENABLE_TDEAB
),tdeab1
) \
373 $(if
$(ENABLE_TDEAB
),tdeabdrv1
) \
378 $(if
$(ENABLE_TELEPATHY
),tubes
) \
388 $(if
$(DISABLE_SCRIPTING
),,vbaevents
) \
389 $(if
$(DISABLE_SCRIPTING
),,vbahelper
) \
393 $(if
$(and
$(filter unx
,$(GUIBASE
)),$(filter-out MACOSX
,$(OS
))), \
395 $(if
$(ENABLE_TDE
),vclplug_tde
) \
396 $(if
$(ENABLE_HEADLESS
),,vclplug_svp
) \
406 $(if
$(filter $(OS
),WNT
), \
408 $(if
$(DISABLE_ATL
),,oleautobridge
) \
411 $(if
$(WITH_MOZAB4WIN
), \
415 $(if
$(WITH_MOZAB4WIN
),,mozbootstrap
) \
417 $(if
$(filter $(OS
),WNT
),, \
421 $(if
$(filter $(OS
),MACOSX
), \
422 $(if
$(ENABLE_MACOSX_SANDBOX
),, \
430 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,postgresqlsdbc
, \
431 $(if
$(BUILD_POSTGRESQL_SDBC
), \
433 postgresql-sdbc-impl
) \
436 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,pdfimport
, \
440 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,python
, \
444 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,python
, \
446 $(if
$(filter-out WNT
,$(OS
)),pyuno_wrapper
) \
449 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,reportbuilder
, \
455 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,writer
, \
457 $(if
$(ENABLE_LWP
),lwpft
) \
462 $(if
$(DISABLE_SCRIPTING
),,vbaswobj
) \
467 $(eval
$(call gb_Helper_register_libraries
,PLAINLIBS_NONE
, \
473 testtools_bridgetest \
474 testtools_constructors \
475 unobootstrapprotector \
476 unoexceptionprotector \
478 vclbootstrapprotector \
483 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_URE
,ure
, \
485 $(if
$(filter MSC
,$(COM
)),cli_uno
) \
486 $(if
$(ENABLE_JAVA
), \
489 $(if
$(filter $(OS
),WNT
),jpipx
) \
495 $(if
$(URELIBS
),urelibs
) \
496 $(if
$(filter MSC
,$(COM
)),$(if
$(filter INTEL
,$(CPUNAME
)),msci
,mscx
),gcc3
)_uno \
497 $(if
$(filter $(OS
),WNT
), \
502 $(eval
$(call gb_Helper_register_libraries_for_install
,PRIVATELIBS_URE
,ure
, \
509 $(if
$(ENABLE_JAVA
),javaloader
) \
510 $(if
$(ENABLE_JAVA
),javavm
) \
511 $(if
$(ENABLE_JAVA
),jvmaccess
) \
512 $(if
$(ENABLE_JAVA
),jvmfwk
) \
520 $(if
$(ENABLE_JAVA
),sunjavaplugin
) \
526 # this is NONE even though it is actually in URE because it is CliNativeLibrary
527 $(eval
$(call gb_Helper_register_libraries
,PLAINLIBS_NONE
, \
528 $(if
$(filter MSC
,$(COM
)),cli_cppuhelper
) \
531 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,ooo
, \
532 $(if
$(ENABLE_VLC
),avmediavlc
) \
533 $(if
$(ENABLE_GSTREAMER
),avmediagst
) \
534 $(if
$(ENABLE_GSTREAMER_0_10
),avmediagst_0_10
) \
535 $(if
$(ENABLE_DIRECTX
),avmediawin
) \
536 $(if
$(ENABLE_GLTF
),avmediaogl
) \
540 $(call gb_Helper_optional
,DBCONNECTIVITY
,dbpool2
) \
546 $(if
$(ENABLE_JAVA
),hsqldb
) \
550 $(if
$(and
$(ENABLE_GTK
), $(filter LINUX
,$(OS
))), libreofficekitgtk
) \
556 $(if
$(ENABLE_JAVA
), \
557 $(if
$(filter $(OS
),MACOSX
),,officebean
) \
559 $(if
$(filter WNT-TRUE
,$(OS
)-$(DISABLE_ATL
)),,emboleobj
) \
561 $(if
$(and
$(filter unx
,$(GUIBASE
)),$(filter-out MACOSX
,$(OS
))),recentfile
) \
562 $(if
$(DISABLE_SCRIPTING
),,scriptframe
) \
566 $(if
$(filter $(OS
),WNT
),sysdtrans
) \
570 $(if
$(WITH_WEBDAV
),ucpdav1
) \
581 $(if
$(filter $(OS
),MACOSX
), \
585 $(if
$(filter WNT
,$(OS
)), \
590 $(if
$(DISABLE_ATL
),,\
599 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,activexbinarytable
, \
600 $(if
$(DISABLE_ACTIVEX
),,\
605 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,activex
, \
606 $(if
$(DISABLE_ACTIVEX
),,\
611 ifneq ($(BUILD_X64
),)
612 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,activexwin64
, \
613 $(if
$(DISABLE_ACTIVEX
),,\
619 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,ooobinarytable
, \
620 $(if
$(WINDOWS_SDK_HOME
),\
630 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,winexplorerextbinarytable
, \
634 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_SHLXTHDL
,winexplorerext
, \
639 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_SHLXTHDL
,winexplorerextnt6
, \
643 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_SHLXTHDL
,winexplorerextwin64
, \
648 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_SHLXTHDL
,winexplorerextwin64nt6
, \
654 $(eval
$(call gb_Helper_register_libraries_for_install
,RTVERLIBS
,ure
, \
660 $(eval
$(call gb_Helper_register_libraries_for_install
,UNOVERLIBS
,ure
, \
665 $(eval
$(call gb_Helper_register_libraries
,EXTENSIONLIBS
, \
671 ifneq ($(ENABLE_JAVA
),)
672 $(eval
$(call gb_Helper_register_jars_for_install
,URE
,ure
, \
680 $(eval
$(call gb_Helper_register_jars_for_install
,OOO
,ooo
, \
682 ScriptProviderForJava \
686 $(if
$(filter-out MACOSX
,$(OS
)),officebean
) \
696 $(eval
$(call gb_Helper_register_jars_for_install
,OOO
,reportbuilder
, \
698 reportbuilderwizard \
701 ifneq ($(ENABLE_SCRIPTING_BEANSHELL
),)
702 $(eval
$(call gb_Helper_register_jars_for_install
,OOO
,extensions_bsh
, \
703 ScriptProviderForBeanShell \
707 ifneq ($(ENABLE_SCRIPTING_JAVASCRIPT
),)
708 $(eval
$(call gb_Helper_register_jars_for_install
,OOO
,extensions_rhino
, \
709 ScriptProviderForJavaScript \
713 $(eval
$(call gb_Helper_register_jars
,OXT
, \
721 $(eval
$(call gb_Helper_register_jars
,NONE
,\
735 $(eval
$(call gb_Helper_register_packages_for_install
,ure
,\
736 instsetoo_native_setup_ure \
738 $(if
$(ENABLE_JAVA
),\
740 jvmfwk_jreproperties \
741 $(if
$(filter MACOSX
,$(OS
)),bridges_jnilib_java_uno
) \
745 $(eval
$(call gb_Helper_register_packages_for_install
,ooo
,\
749 # External executables
750 $(eval
$(call gb_ExternalExecutable_register_executables
,\
760 # vim: set noet sw=4 ts=4: