diff options
author | David Tardon <dtardon@redhat.com> | 2014-06-26 21:26:11 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2014-06-27 10:39:29 +0200 |
commit | 516fb340b1842a5deec3de61e47bb5a7ec5c1980 (patch) | |
tree | fb2ba6511bffdb9321f2802723b73fa156882204 /RepositoryExternal.mk | |
parent | 0751477a375e0b6bb82c5aa47c9e666d6dc2ba8c (diff) |
integrate libpagemaker
Change-Id: I077d7c9a41793abdf5f001386f44ac407f94a6d3
Diffstat (limited to 'RepositoryExternal.mk')
-rw-r--r-- | RepositoryExternal.mk | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk index e69f625687ca..39ca2d852c27 100644 --- a/RepositoryExternal.mk +++ b/RepositoryExternal.mk @@ -1910,6 +1910,39 @@ endef endif # SYSTEM_MSPUB +ifneq ($(SYSTEM_PAGEMAKER),) + +define gb_LinkTarget__use_pagemaker +$(call gb_LinkTarget_set_include,$(1),\ + $$(INCLUDE) \ + $(PAGEMAKER_CFLAGS) \ +) +$(call gb_LinkTarget_add_libs,$(1),$(PAGEMAKER_LIBS)) + +endef +gb_ExternalProject__use_pagemaker := + +else # !SYSTEM_PAGEMAKER + +define gb_LinkTarget__use_pagemaker +$(call gb_LinkTarget_set_include,$(1),\ + -I$(call gb_UnpackedTarball_get_dir,libpagemaker)/inc \ + $$(INCLUDE) \ +) +$(call gb_LinkTarget_add_libs,$(1),\ + $(call gb_UnpackedTarball_get_dir,libpagemaker)/src/lib/.libs/libpagemaker-0.0$(gb_StaticLibrary_PLAINEXT) \ +) +$(call gb_LinkTarget_use_external_project,$(1),libpagemaker) + +endef +define gb_ExternalProject__use_pagemaker +$(call gb_ExternalProject_use_external_project,$(1),libpagemaker) + +endef + +endif # SYSTEM_PAGEMAKER + + ifneq ($(SYSTEM_VISIO),) define gb_LinkTarget__use_visio |