ALL_TRASH should be defined with = rather than := because some of its

constituents (e.g., TARGETS) may be redefined after coreconf/config.mk has
been included (e.g., in a local config.mk file).  We do not want to expand
these constituents right when ALL_TRASH is defined.
This commit is contained in:
wchang0222%aol.com 2004-11-05 02:35:43 +00:00
Родитель 254aeee16c
Коммит d524c3c6b7
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -171,7 +171,7 @@ ifndef PACKAGE
PACKAGE = . PACKAGE = .
endif endif
ALL_TRASH := $(TARGETS) $(OBJS) $(OBJDIR) LOGS TAGS $(GARBAGE) \ ALL_TRASH = $(TARGETS) $(OBJS) $(OBJDIR) LOGS TAGS $(GARBAGE) \
$(NOSUCHFILE) $(JDK_HEADER_CFILES) $(JDK_STUB_CFILES) \ $(NOSUCHFILE) $(JDK_HEADER_CFILES) $(JDK_STUB_CFILES) \
$(JRI_HEADER_CFILES) $(JRI_STUB_CFILES) $(JNI_HEADERS) \ $(JRI_HEADER_CFILES) $(JRI_STUB_CFILES) $(JNI_HEADERS) \
$(JMC_STUBS) $(JMC_HEADERS) $(JMC_EXPORT_FILES) \ $(JMC_STUBS) $(JMC_HEADERS) $(JMC_EXPORT_FILES) \