diff options
author | Peter Foley <pefoley2@verizon.net> | 2012-10-21 09:15:12 -0400 |
---|---|---|
committer | Peter Foley <pefoley2@verizon.net> | 2012-10-21 09:49:03 -0400 |
commit | ffcaa7651f5761c884b57e1c0f0ff0f92b803194 (patch) | |
tree | 2998f0bf2d4843b8d26a912fece947453b4ce538 /solenv | |
parent | b339e4e2ba2b833903956cbcebf64a2a99dba176 (diff) |
convert postgresql to gbuild
Change-Id: Ia1345904a819d8edfad53c8882be35b398e8bc6e
Diffstat (limited to 'solenv')
-rw-r--r-- | solenv/gbuild/Library.mk | 2 | ||||
-rw-r--r-- | solenv/gbuild/LinkTarget.mk | 11 |
2 files changed, 13 insertions, 0 deletions
diff --git a/solenv/gbuild/Library.mk b/solenv/gbuild/Library.mk index d07fe24292e0..a3c3f52ab9fa 100644 --- a/solenv/gbuild/Library.mk +++ b/solenv/gbuild/Library.mk @@ -210,6 +210,8 @@ $(eval $(foreach method,\ add_external_headers \ use_package \ use_packages \ + use_external_package \ + use_external_packages \ use_unpacked \ add_package_headers \ add_sdi_headers \ diff --git a/solenv/gbuild/LinkTarget.mk b/solenv/gbuild/LinkTarget.mk index 870bad1fb13c..efe6a3a7b10b 100644 --- a/solenv/gbuild/LinkTarget.mk +++ b/solenv/gbuild/LinkTarget.mk @@ -1139,6 +1139,17 @@ define gb_LinkTarget_use_packages $(foreach package,$(2),$(call gb_LinkTarget_use_package,$(1),$(package))) endef +# use a external package, possibly from another module (i.e. via OUTDIR) +define gb_LinkTarget_use_external_package +$(call gb_LinkTarget_get_external_headers_target,$(1)) :| \ + $(call gb_ExternalPackage_get_target,$(strip $(2))) + +endef + +define gb_LinkTarget_use_external_packages +$(foreach package,$(2),$(call gb_LinkTarget_use_external_package,$(1),$(package))) +endef + # Use sources from unpacked tarball of an external project define gb_LinkTarget_use_unpacked $(call gb_LinkTarget_get_external_headers_target,$(1)) :| $(call gb_UnpackedTarball_get_final_target,$(2)) |