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
) \
67 $(eval
$(call gb_Helper_register_executables_for_install
,SDK
,sdk
, \
68 $(if
$(filter MSC
,$(COM
)),climaker
) \
73 $(if
$(filter UCPP
,$(BUILD_TYPE
)),ucpp
) \
74 $(if
$(filter ODK
,$(BUILD_TYPE
)),unoapploader
) \
75 $(if
$(filter ODK
,$(BUILD_TYPE
)),uno-skeletonmaker
) \
78 $(eval
$(call gb_Helper_register_executables_for_install
,OOO
,ooo
, \
82 $(eval
$(call gb_Helper_register_executables
,OOO
, \
83 $(call gb_Helper_optional
,CRASHREP
,crashrep
) \
85 $(if
$(ENABLE_NPAPI_INTO_BROWSER
),nsplugin
) \
86 $(if
$(filter-out ANDROID IOS MACOSX WNT
,$(OS
)),oosplash
) \
87 $(if
$(ENABLE_NPAPI_FROM_BROWSER
),pluginapp.bin
) \
90 $(if
$(filter $(GUIBASE
)$(ENABLE_GTK
),unxTRUE
), \
91 xid-fullscreen-on-all-monitors \
93 $(if
$(filter $(GUIBASE
)$(ENABLE_TDE
),unxTRUE
), \
97 $(if
$(filter $(GUIBASE
)$(ENABLE_KDE
),unxTRUE
), \
102 $(if
$(filter DESKTOP
,$(BUILD_TYPE
)),unopkg_bin
) \
104 $(if
$(filter WNT
,$(OS
)), \
124 $(eval
$(call gb_Helper_register_executables_for_install
,UREBIN
,ure
,\
125 $(if
$(and
$(ENABLE_JAVA
),$(filter-out MACOSX WNT
,$(OS
)),$(filter DESKTOP
,$(BUILD_TYPE
))),javaldx
) \
128 $(if
$(filter DESKTOP
,$(BUILD_TYPE
)),uno
) \
131 ifeq ($(ENABLE_NPAPI_INTO_BROWSER
),TRUE
)
132 $(eval
$(call gb_Helper_register_libraries
,PLAINLIBS_OOO
, \
139 $(eval
$(call gb_Helper_register_libraries
,PLAINLIBS_NONE
, \
140 OOoSpotlightImporter \
145 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,base
, \
151 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,calc
, \
160 $(if
$(MPL_SUBSET
),,$(if
$(ENABLE_LPSOLVE
),solver
)) \
161 $(if
$(ENABLE_OPENCL
),scopencl
) \
162 $(if
$(DISABLE_SCRIPTING
),,vbaobj
) \
163 $(if
$(ENABLE_TELEPATHY
),tubes
) \
166 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,graphicfilter
, \
173 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,tde
, \
174 $(if
$(ENABLE_TDE
),tdebe1
) \
177 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,impress
, \
181 PresentationMinimizer \
185 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,onlineupdate
, \
186 $(if
$(ENABLE_ONLINE_UPDATE
), \
192 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,gnome
, \
193 $(if
$(ENABLE_EVOAB2
),evoab
) \
194 $(if
$(ENABLE_GTK
),vclplug_gtk
) \
195 $(if
$(ENABLE_GTK3
),vclplug_gtk3
) \
196 $(if
$(ENABLE_GCONF
),gconfbe1
) \
197 $(if
$(ENABLE_SYSTRAY_GTK
),qstart_gtk
) \
198 $(if
$(ENABLE_GIO
),losessioninstall
) \
199 $(if
$(ENABLE_GIO
),ucpgio1
) \
200 $(if
$(ENABLE_GNOMEVFS
),ucpgvfs1
) \
203 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,kde
, \
204 $(if
$(ENABLE_KDE
),kdebe1
) \
205 $(if
$(ENABLE_KDE4
),kde4be1
) \
208 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,math
, \
213 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,ooo
, \
216 $(if
$(DISABLE_SCRIPTING
),,basctl
) \
217 $(if
$(DISABLE_SCRIPTING
),,basprov
) \
220 $(if
$(ENABLE_CAIRO_CANVAS
),cairocanvas
) \
225 $(if
$(filter FREEBSD LINUX MACOSX WNT
,$(OS
)),chartopengl
) \
226 $(if
$(filter $(OS
),WNT
),,cmdmail
) \
234 $(if
$(DISABLE_DBCONNECTIVITY
),,dbtools
) \
237 $(if
$(filter-out MACOSX WNT
,$(OS
)),desktopbe1
) \
238 $(if
$(filter unx
,$(GUIBASE
)),desktop_detector
) \
239 $(if
$(DISABLE_SCRIPTING
),,dlgprov
) \
240 $(if
$(ENABLE_DIRECTX
),directx9canvas
) \
241 $(if
$(ENABLE_OPENGL_CANVAS
),oglcanvas
) \
246 $(if
$(filter WNT
,$(OS
)),$(if
$(DISABLE_ATL
),,emser
)) \
260 $(if
$(filter $(ENABLE_FIREBIRD_SDBC
),TRUE
),firebird_sdbc
) \
271 $(if
$(ENABLE_DIRECTX
),gdipluscanvas
) \
273 $(if
$(filter DESKTOP
,$(BUILD_TYPE
)),helplinker
) \
290 $(if
$(ENABLE_JAVA
),jdbc
) \
291 $(if
$(ENABLE_KAB
),kab1
) \
292 $(if
$(ENABLE_KAB
),kabdrv1
) \
298 $(if
$(filter $(OS
),MACOSX
),macbe1
) \
299 $(if
$(MERGELIBS
),merged
) \
303 $(if
$(DISABLE_SCRIPTING
),,msforms
) \
312 $(if
$(ENABLE_NPAPI_FROM_BROWSER
),pl
) \
314 $(if
$(DISABLE_SCRIPTING
),,protocolhandler
) \
328 $(if
$(and
$(filter unx
,$(GUIBASE
)),$(filter-out MACOSX
,$(OS
))), \
329 $(if
$(ENABLE_HEADLESS
),,spa
) \
332 $(if
$(ENABLE_HEADLESS
),,spl
) \
333 $(if
$(DISABLE_SCRIPTING
),,stringresource
) \
341 $(if
$(ENABLE_TDEAB
),tdeab1
) \
342 $(if
$(ENABLE_TDEAB
),tdeabdrv1
) \
356 $(if
$(DISABLE_SCRIPTING
),,vbaevents
) \
357 $(if
$(DISABLE_SCRIPTING
),,vbahelper
) \
360 $(if
$(and
$(filter unx
,$(GUIBASE
)),$(filter-out MACOSX
,$(OS
))), \
362 $(if
$(ENABLE_TDE
),vclplug_tde
) \
363 $(if
$(ENABLE_KDE
),vclplug_kde
) \
364 $(if
$(ENABLE_KDE4
),vclplug_kde4
) \
365 $(if
$(ENABLE_HEADLESS
),,vclplug_svp
) \
374 $(if
$(filter $(OS
),WNT
), \
376 $(if
$(DISABLE_ATL
),,oleautobridge
) \
379 $(if
$(filter YES
,$(WITH_MOZAB4WIN
)), \
383 $(if
$(filter NO
,$(WITH_MOZAB4WIN
)),mozbootstrap
) \
385 $(if
$(filter $(OS
),WNT
),, \
389 $(if
$(filter $(OS
),MACOSX
), \
390 $(if
$(ENABLE_MACOSX_SANDBOX
),, \
398 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,writer
, \
400 $(if
$(ENABLE_LWP
),lwpft
) \
405 $(if
$(DISABLE_SCRIPTING
),,vbaswobj
) \
410 $(eval
$(call gb_Helper_register_libraries
,OOOLIBS
, \
414 $(if
$(filter $(OS
),ANDROID
),, \
429 ifneq (,$(filter ANDROID IOS
,$(OS
)))
431 $(eval
$(call gb_Helper_register_libraries
,OOOLIBS
, \
437 $(eval
$(call gb_Helper_register_libraries
,PLAINLIBS_NONE
, \
443 testtools_bridgetest \
444 testtools_constructors \
445 unobootstrapprotector \
446 unoexceptionprotector \
452 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_URE
,ure
, \
454 $(if
$(filter MSC
,$(COM
)),cli_uno
) \
455 $(if
$(ENABLE_JAVA
), \
458 $(if
$(filter $(OS
),WNT
),jpipx
) \
464 $(if
$(URELIBS
),urelibs
) \
465 $(if
$(filter MSC
,$(COM
)),$(if
$(filter INTEL
,$(CPUNAME
)),msci
,mscx
),gcc3
)_uno \
466 $(if
$(filter $(OS
),WNT
), \
471 $(eval
$(call gb_Helper_register_libraries_for_install
,PRIVATELIBS_URE
,ure
, \
478 $(if
$(ENABLE_JAVA
),javaloader
) \
479 $(if
$(ENABLE_JAVA
),javavm
) \
480 $(if
$(ENABLE_JAVA
),jvmaccess
) \
481 $(if
$(ENABLE_JAVA
),jvmfwk
) \
489 $(if
$(ENABLE_JAVA
),sunjavaplugin
) \
495 # this is NONE even though it is actually in URE because it is CliNativeLibrary
496 $(eval
$(call gb_Helper_register_libraries
,PLAINLIBS_NONE
, \
497 $(if
$(filter MSC
,$(COM
)),cli_cppuhelper
) \
500 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,ooo
, \
501 $(if
$(ENABLE_VLC
),avmediavlc
) \
502 $(if
$(ENABLE_GSTREAMER
),avmediagst
) \
503 $(if
$(ENABLE_GSTREAMER_0_10
),avmediagst_0_10
) \
504 $(if
$(ENABLE_DIRECTX
),avmediawin
) \
514 $(if
$(ENABLE_JAVA
),hsqldb
) \
523 $(if
$(ENABLE_JAVA
), \
524 $(if
$(filter $(OS
),MACOSX
),,officebean
) \
526 $(if
$(filter WNT-TRUE
,$(OS
)-$(DISABLE_ATL
)),,emboleobj
) \
528 $(if
$(and
$(filter unx
,$(GUIBASE
)),$(filter-out MACOSX
,$(OS
))),recentfile
) \
529 $(if
$(DISABLE_SCRIPTING
),,scriptframe
) \
545 $(if
$(filter $(OS
),MACOSX
), \
549 $(if
$(filter WNT
,$(OS
)), \
554 $(if
$(DISABLE_ATL
),,\
561 $(eval
$(call gb_Helper_register_libraries
,PLAINLIBS_OOO
, \
566 $(if
$(filter $(OS
),ANDROID
), \
572 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,activexbinarytable
, \
573 $(if
$(DISABLE_ACTIVEX
),,\
578 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,ooobinarytable
, \
579 $(if
$(WINDOWS_SDK_HOME
),\
590 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,winexplorerextbinarytable
, \
594 $(eval
$(call gb_Helper_register_libraries
,PLAINLIBS_SHLXTHDL
, \
603 $(eval
$(call gb_Helper_register_libraries
,PLAINLIBS_OOO
, \
614 $(eval
$(call gb_Helper_register_libraries
,RTVERLIBS
, \
620 $(eval
$(call gb_Helper_register_libraries
,OOOLIBS
, \
624 postgresql-sdbc-impl \
628 $(eval
$(call gb_Helper_register_libraries
,UNOVERLIBS
, \
633 $(eval
$(call gb_Helper_register_libraries
,EXTENSIONLIBS
, \
639 ifneq ($(ENABLE_JAVA
),)
640 $(eval
$(call gb_Helper_register_jars_for_install
,URE
,ure
, \
648 $(eval
$(call gb_Helper_register_jars
,OOO
, \
651 ScriptProviderForBeanShell \
652 ScriptProviderForJava \
653 ScriptProviderForJavaScript \
670 reportbuilderwizard \
679 $(eval
$(call gb_Helper_register_jars
,OXT
, \
687 $(eval
$(call gb_Helper_register_jars
,NONE
,\
700 $(eval
$(call gb_Helper_register_packages_for_install
,ure
,\
702 $(if
$(ENABLE_JAVA
),\
704 jvmfwk_jreproperties \
705 $(if
$(filter MACOSX
,$(OS
)),bridges_jnilib_java_uno
) \
709 $(eval
$(call gb_Helper_register_packages_for_install
,ooo
,\
710 $(if
$(SYSTEM_CURL
),,curl
) \
711 $(if
$(SYSTEM_LCMS2
),,lcms2
) \
712 $(if
$(SYSTEM_LIBXSLT
),,xslt
) \
715 # External executables
716 $(eval
$(call gb_ExternalExecutable_register_executables
,\
726 # vim: set noet sw=4 ts=4: