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
)), \
73 $(eval
$(call gb_Helper_register_executables_for_install
,SDK
,sdk
, \
74 $(if
$(filter MSC
,$(COM
)),climaker
) \
79 $(if
$(filter UCPP
,$(BUILD_TYPE
)),ucpp
) \
80 $(if
$(filter ODK
,$(BUILD_TYPE
)),unoapploader
) \
81 $(if
$(filter ODK
,$(BUILD_TYPE
)),uno-skeletonmaker
) \
84 $(eval
$(call gb_Helper_register_executables_for_install
,OOO
,ooo
, \
88 $(eval
$(call gb_Helper_register_executables
,OOO
, \
89 $(call gb_Helper_optional
,CRASHREP
,crashrep
) \
91 $(if
$(ENABLE_NPAPI_INTO_BROWSER
),nsplugin
) \
92 $(if
$(filter-out ANDROID IOS MACOSX WNT
,$(OS
)),oosplash
) \
93 $(if
$(ENABLE_NPAPI_FROM_BROWSER
),pluginapp.bin
) \
95 $(if
$(filter $(GUIBASE
)$(ENABLE_GTK
),unxTRUE
), \
96 xid-fullscreen-on-all-monitors \
98 $(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
, \
148 ifeq ($(ENABLE_NPAPI_INTO_BROWSER
),TRUE
)
149 $(eval
$(call gb_Helper_register_libraries
,PLAINLIBS_OOO
, \
156 $(eval
$(call gb_Helper_register_libraries
,PLAINLIBS_NONE
, \
157 OOoSpotlightImporter \
162 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,base
, \
168 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,calc
, \
170 $(call gb_Helper_optional
,DBCONNECTIVITY
,calc
) \
178 $(if
$(ENABLE_OPENCL
),scopencl
) \
179 $(if
$(ENABLE_COINMP
)$(ENABLE_LPSOLVE
),solver
) \
180 $(if
$(DISABLE_SCRIPTING
),,vbaobj
) \
181 $(if
$(ENABLE_TELEPATHY
),tubes
) \
184 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,graphicfilter
, \
191 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,tde
, \
192 $(if
$(ENABLE_TDE
),tdebe1
) \
195 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,impress
, \
199 PresentationMinimizer \
203 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,onlineupdate
, \
204 $(if
$(ENABLE_ONLINE_UPDATE
), \
210 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,gnome
, \
211 $(if
$(ENABLE_EVOAB2
),evoab
) \
212 $(if
$(ENABLE_GTK
),vclplug_gtk
) \
213 $(if
$(ENABLE_GTK3
),vclplug_gtk3
) \
214 $(if
$(ENABLE_GCONF
),gconfbe1
) \
215 $(if
$(ENABLE_SYSTRAY_GTK
),qstart_gtk
) \
216 $(if
$(ENABLE_GIO
),losessioninstall
) \
217 $(if
$(ENABLE_GIO
),ucpgio1
) \
218 $(if
$(ENABLE_GNOMEVFS
),ucpgvfs1
) \
221 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,kde
, \
222 $(if
$(ENABLE_KDE
),kdebe1
) \
223 $(if
$(ENABLE_KDE4
),kde4be1
) \
224 $(if
$(and
$(filter unx
,$(GUIBASE
)),$(filter-out MACOSX
,$(OS
))), \
225 $(if
$(ENABLE_KDE
),vclplug_kde
) \
226 $(if
$(ENABLE_KDE4
),vclplug_kde4
) \
230 $(eval
$(call gb_Helper_register_executables_for_install
,OOO
,kde
, \
231 $(if
$(filter $(GUIBASE
)$(ENABLE_KDE
),unxTRUE
), \
236 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,math
, \
241 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,ogltrans
, \
245 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,ooo
, \
247 $(call gb_Helper_optional
,AVMEDIA
,avmedia
) \
248 $(if
$(filter MACOSX
,$(OS
)),\
249 $(if
$(filter-out 1050 1060,$(MACOSX_SDK_VERSION
)),avmediaMacAVF
) \
250 $(if
$(ENABLE_MACOSX_SANDBOX
),,avmediaQuickTime
) \
252 $(if
$(DISABLE_SCRIPTING
),,basctl
) \
253 $(if
$(DISABLE_SCRIPTING
),,basprov
) \
254 $(if
$(filter $(OS
),ANDROID
),, \
259 $(if
$(ENABLE_CAIRO_CANVAS
),cairocanvas
) \
265 $(if
$(filter $(OS
),MACOSX WNT
),,cmdmail
) \
270 $(call gb_Helper_optional
,DBCONNECTIVITY
, \
277 $(if
$(filter-out MACOSX WNT
,$(OS
)),desktopbe1
) \
278 $(if
$(filter unx
,$(GUIBASE
)),desktop_detector
) \
279 $(if
$(DISABLE_SCRIPTING
),,dlgprov
) \
280 $(if
$(ENABLE_DIRECTX
),directx9canvas
) \
281 $(if
$(ENABLE_OPENGL_CANVAS
),oglcanvas
) \
286 $(if
$(filter WNT
,$(OS
)),$(if
$(DISABLE_ATL
),,emser
)) \
297 $(call gb_Helper_optional
,DBCONNECTIVITY
, \
301 $(if
$(filter $(ENABLE_FIREBIRD_SDBC
),TRUE
),firebird_sdbc
) \
312 $(if
$(ENABLE_DIRECTX
),gdipluscanvas
) \
314 $(if
$(filter DESKTOP
,$(BUILD_TYPE
)),helplinker
) \
330 $(if
$(ENABLE_JAVA
),jdbc
) \
331 $(if
$(ENABLE_KAB
),kab1
) \
332 $(if
$(ENABLE_KAB
),kabdrv1
) \
338 $(if
$(filter $(OS
),MACOSX
),macbe1
) \
339 $(if
$(MERGELIBS
),merged
) \
343 $(if
$(DISABLE_SCRIPTING
),,msforms
) \
345 $(call gb_Helper_optional
,DBCONNECTIVITY
,mysql
) \
352 $(if
$(ENABLE_NPAPI_FROM_BROWSER
),pl
) \
354 $(if
$(DISABLE_SCRIPTING
),,protocolhandler
) \
358 $(call gb_Helper_optional
,DBCONNECTIVITY
,sdbt
) \
369 $(if
$(ENABLE_HEADLESS
),,spl
) \
371 $(if
$(DISABLE_SCRIPTING
),,stringresource
) \
379 $(if
$(ENABLE_TDEAB
),tdeab1
) \
380 $(if
$(ENABLE_TDEAB
),tdeabdrv1
) \
394 $(if
$(DISABLE_SCRIPTING
),,vbaevents
) \
395 $(if
$(DISABLE_SCRIPTING
),,vbahelper
) \
399 $(if
$(and
$(filter unx
,$(GUIBASE
)),$(filter-out MACOSX
,$(OS
))), \
401 $(if
$(ENABLE_TDE
),vclplug_tde
) \
402 $(if
$(ENABLE_HEADLESS
),,vclplug_svp
) \
412 $(if
$(filter $(OS
),WNT
), \
414 $(if
$(DISABLE_ATL
),,oleautobridge
) \
417 $(if
$(WITH_MOZAB4WIN
), \
421 $(if
$(WITH_MOZAB4WIN
),,mozbootstrap
) \
423 $(if
$(filter $(OS
),WNT
),, \
427 $(if
$(filter $(OS
),MACOSX
), \
428 $(if
$(ENABLE_MACOSX_SANDBOX
),, \
436 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,postgresqlsdbc
, \
438 postgresql-sdbc-impl \
441 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,pdfimport
, \
445 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,python
, \
449 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,python
, \
451 $(if
$(filter-out WNT
,$(OS
)),pyuno_wrapper
) \
454 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,reportbuilder
, \
460 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,writer
, \
462 $(if
$(ENABLE_LWP
),lwpft
) \
467 $(if
$(DISABLE_SCRIPTING
),,vbaswobj
) \
472 $(eval
$(call gb_Helper_register_libraries
,PLAINLIBS_NONE
, \
478 testtools_bridgetest \
479 testtools_constructors \
480 unobootstrapprotector \
481 unoexceptionprotector \
483 vclbootstrapprotector \
488 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_URE
,ure
, \
490 $(if
$(filter MSC
,$(COM
)),cli_uno
) \
491 $(if
$(ENABLE_JAVA
), \
494 $(if
$(filter $(OS
),WNT
),jpipx
) \
500 $(if
$(URELIBS
),urelibs
) \
501 $(if
$(filter MSC
,$(COM
)),$(if
$(filter INTEL
,$(CPUNAME
)),msci
,mscx
),gcc3
)_uno \
502 $(if
$(filter $(OS
),WNT
), \
507 $(eval
$(call gb_Helper_register_libraries_for_install
,PRIVATELIBS_URE
,ure
, \
514 $(if
$(ENABLE_JAVA
),javaloader
) \
515 $(if
$(ENABLE_JAVA
),javavm
) \
516 $(if
$(ENABLE_JAVA
),jvmaccess
) \
517 $(if
$(ENABLE_JAVA
),jvmfwk
) \
525 $(if
$(ENABLE_JAVA
),sunjavaplugin
) \
531 # this is NONE even though it is actually in URE because it is CliNativeLibrary
532 $(eval
$(call gb_Helper_register_libraries
,PLAINLIBS_NONE
, \
533 $(if
$(filter MSC
,$(COM
)),cli_cppuhelper
) \
536 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,ooo
, \
537 $(if
$(ENABLE_VLC
),avmediavlc
) \
538 $(if
$(ENABLE_GSTREAMER
),avmediagst
) \
539 $(if
$(ENABLE_GSTREAMER_0_10
),avmediagst_0_10
) \
540 $(if
$(ENABLE_DIRECTX
),avmediawin
) \
541 $(if
$(ENABLE_GLTF
),avmediaogl
) \
545 $(call gb_Helper_optional
,DBCONNECTIVITY
,dbpool2
) \
551 $(if
$(ENABLE_JAVA
),hsqldb
) \
555 $(if
$(and
$(ENABLE_GTK
), $(filter LINUX
,$(OS
))), libreofficekitgtk
) \
561 $(if
$(ENABLE_JAVA
), \
562 $(if
$(filter $(OS
),MACOSX
),,officebean
) \
564 $(if
$(filter WNT-TRUE
,$(OS
)-$(DISABLE_ATL
)),,emboleobj
) \
566 $(if
$(and
$(filter unx
,$(GUIBASE
)),$(filter-out MACOSX
,$(OS
))),recentfile
) \
567 $(if
$(DISABLE_SCRIPTING
),,scriptframe
) \
571 $(if
$(filter $(OS
),WNT
),sysdtrans
) \
575 $(if
$(WITH_WEBDAV
),ucpdav1
) \
586 $(if
$(filter $(OS
),MACOSX
), \
590 $(if
$(filter WNT
,$(OS
)), \
595 $(if
$(DISABLE_ATL
),,\
604 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,activexbinarytable
, \
605 $(if
$(DISABLE_ACTIVEX
),,\
610 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,ooobinarytable
, \
611 $(if
$(WINDOWS_SDK_HOME
),\
622 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,winexplorerextbinarytable
, \
626 $(eval
$(call gb_Helper_register_libraries
,PLAINLIBS_SHLXTHDL
, \
635 $(eval
$(call gb_Helper_register_libraries
,PLAINLIBS_OOO
, \
645 $(eval
$(call gb_Helper_register_libraries_for_install
,RTVERLIBS
,ure
, \
651 $(eval
$(call gb_Helper_register_libraries_for_install
,UNOVERLIBS
,ure
, \
656 $(eval
$(call gb_Helper_register_libraries
,EXTENSIONLIBS
, \
662 ifneq ($(ENABLE_JAVA
),)
663 $(eval
$(call gb_Helper_register_jars_for_install
,URE
,ure
, \
671 $(eval
$(call gb_Helper_register_jars_for_install
,OOO
,ooo
, \
673 ScriptProviderForJava \
677 $(if
$(filter-out MACOSX
,$(OS
)),officebean
) \
687 $(eval
$(call gb_Helper_register_jars_for_install
,OOO
,reportbuilder
, \
689 reportbuilderwizard \
692 ifneq ($(ENABLE_SCRIPTING_BEANSHELL
),)
693 $(eval
$(call gb_Helper_register_jars_for_install
,OOO
,extensions_bsh
, \
694 ScriptProviderForBeanShell \
698 ifneq ($(ENABLE_SCRIPTING_JAVASCRIPT
),)
699 $(eval
$(call gb_Helper_register_jars_for_install
,OOO
,extensions_rhino
, \
700 ScriptProviderForJavaScript \
704 $(eval
$(call gb_Helper_register_jars
,OXT
, \
712 $(eval
$(call gb_Helper_register_jars
,NONE
,\
726 $(eval
$(call gb_Helper_register_packages_for_install
,ure
,\
728 $(if
$(ENABLE_JAVA
),\
730 jvmfwk_jreproperties \
731 $(if
$(filter MACOSX
,$(OS
)),bridges_jnilib_java_uno
) \
735 $(eval
$(call gb_Helper_register_packages_for_install
,ooo
,\
739 # External executables
740 $(eval
$(call gb_ExternalExecutable_register_executables
,\
750 # vim: set noet sw=4 ts=4: