summaryrefslogtreecommitdiff
path: root/RepositoryExternal.mk
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2014-01-13 17:01:32 +0100
committerFridrich Strba <fridrich@documentfoundation.org>2014-01-13 21:14:59 +0000
commit10eaaac020e32f0bbb3869cecee94df0955b6a3b (patch)
treefa5cac8a68d2520b88e235aaf16fe4a8bca18f9b /RepositoryExternal.mk
parenta75bc5fa700fdb570d46ab55e2e0954a7f8b3140 (diff)
AbiWord Import filter
Change-Id: I90dc115044e5f81fa3a2b105d30d7d39e438b086 Reviewed-on: https://gerrit.libreoffice.org/7411 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
Diffstat (limited to 'RepositoryExternal.mk')
-rw-r--r--RepositoryExternal.mk33
1 files changed, 33 insertions, 0 deletions
diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk
index 721eb9d0190c..e367cb451054 100644
--- a/RepositoryExternal.mk
+++ b/RepositoryExternal.mk
@@ -1532,6 +1532,39 @@ endef
endif # SYSTEM_ODFGEN
+ifeq ($(SYSTEM_ABW),YES)
+
+define gb_LinkTarget__use_abw
+$(call gb_LinkTarget_set_include,$(1),\
+ $$(INCLUDE) \
+ $(ABW_CFLAGS) \
+)
+$(call gb_LinkTarget_add_libs,$(1),$(ABW_LIBS))
+
+endef
+gb_ExternalProject__use_abw :=
+
+else # !SYSTEM_ABW
+
+define gb_LinkTarget__use_abw
+$(call gb_LinkTarget_set_include,$(1),\
+ -I$(call gb_UnpackedTarball_get_dir,libabw)/inc \
+ $$(INCLUDE) \
+)
+$(call gb_LinkTarget_add_libs,$(1),\
+ $(call gb_UnpackedTarball_get_dir,libabw)/src/lib/.libs/libabw-0.0$(gb_StaticLibrary_PLAINEXT) \
+)
+$(call gb_LinkTarget_use_external_project,$(1),libabw)
+
+endef
+define gb_ExternalProject__use_abw
+$(call gb_ExternalProject_use_external_project,$(1),libabw)
+
+endef
+
+endif # SYSTEM_ABW
+
+
ifeq ($(SYSTEM_MSPUB),YES)
define gb_LinkTarget__use_mspub