diff options
author | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2013-10-31 12:42:50 +0100 |
---|---|---|
committer | Fridrich Strba <fridrich@documentfoundation.org> | 2013-10-31 12:50:46 +0000 |
commit | 67153d76844fe8d8f3aba17f019443c96fbdd829 (patch) | |
tree | 2d94441299252420de426307eed980b130a2ec9e /RepositoryExternal.mk | |
parent | 62f67d64b4c98cdfe20cad824cf11f343d3f8d7f (diff) |
bundle libfreehand
Change-Id: I12de5e96754a8dba94dfdef3deb2aac18af28f22
Reviewed-on: https://gerrit.libreoffice.org/6510
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
Diffstat (limited to 'RepositoryExternal.mk')
-rw-r--r-- | RepositoryExternal.mk | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk index f0138aad95ee..d1b0b08a02e3 100644 --- a/RepositoryExternal.mk +++ b/RepositoryExternal.mk @@ -1466,6 +1466,41 @@ endef endif # SYSTEM_ETONYEK +ifeq ($(SYSTEM_FREEHAND),YES) + +define gb_LinkTarget__use_freehand +$(call gb_LinkTarget_set_include,$(1),\ + $$(INCLUDE) \ + $(FREEHAND_CFLAGS) \ +) +$(call gb_LinkTarget_add_libs,$(1),$(FREEHAND_LIBS)) + +endef + +gb_ExternalProject__use_freehand := + +else # !SYSTEM_FREEHAND + +define gb_LinkTarget__use_freehand +$(call gb_LinkTarget_set_include,$(1),\ + $(FREEHAND_CFLAGS) \ + $$(INCLUDE) \ +) +$(call gb_LinkTarget_add_libs,$(1),\ + $(call gb_UnpackedTarball_get_dir,libfreehand)/src/lib/.libs/libfreehand-0.0$(gb_StaticLibrary_PLAINEXT) \ +) +$(call gb_LinkTarget_use_external_project,$(1),libfreehand) + +endef + +define gb_ExternalProject__use_freehand +$(call gb_ExternalProject_use_external_project,$(1),libfreehand) + +endef + +endif # SYSTEM_FREEHAND + + ifeq ($(SYSTEM_ODFGEN),YES) define gb_LinkTarget__use_odfgen |