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
), \
102 $(if
$(filter $(GUIBASE
)$(ENABLE_KDE
),unxTRUE
), \
107 $(if
$(filter DESKTOP
,$(BUILD_TYPE
)),unopkg_bin
) \
109 $(if
$(filter WNT
,$(OS
)), \
129 $(eval
$(call gb_Helper_register_executables_for_install
,UREBIN
,ure
,\
130 $(if
$(and
$(ENABLE_JAVA
),$(filter-out MACOSX WNT
,$(OS
)),$(filter DESKTOP
,$(BUILD_TYPE
))),javaldx
) \
133 $(if
$(filter DESKTOP
,$(BUILD_TYPE
)),uno
) \
136 ifeq ($(ENABLE_NPAPI_INTO_BROWSER
),TRUE
)
137 $(eval
$(call gb_Helper_register_libraries
,PLAINLIBS_OOO
, \
144 $(eval
$(call gb_Helper_register_libraries
,PLAINLIBS_NONE
, \
145 OOoSpotlightImporter \
150 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,base
, \
156 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,calc
, \
158 $(call gb_Helper_optional
,DBCONNECTIVITY
,calc
) \
165 $(if
$(ENABLE_OPENCL
),scopencl
) \
166 $(if
$(ENABLE_COINMP
)$(ENABLE_LPSOLVE
),solver
) \
167 $(if
$(DISABLE_SCRIPTING
),,vbaobj
) \
168 $(if
$(ENABLE_TELEPATHY
),tubes
) \
171 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,graphicfilter
, \
178 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,tde
, \
179 $(if
$(ENABLE_TDE
),tdebe1
) \
182 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,impress
, \
186 PresentationMinimizer \
190 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,onlineupdate
, \
191 $(if
$(ENABLE_ONLINE_UPDATE
), \
197 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,gnome
, \
198 $(if
$(ENABLE_EVOAB2
),evoab
) \
199 $(if
$(ENABLE_GTK
),vclplug_gtk
) \
200 $(if
$(ENABLE_GTK3
),vclplug_gtk3
) \
201 $(if
$(ENABLE_GCONF
),gconfbe1
) \
202 $(if
$(ENABLE_SYSTRAY_GTK
),qstart_gtk
) \
203 $(if
$(ENABLE_GIO
),losessioninstall
) \
204 $(if
$(ENABLE_GIO
),ucpgio1
) \
205 $(if
$(ENABLE_GNOMEVFS
),ucpgvfs1
) \
208 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,kde
, \
209 $(if
$(ENABLE_KDE
),kdebe1
) \
210 $(if
$(ENABLE_KDE4
),kde4be1
) \
213 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,math
, \
218 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,ooo
, \
220 $(call gb_Helper_optional
,AVMEDIA
,avmedia
) \
221 $(if
$(DISABLE_SCRIPTING
),,basctl
) \
222 $(if
$(DISABLE_SCRIPTING
),,basprov
) \
225 $(if
$(ENABLE_CAIRO_CANVAS
),cairocanvas
) \
231 $(if
$(filter $(OS
),MACOSX WNT
),,cmdmail
) \
236 $(call gb_Helper_optional
,DBCONNECTIVITY
, \
243 $(if
$(filter-out MACOSX WNT
,$(OS
)),desktopbe1
) \
244 $(if
$(filter unx
,$(GUIBASE
)),desktop_detector
) \
245 $(if
$(DISABLE_SCRIPTING
),,dlgprov
) \
246 $(if
$(ENABLE_DIRECTX
),directx9canvas
) \
247 $(if
$(ENABLE_OPENGL_CANVAS
),oglcanvas
) \
252 $(if
$(filter WNT
,$(OS
)),$(if
$(DISABLE_ATL
),,emser
)) \
263 $(call gb_Helper_optional
,DBCONNECTIVITY
, \
267 $(if
$(filter $(ENABLE_FIREBIRD_SDBC
),TRUE
),firebird_sdbc
) \
278 $(if
$(ENABLE_DIRECTX
),gdipluscanvas
) \
280 $(if
$(filter DESKTOP
,$(BUILD_TYPE
)),helplinker
) \
296 $(if
$(ENABLE_JAVA
),jdbc
) \
297 $(if
$(ENABLE_KAB
),kab1
) \
298 $(if
$(ENABLE_KAB
),kabdrv1
) \
304 $(if
$(filter $(OS
),MACOSX
),macbe1
) \
305 $(if
$(MERGELIBS
),merged
) \
309 $(if
$(DISABLE_SCRIPTING
),,msforms
) \
311 $(call gb_Helper_optional
,DBCONNECTIVITY
,mysql
) \
318 $(if
$(ENABLE_NPAPI_FROM_BROWSER
),pl
) \
320 $(if
$(DISABLE_SCRIPTING
),,protocolhandler
) \
324 $(call gb_Helper_optional
,DBCONNECTIVITY
,sdbt
) \
335 $(if
$(ENABLE_HEADLESS
),,spl
) \
337 $(if
$(DISABLE_SCRIPTING
),,stringresource
) \
345 $(if
$(ENABLE_TDEAB
),tdeab1
) \
346 $(if
$(ENABLE_TDEAB
),tdeabdrv1
) \
360 $(if
$(DISABLE_SCRIPTING
),,vbaevents
) \
361 $(if
$(DISABLE_SCRIPTING
),,vbahelper
) \
365 $(if
$(and
$(filter unx
,$(GUIBASE
)),$(filter-out MACOSX
,$(OS
))), \
367 $(if
$(ENABLE_TDE
),vclplug_tde
) \
368 $(if
$(ENABLE_KDE
),vclplug_kde
) \
369 $(if
$(ENABLE_KDE4
),vclplug_kde4
) \
370 $(if
$(ENABLE_HEADLESS
),,vclplug_svp
) \
380 $(if
$(filter $(OS
),WNT
), \
382 $(if
$(DISABLE_ATL
),,oleautobridge
) \
385 $(if
$(WITH_MOZAB4WIN
), \
389 $(if
$(WITH_MOZAB4WIN
),,mozbootstrap
) \
391 $(if
$(filter $(OS
),WNT
),, \
395 $(if
$(filter $(OS
),MACOSX
), \
396 $(if
$(ENABLE_MACOSX_SANDBOX
),, \
404 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,writer
, \
406 $(if
$(ENABLE_LWP
),lwpft
) \
411 $(if
$(DISABLE_SCRIPTING
),,vbaswobj
) \
416 $(eval
$(call gb_Helper_register_libraries
,OOOLIBS
, \
420 $(if
$(filter $(OS
),ANDROID
),, \
425 $(call gb_Helper_optional
,DBCONNECTIVITY
,sdbc
) \
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 \
459 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_URE
,ure
, \
461 $(if
$(filter MSC
,$(COM
)),cli_uno
) \
462 $(if
$(ENABLE_JAVA
), \
465 $(if
$(filter $(OS
),WNT
),jpipx
) \
471 $(if
$(URELIBS
),urelibs
) \
472 $(if
$(filter MSC
,$(COM
)),$(if
$(filter INTEL
,$(CPUNAME
)),msci
,mscx
),gcc3
)_uno \
473 $(if
$(filter $(OS
),WNT
), \
478 $(eval
$(call gb_Helper_register_libraries_for_install
,PRIVATELIBS_URE
,ure
, \
485 $(if
$(ENABLE_JAVA
),javaloader
) \
486 $(if
$(ENABLE_JAVA
),javavm
) \
487 $(if
$(ENABLE_JAVA
),jvmaccess
) \
488 $(if
$(ENABLE_JAVA
),jvmfwk
) \
496 $(if
$(ENABLE_JAVA
),sunjavaplugin
) \
502 # this is NONE even though it is actually in URE because it is CliNativeLibrary
503 $(eval
$(call gb_Helper_register_libraries
,PLAINLIBS_NONE
, \
504 $(if
$(filter MSC
,$(COM
)),cli_cppuhelper
) \
507 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,ooo
, \
508 $(if
$(ENABLE_VLC
),avmediavlc
) \
509 $(if
$(ENABLE_GSTREAMER
),avmediagst
) \
510 $(if
$(ENABLE_GSTREAMER_0_10
),avmediagst_0_10
) \
511 $(if
$(ENABLE_DIRECTX
),avmediawin
) \
512 $(if
$(ENABLE_GLTF
),avmediaogl
) \
516 $(call gb_Helper_optional
,DBCONNECTIVITY
,dbpool2
) \
522 $(if
$(ENABLE_JAVA
),hsqldb
) \
531 $(if
$(ENABLE_JAVA
), \
532 $(if
$(filter $(OS
),MACOSX
),,officebean
) \
534 $(if
$(filter WNT-TRUE
,$(OS
)-$(DISABLE_ATL
)),,emboleobj
) \
536 $(if
$(and
$(filter unx
,$(GUIBASE
)),$(filter-out MACOSX
,$(OS
))),recentfile
) \
537 $(if
$(DISABLE_SCRIPTING
),,scriptframe
) \
541 $(if
$(filter $(OS
),WNT
),sysdtrans
) \
545 $(if
$(WITH_WEBDAV
),ucpdav1
) \
555 $(if
$(filter $(OS
),MACOSX
), \
559 $(if
$(filter WNT
,$(OS
)), \
564 $(if
$(DISABLE_ATL
),,\
571 $(eval
$(call gb_Helper_register_libraries
,PLAINLIBS_OOO
, \
575 $(if
$(filter $(OS
),ANDROID
), \
581 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,activexbinarytable
, \
582 $(if
$(DISABLE_ACTIVEX
),,\
587 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,ooobinarytable
, \
588 $(if
$(WINDOWS_SDK_HOME
),\
599 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,winexplorerextbinarytable
, \
603 $(eval
$(call gb_Helper_register_libraries
,PLAINLIBS_SHLXTHDL
, \
612 $(eval
$(call gb_Helper_register_libraries
,PLAINLIBS_OOO
, \
622 $(eval
$(call gb_Helper_register_libraries_for_install
,RTVERLIBS
,ure
, \
628 $(eval
$(call gb_Helper_register_libraries
,OOOLIBS
, \
632 postgresql-sdbc-impl \
636 $(eval
$(call gb_Helper_register_libraries_for_install
,UNOVERLIBS
,ure
, \
641 $(eval
$(call gb_Helper_register_libraries
,EXTENSIONLIBS
, \
647 ifneq ($(ENABLE_JAVA
),)
648 $(eval
$(call gb_Helper_register_jars_for_install
,URE
,ure
, \
656 $(eval
$(call gb_Helper_register_jars_for_install
,OOO
,ooo
, \
658 ScriptProviderForJava \
662 $(if
$(filter-out MACOSX
,$(OS
)),officebean
) \
672 $(eval
$(call gb_Helper_register_jars_for_install
,OOO
,reportbuilder
, \
674 reportbuilderwizard \
677 ifneq ($(ENABLE_SCRIPTING_BEANSHELL
),)
678 $(eval
$(call gb_Helper_register_jars_for_install
,OOO
,extensions_bsh
, \
679 ScriptProviderForBeanShell \
683 ifneq ($(ENABLE_SCRIPTING_JAVASCRIPT
),)
684 $(eval
$(call gb_Helper_register_jars_for_install
,OOO
,extensions_rhino
, \
685 ScriptProviderForJavaScript \
689 $(eval
$(call gb_Helper_register_jars
,OXT
, \
697 $(eval
$(call gb_Helper_register_jars
,NONE
,\
711 $(eval
$(call gb_Helper_register_packages_for_install
,ure
,\
713 $(if
$(ENABLE_JAVA
),\
715 jvmfwk_jreproperties \
716 $(if
$(filter MACOSX
,$(OS
)),bridges_jnilib_java_uno
) \
720 $(eval
$(call gb_Helper_register_packages_for_install
,ooo
,\
724 # External executables
725 $(eval
$(call gb_ExternalExecutable_register_executables
,\
735 # vim: set noet sw=4 ts=4: