summaryrefslogtreecommitdiffstats
path: root/desktop/Library_deployment.mk
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@suse.com>2012-01-16 16:42:51 +0200
committerTor Lillqvist <tlillqvist@suse.com>2012-01-16 16:53:49 +0200
commit081d76c3faa9f242e70f94a253d334e29b7e6595 (patch)
treea45bb8f581b1efcf187ad2cefd51eebb9fad251e /desktop/Library_deployment.mk
parentDo build Library_deployment also for non-desktop OSes (diff)
downloadcore-081d76c3faa9f242e70f94a253d334e29b7e6595.tar.gz
core-081d76c3faa9f242e70f94a253d334e29b7e6595.zip
Attempt to manage without Berkeley DB on iOS and Android
Berkeley DB is used for help index and extension database. (Possibly only for a backward-compatible format of the latter, I am not sure.) Neither use makes much sense on Android and iOS. The existing help is for LO on desktop OSes anyway, help for LO-based apps on iOS and Android will naturally be quite different. On iOS there will definitely be no "extensions", and probably we don't want to bother with such on Android either.
Diffstat (limited to 'desktop/Library_deployment.mk')
-rw-r--r--desktop/Library_deployment.mk16
1 files changed, 14 insertions, 2 deletions
diff --git a/desktop/Library_deployment.mk b/desktop/Library_deployment.mk
index 91561c8488e7..7e455ef66edb 100644
--- a/desktop/Library_deployment.mk
+++ b/desktop/Library_deployment.mk
@@ -44,7 +44,6 @@ $(eval $(call gb_Library_add_linked_libs,deployment,\
cppu \
cppuhelper \
deploymentmisc \
- helplinker \
sal \
svl \
tl \
@@ -54,15 +53,16 @@ $(eval $(call gb_Library_add_linked_libs,deployment,\
$(gb_STDLIBS) \
))
+ifneq (,$(filter DESKTOP,$(BUILD_TYPE)))
$(eval $(call gb_Library_use_externals,deployment,\
berkeleydb \
))
+endif
$(eval $(call gb_Library_set_componentfile,deployment,desktop/source/deployment/deployment))
$(eval $(call gb_Library_add_exception_objects,deployment,\
desktop/source/deployment/dp_log \
- desktop/source/deployment/dp_persmap \
desktop/source/deployment/dp_services \
desktop/source/deployment/dp_xml \
desktop/source/deployment/manager/dp_activepackages \
@@ -92,4 +92,16 @@ $(eval $(call gb_Library_add_exception_objects,deployment,\
desktop/source/deployment/registry/sfwk/dp_sfwk \
))
+ifneq (,$(filter DESKTOP,$(BUILD_TYPE)))
+
+$(eval $(call gb_Library_add_linked_libs,deployment,\
+ helplinker \
+))
+
+$(eval $(call gb_Library_add_exception_objects,deployment,\
+ desktop/source/deployment/dp_persmap \
+))
+
+endif
+
# vim: set ts=4 sw=4 et: