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 ifeq ($(ENABLE_NPAPI_INTO_BROWSER
),TRUE
)
135 $(eval
$(call gb_Helper_register_libraries
,PLAINLIBS_OOO
, \
142 $(eval
$(call gb_Helper_register_libraries
,PLAINLIBS_NONE
, \
143 OOoSpotlightImporter \
148 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,base
, \
154 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,calc
, \
156 $(call gb_Helper_optional
,DBCONNECTIVITY
,calc
) \
164 $(if
$(ENABLE_OPENCL
),scopencl
) \
165 $(if
$(ENABLE_COINMP
)$(ENABLE_LPSOLVE
),solver
) \
166 $(if
$(DISABLE_SCRIPTING
),,vbaobj
) \
167 $(if
$(ENABLE_TELEPATHY
),tubes
) \
170 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,graphicfilter
, \
177 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,tde
, \
178 $(if
$(ENABLE_TDE
),tdebe1
) \
181 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,impress
, \
185 PresentationMinimizer \
189 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,onlineupdate
, \
190 $(if
$(ENABLE_ONLINE_UPDATE
), \
196 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,gnome
, \
197 $(if
$(ENABLE_EVOAB2
),evoab
) \
198 $(if
$(ENABLE_GTK
),vclplug_gtk
) \
199 $(if
$(ENABLE_GTK3
),vclplug_gtk3
) \
200 $(if
$(ENABLE_GCONF
),gconfbe1
) \
201 $(if
$(ENABLE_SYSTRAY_GTK
),qstart_gtk
) \
202 $(if
$(ENABLE_GIO
),losessioninstall
) \
203 $(if
$(ENABLE_GIO
),ucpgio1
) \
204 $(if
$(ENABLE_GNOMEVFS
),ucpgvfs1
) \
207 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,kde
, \
208 $(if
$(ENABLE_KDE
),kdebe1
) \
209 $(if
$(ENABLE_KDE4
),kde4be1
) \
210 $(if
$(and
$(filter unx
,$(GUIBASE
)),$(filter-out MACOSX
,$(OS
))), \
211 $(if
$(ENABLE_KDE
),vclplug_kde
) \
212 $(if
$(ENABLE_KDE4
),vclplug_kde4
) \
216 $(eval
$(call gb_Helper_register_executables_for_install
,OOO
,kde
, \
217 $(if
$(filter $(GUIBASE
)$(ENABLE_KDE
),unxTRUE
), \
222 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,math
, \
227 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,ooo
, \
229 $(call gb_Helper_optional
,AVMEDIA
,avmedia
) \
230 $(if
$(filter MACOSX
,$(OS
)),\
231 $(if
$(filter-out 1060,$(MACOSX_SDK_VERSION
)),avmediaMacAVF
) \
232 $(if
$(ENABLE_MACOSX_SANDBOX
),,avmediaQuickTime
) \
234 $(if
$(DISABLE_SCRIPTING
),,basctl
) \
235 $(if
$(DISABLE_SCRIPTING
),,basprov
) \
236 $(if
$(filter $(OS
),ANDROID
),, \
241 $(if
$(ENABLE_CAIRO_CANVAS
),cairocanvas
) \
247 $(if
$(filter $(OS
),MACOSX WNT
),,cmdmail
) \
252 $(call gb_Helper_optional
,DBCONNECTIVITY
, \
259 $(if
$(filter-out MACOSX WNT
,$(OS
)),desktopbe1
) \
260 $(if
$(filter unx
,$(GUIBASE
)),desktop_detector
) \
261 $(if
$(DISABLE_SCRIPTING
),,dlgprov
) \
262 $(if
$(ENABLE_DIRECTX
),directx9canvas
) \
263 $(if
$(ENABLE_OPENGL_CANVAS
),oglcanvas
) \
268 $(if
$(filter WNT
,$(OS
)),$(if
$(DISABLE_ATL
),,emser
)) \
279 $(call gb_Helper_optional
,DBCONNECTIVITY
, \
283 $(if
$(filter $(ENABLE_FIREBIRD_SDBC
),TRUE
),firebird_sdbc
) \
294 $(if
$(ENABLE_DIRECTX
),gdipluscanvas
) \
296 $(if
$(filter DESKTOP
,$(BUILD_TYPE
)),helplinker
) \
312 $(if
$(ENABLE_JAVA
),jdbc
) \
313 $(if
$(ENABLE_KAB
),kab1
) \
314 $(if
$(ENABLE_KAB
),kabdrv1
) \
320 $(if
$(filter $(OS
),MACOSX
),macbe1
) \
321 $(if
$(MERGELIBS
),merged
) \
325 $(if
$(DISABLE_SCRIPTING
),,msforms
) \
327 $(call gb_Helper_optional
,DBCONNECTIVITY
,mysql
) \
334 $(if
$(ENABLE_NPAPI_FROM_BROWSER
),pl
) \
336 $(if
$(DISABLE_SCRIPTING
),,protocolhandler
) \
340 $(call gb_Helper_optional
,DBCONNECTIVITY
,sdbt
) \
351 $(if
$(ENABLE_HEADLESS
),,spl
) \
353 $(if
$(DISABLE_SCRIPTING
),,stringresource
) \
361 $(if
$(ENABLE_TDEAB
),tdeab1
) \
362 $(if
$(ENABLE_TDEAB
),tdeabdrv1
) \
376 $(if
$(DISABLE_SCRIPTING
),,vbaevents
) \
377 $(if
$(DISABLE_SCRIPTING
),,vbahelper
) \
381 $(if
$(and
$(filter unx
,$(GUIBASE
)),$(filter-out MACOSX
,$(OS
))), \
383 $(if
$(ENABLE_TDE
),vclplug_tde
) \
384 $(if
$(ENABLE_HEADLESS
),,vclplug_svp
) \
394 $(if
$(filter $(OS
),WNT
), \
396 $(if
$(DISABLE_ATL
),,oleautobridge
) \
399 $(if
$(WITH_MOZAB4WIN
), \
403 $(if
$(WITH_MOZAB4WIN
),,mozbootstrap
) \
405 $(if
$(filter $(OS
),WNT
),, \
409 $(if
$(filter $(OS
),MACOSX
), \
410 $(if
$(ENABLE_MACOSX_SANDBOX
),, \
418 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,reportbuilder
, \
424 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,writer
, \
426 $(if
$(ENABLE_LWP
),lwpft
) \
431 $(if
$(DISABLE_SCRIPTING
),,vbaswobj
) \
436 ifneq (,$(filter ANDROID IOS
,$(OS
)))
438 $(eval
$(call gb_Helper_register_libraries
,OOOLIBS
, \
444 $(eval
$(call gb_Helper_register_libraries
,PLAINLIBS_NONE
, \
450 testtools_bridgetest \
451 testtools_constructors \
452 unobootstrapprotector \
453 unoexceptionprotector \
455 vclbootstrapprotector \
460 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_URE
,ure
, \
462 $(if
$(filter MSC
,$(COM
)),cli_uno
) \
463 $(if
$(ENABLE_JAVA
), \
466 $(if
$(filter $(OS
),WNT
),jpipx
) \
472 $(if
$(URELIBS
),urelibs
) \
473 $(if
$(filter MSC
,$(COM
)),$(if
$(filter INTEL
,$(CPUNAME
)),msci
,mscx
),gcc3
)_uno \
474 $(if
$(filter $(OS
),WNT
), \
479 $(eval
$(call gb_Helper_register_libraries_for_install
,PRIVATELIBS_URE
,ure
, \
486 $(if
$(ENABLE_JAVA
),javaloader
) \
487 $(if
$(ENABLE_JAVA
),javavm
) \
488 $(if
$(ENABLE_JAVA
),jvmaccess
) \
489 $(if
$(ENABLE_JAVA
),jvmfwk
) \
497 $(if
$(ENABLE_JAVA
),sunjavaplugin
) \
503 # this is NONE even though it is actually in URE because it is CliNativeLibrary
504 $(eval
$(call gb_Helper_register_libraries
,PLAINLIBS_NONE
, \
505 $(if
$(filter MSC
,$(COM
)),cli_cppuhelper
) \
508 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,ooo
, \
509 $(if
$(ENABLE_VLC
),avmediavlc
) \
510 $(if
$(ENABLE_GSTREAMER
),avmediagst
) \
511 $(if
$(ENABLE_GSTREAMER_0_10
),avmediagst_0_10
) \
512 $(if
$(ENABLE_DIRECTX
),avmediawin
) \
513 $(if
$(ENABLE_GLTF
),avmediaogl
) \
517 $(call gb_Helper_optional
,DBCONNECTIVITY
,dbpool2
) \
523 $(if
$(ENABLE_JAVA
),hsqldb
) \
527 $(if
$(and
$(ENABLE_GTK
), $(filter LINUX
,$(OS
))), libreofficekitgtk
) \
533 $(if
$(ENABLE_JAVA
), \
534 $(if
$(filter $(OS
),MACOSX
),,officebean
) \
536 $(if
$(filter WNT-TRUE
,$(OS
)-$(DISABLE_ATL
)),,emboleobj
) \
538 $(if
$(and
$(filter unx
,$(GUIBASE
)),$(filter-out MACOSX
,$(OS
))),recentfile
) \
539 $(if
$(DISABLE_SCRIPTING
),,scriptframe
) \
543 $(if
$(filter $(OS
),WNT
),sysdtrans
) \
547 $(if
$(WITH_WEBDAV
),ucpdav1
) \
557 $(if
$(filter $(OS
),MACOSX
), \
561 $(if
$(filter WNT
,$(OS
)), \
566 $(if
$(DISABLE_ATL
),,\
573 $(eval
$(call gb_Helper_register_libraries
,PLAINLIBS_OOO
, \
577 $(if
$(filter $(OS
),ANDROID
), \
583 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,activexbinarytable
, \
584 $(if
$(DISABLE_ACTIVEX
),,\
589 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,ooobinarytable
, \
590 $(if
$(WINDOWS_SDK_HOME
),\
601 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,winexplorerextbinarytable
, \
605 $(eval
$(call gb_Helper_register_libraries
,PLAINLIBS_SHLXTHDL
, \
614 $(eval
$(call gb_Helper_register_libraries
,PLAINLIBS_OOO
, \
624 $(eval
$(call gb_Helper_register_libraries_for_install
,RTVERLIBS
,ure
, \
630 $(eval
$(call gb_Helper_register_libraries
,OOOLIBS
, \
634 postgresql-sdbc-impl \
638 $(eval
$(call gb_Helper_register_libraries_for_install
,UNOVERLIBS
,ure
, \
643 $(eval
$(call gb_Helper_register_libraries
,EXTENSIONLIBS
, \
649 ifneq ($(ENABLE_JAVA
),)
650 $(eval
$(call gb_Helper_register_jars_for_install
,URE
,ure
, \
658 $(eval
$(call gb_Helper_register_jars_for_install
,OOO
,ooo
, \
660 ScriptProviderForJava \
664 $(if
$(filter-out MACOSX
,$(OS
)),officebean
) \
674 $(eval
$(call gb_Helper_register_jars_for_install
,OOO
,reportbuilder
, \
676 reportbuilderwizard \
679 ifneq ($(ENABLE_SCRIPTING_BEANSHELL
),)
680 $(eval
$(call gb_Helper_register_jars_for_install
,OOO
,extensions_bsh
, \
681 ScriptProviderForBeanShell \
685 ifneq ($(ENABLE_SCRIPTING_JAVASCRIPT
),)
686 $(eval
$(call gb_Helper_register_jars_for_install
,OOO
,extensions_rhino
, \
687 ScriptProviderForJavaScript \
691 $(eval
$(call gb_Helper_register_jars
,OXT
, \
699 $(eval
$(call gb_Helper_register_jars
,NONE
,\
713 $(eval
$(call gb_Helper_register_packages_for_install
,ure
,\
715 $(if
$(ENABLE_JAVA
),\
717 jvmfwk_jreproperties \
718 $(if
$(filter MACOSX
,$(OS
)),bridges_jnilib_java_uno
) \
722 $(eval
$(call gb_Helper_register_packages_for_install
,ooo
,\
726 # External executables
727 $(eval
$(call gb_ExternalExecutable_register_executables
,\
737 # vim: set noet sw=4 ts=4: