From 13af0553c98a19a940bf77670ad9c21bad30ff70 Mon Sep 17 00:00:00 2001 From: David Tardon Date: Mon, 30 Apr 2012 15:15:03 +0200 Subject: set vars for dep. target consistently Change-Id: Ie6a68d9ed96e35f6e8c4778bcd4fd8920d19159c --- solenv/gbuild/WinResTarget.mk | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'solenv/gbuild/WinResTarget.mk') 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 -- cgit