diff options
author | David Tardon <dtardon@redhat.com> | 2012-04-30 15:15:03 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2012-05-29 07:34:00 +0200 |
commit | 13af0553c98a19a940bf77670ad9c21bad30ff70 (patch) | |
tree | fae9a0f9342a236570d3c382621f84b4a63e99ba /solenv/gbuild/WinResTarget.mk | |
parent | 7d6eb69950df97a12fc723bada1eb7c1839740ca (diff) |
set vars for dep. target consistently
Change-Id: Ie6a68d9ed96e35f6e8c4778bcd4fd8920d19159c
Diffstat (limited to 'solenv/gbuild/WinResTarget.mk')
-rw-r--r-- | solenv/gbuild/WinResTarget.mk | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/solenv/gbuild/WinResTarget.mk b/solenv/gbuild/WinResTarget.mk index 97050236a8ea..adb65db57100 100644 --- a/solenv/gbuild/WinResTarget.mk +++ b/solenv/gbuild/WinResTarget.mk @@ -48,13 +48,20 @@ endef define gb_WinResTarget_add_defs $(call gb_WinResTarget_get_target,$(1)) : DEFS += $(2) + +ifeq ($(gb_FULLDEPS),$(true)) $(call gb_WinResTarget_get_dep_target,$(1)) : DEFS += $(2) +endif endef define gb_WinResTarget_set_include $(call gb_WinResTarget_get_target,$(1)) : INCLUDE := $(2) +ifeq ($(gb_FULLDEPS),$(true)) +$(call gb_WinResTarget_get_dep_target,$(1)) : INCLUDE := $(2) +endif + endef define gb_WinResTarget_add_file @@ -66,6 +73,10 @@ $(call gb_WinResTarget_get_clean_target,$(1)) : RCFILE := $(SRCDIR)/$(strip $(2) $(call gb_WinResTarget_get_target,$(1)) : RCFILE := $(SRCDIR)/$(strip $(2)).rc $(call gb_WinResTarget_get_target,$(1)) : $$(RCFILE) +ifeq ($(gb_FULLDEPS),$(true)) +$(call gb_WinResTarget_get_dep_target,$(1)) : RCFILE := $(SRCDIR)/$(strip $(2)).rc +endif + endef define gb_WinResTarget_add_dependency |