mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 904740 - Add a make macro for including dependency files. r=gps
This commit is contained in:
parent
c72ba9fb38
commit
fe45555b58
@ -23,3 +23,9 @@ ifeq (1_a,$(.PYMAKE)_$(firstword a$(subst /, ,$(srcdir))))
|
||||
$(error MSYS-style srcdir being used with Pymake. Did you mean to run GNU Make instead? [see-also: https://developer.mozilla.org/ en/Gmake_vs._Pymake])
|
||||
endif
|
||||
endif # WINNT
|
||||
|
||||
ifdef .PYMAKE
|
||||
include_deps = $(eval -includedeps $(1))
|
||||
else
|
||||
include_deps = $(eval -include $(1))
|
||||
endif
|
||||
|
@ -76,10 +76,6 @@ xpidl:: $(linked_xpt_files) $(dist_headers)
|
||||
|
||||
$(linked_xpt_files): $(process_py) $(call mkdir_deps,$(idl_deps_dir) $(idl_headers_dir) $(idl_xpt_dir))
|
||||
|
||||
ifdef .PYMAKE
|
||||
-includedeps $(depends_files)
|
||||
else
|
||||
-include $(depends_files)
|
||||
endif
|
||||
$(call include_deps,$(depends_files))
|
||||
|
||||
.PHONY: xpidl
|
||||
|
@ -1621,11 +1621,7 @@ ifneq (,$(filter-out all chrome default export realchrome tools clean clobber cl
|
||||
MDDEPEND_FILES := $(strip $(wildcard $(foreach file,$(sort $(OBJS) $(PROGOBJS) $(HOST_OBJS) $(HOST_PROGOBJS) $(TARGETS)),$(MDDEPDIR)/$(notdir $(file)).pp) $(addprefix $(MDDEPDIR)/,$(EXTRA_MDDEPEND_FILES))))
|
||||
|
||||
ifneq (,$(MDDEPEND_FILES))
|
||||
ifdef .PYMAKE
|
||||
includedeps $(MDDEPEND_FILES)
|
||||
else
|
||||
include $(MDDEPEND_FILES)
|
||||
endif
|
||||
$(call include_deps,$(MDDEPEND_FILES))
|
||||
endif
|
||||
|
||||
endif
|
||||
@ -1635,11 +1631,7 @@ ifneq (,$(filter export,$(MAKECMDGOALS)))
|
||||
MDDEPEND_FILES := $(strip $(wildcard $(addprefix $(MDDEPDIR)/,$(EXTRA_EXPORT_MDDEPEND_FILES))))
|
||||
|
||||
ifneq (,$(MDDEPEND_FILES))
|
||||
ifdef .PYMAKE
|
||||
includedeps $(MDDEPEND_FILES)
|
||||
else
|
||||
include $(MDDEPEND_FILES)
|
||||
endif
|
||||
$(call include_deps,$(MDDEPEND_FILES))
|
||||
endif
|
||||
|
||||
endif
|
||||
|
@ -26,3 +26,9 @@ ifeq (1_a,$(.PYMAKE)_$(firstword a$(subst /, ,$(srcdir))))
|
||||
$(error MSYS-style srcdir being used with Pymake. Did you mean to run GNU Make instead? [see-also: https://developer.mozilla.org/ en/Gmake_vs._Pymake])
|
||||
endif
|
||||
endif # WINNT
|
||||
|
||||
ifdef .PYMAKE
|
||||
include_deps = $(eval -includedeps $(1))
|
||||
else
|
||||
include_deps = $(eval -include $(1))
|
||||
endif
|
||||
|
@ -1621,11 +1621,7 @@ ifneq (,$(filter-out all chrome default export realchrome tools clean clobber cl
|
||||
MDDEPEND_FILES := $(strip $(wildcard $(foreach file,$(sort $(OBJS) $(PROGOBJS) $(HOST_OBJS) $(HOST_PROGOBJS) $(TARGETS)),$(MDDEPDIR)/$(notdir $(file)).pp) $(addprefix $(MDDEPDIR)/,$(EXTRA_MDDEPEND_FILES))))
|
||||
|
||||
ifneq (,$(MDDEPEND_FILES))
|
||||
ifdef .PYMAKE
|
||||
includedeps $(MDDEPEND_FILES)
|
||||
else
|
||||
include $(MDDEPEND_FILES)
|
||||
endif
|
||||
$(call include_deps,$(MDDEPEND_FILES))
|
||||
endif
|
||||
|
||||
endif
|
||||
@ -1635,11 +1631,7 @@ ifneq (,$(filter export,$(MAKECMDGOALS)))
|
||||
MDDEPEND_FILES := $(strip $(wildcard $(addprefix $(MDDEPDIR)/,$(EXTRA_EXPORT_MDDEPEND_FILES))))
|
||||
|
||||
ifneq (,$(MDDEPEND_FILES))
|
||||
ifdef .PYMAKE
|
||||
includedeps $(MDDEPEND_FILES)
|
||||
else
|
||||
include $(MDDEPEND_FILES)
|
||||
endif
|
||||
$(call include_deps,$(MDDEPEND_FILES))
|
||||
endif
|
||||
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user