diff options
author | David Tardon <dtardon@redhat.com> | 2014-05-24 08:39:54 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2014-05-25 12:48:09 +0200 |
commit | b421ce79e39867917ba53be7bf69c8a4e7f8a8ac (patch) | |
tree | 91d5c1dcb0ccf36082f0b8f0c1d5b73b7848a331 /RepositoryExternal.mk | |
parent | 36c3f914261f921a62500c2a80da89489748a6fc (diff) |
bundle librevenge
Change-Id: Ic36c1670866545db2cf2f29867de7e5b0ad2d57d
Diffstat (limited to 'RepositoryExternal.mk')
-rw-r--r-- | RepositoryExternal.mk | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk index 52c4c6d49652..13eb221a9cab 100644 --- a/RepositoryExternal.mk +++ b/RepositoryExternal.mk @@ -1761,6 +1761,59 @@ endif endif # SYSTEM_ODFGEN +ifneq ($(SYSTEM_REVENGE),) + +define gb_LinkTarget__use_revenge +$(call gb_LinkTarget_set_include,$(1),\ + $$(INCLUDE) \ + $(REVENGE_CFLAGS) \ +) +$(call gb_LinkTarget_add_libs,$(1),$(REVENGE_LIBS)) + +endef + +else # !SYSTEM_REVENGE + +ifeq ($(COM),MSC) + +$(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,ooo,\ + revenge \ +)) + +define gb_LinkTarget__use_revenge +$(call gb_LinkTarget_set_include,$(1),\ + -I$(call gb_UnpackedTarball_get_dir,librevenge)/inc \ + $$(INCLUDE) \ +) +$(call gb_LinkTarget_use_libraries,$(1),\ + revenge \ +) + +endef + +else # !MSC + +$(eval $(call gb_Helper_register_packages_for_install,ooo, \ + librevenge \ +)) + +define gb_LinkTarget__use_revenge +$(call gb_LinkTarget_use_package,$(1),librevenge) + +$(call gb_LinkTarget_set_include,$(1),\ + -I$(call gb_UnpackedTarball_get_dir,librevenge)/inc \ + $$(INCLUDE) \ +) +$(call gb_LinkTarget_add_libs,$(1),\ + -L$(call gb_UnpackedTarball_get_dir,librevenge)/src/lib/.libs -lrevenge-0.0 \ +) +endef + +endif # MSC + +endif # SYSTEM_REVENGE + + ifneq ($(SYSTEM_ABW),) define gb_LinkTarget__use_abw |