зеркало из https://github.com/mozilla/gecko-dev.git
Bug 256046. Don't prefix with $(JAVA_DESTPATH)/ if it's undefined.
r=Glen.beasley,neil.williams
This commit is contained in:
Родитель
33b126149c
Коммит
dd71fb79e3
|
@ -174,18 +174,6 @@ ifndef PACKAGE
|
|||
PACKAGE = .
|
||||
endif
|
||||
|
||||
ALL_TRASH = $(TARGETS) $(OBJS) $(OBJDIR) LOGS TAGS $(GARBAGE) \
|
||||
$(NOSUCHFILE) $(JDK_HEADER_CFILES) $(JDK_STUB_CFILES) \
|
||||
$(JRI_HEADER_CFILES) $(JRI_STUB_CFILES) $(JNI_HEADERS) \
|
||||
$(JMC_STUBS) $(JMC_HEADERS) $(JMC_EXPORT_FILES) \
|
||||
so_locations _gen _jmc _jri _jni _stubs \
|
||||
$(wildcard $(JAVA_DESTPATH)/$(PACKAGE)/*.class) \
|
||||
$(BUILT_SRCS)
|
||||
|
||||
ifdef JDIRS
|
||||
ALL_TRASH += $(addprefix $(JAVA_DESTPATH)/,$(JDIRS))
|
||||
endif
|
||||
|
||||
ifdef NSBUILDROOT
|
||||
JDK_GEN_DIR = $(SOURCE_XP_DIR)/_gen
|
||||
JMC_GEN_DIR = $(SOURCE_XP_DIR)/_jmc
|
||||
|
@ -200,6 +188,28 @@ else
|
|||
JDK_STUB_DIR = _stubs
|
||||
endif
|
||||
|
||||
ALL_TRASH = $(TARGETS) $(OBJS) $(OBJDIR) LOGS TAGS $(GARBAGE) \
|
||||
so_locations $(BUILT_SRCS) $(NOSUCHFILE)
|
||||
|
||||
ifdef NS_USE_JDK
|
||||
ALL_TRASH += $(JDK_HEADER_CFILES) $(JDK_STUB_CFILES) \
|
||||
$(JMC_HEADERS) $(JMC_STUBS) $(JMC_EXPORT_FILES) \
|
||||
$(JNI_HEADERS) \
|
||||
$(JRI_HEADER_CFILES) $(JRI_STUB_CFILES) \
|
||||
$(JDK_GEN_DIR) $(JMC_GEN_DIR) $(JNI_GEN_DIR) \
|
||||
$(JRI_GEN_DIR) $(JDK_STUB_DIR)
|
||||
|
||||
ifdef JAVA_DESTPATH
|
||||
ALL_TRASH += $(wildcard $(JAVA_DESTPATH)/$(PACKAGE)/*.class)
|
||||
ifdef JDIRS
|
||||
ALL_TRASH += $(addprefix $(JAVA_DESTPATH)/,$(JDIRS))
|
||||
endif
|
||||
else # !JAVA_DESTPATH
|
||||
ALL_TRASH += $(wildcard $(PACKAGE)/*.class) $(JDIRS)
|
||||
endif
|
||||
|
||||
endif #NS_USE_JDK
|
||||
|
||||
#
|
||||
# If this is an "official" build, try to build everything.
|
||||
# I.e., don't exit on errors.
|
||||
|
|
Загрузка…
Ссылка в новой задаче