From 76daf8f682ea99b9ce20401b117b32945f2b1b04 Mon Sep 17 00:00:00 2001 From: Rodrigo Kumpera Date: Fri, 1 Feb 2013 13:54:29 -0500 Subject: [PATCH] Dep track BCL sources extension files. --- mcs/build/library.make | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mcs/build/library.make b/mcs/build/library.make index fea9b530771..590561ee868 100644 --- a/mcs/build/library.make +++ b/mcs/build/library.make @@ -18,14 +18,14 @@ sourcefile = $(depsdir)/$(PROFILE)_$(LIBRARY).sources library_CLEAN_FILES += $(sourcefile) ifdef EXTENSION_MODULE -EXTENSION_include=$(topdir)/../../mono-extensions/mcs/$(thisdir)/$(PROFILE)_$(LIBRARY).sources +EXTENSION_include = $(wildcard $(topdir)/../../mono-extensions/mcs/$(thisdir)/$(PROFILE)_$(LIBRARY).sources) else -EXTENSION_include=$(PROFILE)_opt_$(LIBRARY).sources +EXTENSION_include = $(wildcard $(PROFILE)_opt_$(LIBRARY).sources) endif # Note, gensources.sh can create a $(sourcefile).makefrag if it sees any '#include's # We don't include it in the dependencies since it isn't always created -$(sourcefile): $(PROFILE_sources) $(PROFILE_excludes) $(topdir)/build/gensources.sh +$(sourcefile): $(PROFILE_sources) $(PROFILE_excludes) $(topdir)/build/gensources.sh $(EXTENSION_include) @echo Creating the per profile list $@ ... $(SHELL) $(topdir)/build/gensources.sh $@ '$(PROFILE_sources)' '$(PROFILE_excludes)' '$(EXTENSION_include)' endif -- 2.25.1