Bug 333308 - make clean/distclean misses various files, patch by Mike Hommey <mh+mozilla@glandium.org>, r=me

This commit is contained in:
benjamin%smedbergs.us 2006-04-28 14:54:54 +00:00
parent 1c04b21107
commit ec18f62436
15 changed files with 20 additions and 9 deletions

View File

@ -517,6 +517,7 @@ GARBAGE_DIRS += dist
DIST_GARBAGE = config.cache config.log config.status config-defs.h \
dependencies.beos config/autoconf.mk config/myrules.mk config/myconfig.mk \
unallmakefiles mozilla-config.h \
gfx/gfx-config.h netwerk/necko-config.h xpcom/xpcom-config.h xpcom/xpcom-private.h \
$(topsrcdir)/.mozconfig.mk $(topsrcdir)/.mozconfig.out
# Build pseudo-external modules first when export is explicitly called

View File

@ -71,7 +71,7 @@ pkg_config_files=$(MOZ_APP_NAME)-nspr.pc $(MOZ_APP_NAME)-xpcom.pc \
$(MOZ_APP_NAME)-js.pc \
$(MOZ_APP_NAME)-nss.pc $(MOZ_APP_NAME)-plugin.pc
GARBAGE = $(pkg_config_files) mozilla-config
GARBAGE = $(pkg_config_files) $(MOZ_APP_NAME)-config
$(MOZ_APP_NAME)-config:: mozilla-config.in Makefile.in Makefile $(DEPTH)/config/autoconf.mk
cat $< | sed \

View File

@ -63,7 +63,7 @@ GEN_JAVA_SRCS = \
# install jars into SDK
SDK_LIBRARY = $(JARFILE) $(JARFILE_SRC)
GARBAGE += $(JARFILE) $(JARFILE_SRC) $(GEN_JAVA_SRCS) java.files
GARBAGE += $(JARFILE) $(JARFILE_SRC) $(GEN_JAVA_SRCS) java.files .done
GARBAGE_DIRS += _javagen org
include $(topsrcdir)/config/rules.mk

View File

@ -86,7 +86,7 @@ endif
# necessary until we do 'cvs move' to put files in correct directories
LOCAL_INCLUDES += -I$(srcdir)
GARBAGE += $(JARFILE) $(JARFILE_SRC) java.files
GARBAGE += $(JARFILE) $(JARFILE_SRC) java.files .done
GARBAGE_DIRS += _javagen org
include $(topsrcdir)/config/rules.mk

View File

@ -82,3 +82,5 @@ LOCAL_INCLUDES = -I$(srcdir)/..
export::
$(INSTALL) $(srcdir)/../nsSystemPrefFactory.cpp .
GARBAGE += nsSystemPrefFactory.cpp

View File

@ -67,3 +67,5 @@ DEFINES += -DXPCOM_GLUE
export:: $(MODULES_PROFILEDIRSERVICE_SRC_CSRCS)
$(INSTALL) $^ .
GARBAGE = $(notdir $(MODULES_PROFILEDIRSERVICE_SRC_CSRCS))

View File

@ -224,6 +224,8 @@ endif
touch $@
endif
GARBAGE += .nss.cleaned
.nss.checkout:
ifndef MOZ_NATIVE_NSS
touch $(srcdir)/$@

View File

@ -131,6 +131,7 @@ GARBAGE += \
$(RDF_UTIL_SRC_LCPPSRCS) \
$(INTL_UNICHARUTIL_UTIL_LCPPSRCS) \
$(wildcard *.$(OBJ_SUFFIX)) \
dlldeps-javaxpcom.cpp \
$(NULL)
else
ifdef NS_TRACE_MALLOC

View File

@ -91,3 +91,5 @@ export:: dlldeps.cpp
dlldeps.cpp: $(topsrcdir)/xpcom/build/dlldeps.cpp
$(INSTALL) $^ .
GARBAGE += dlldeps.cpp

View File

@ -45,6 +45,7 @@ include $(DEPTH)/config/autoconf.mk
MODULE = helperAppDlg
EXTRA_COMPONENTS = nsHelperAppDlg.js
GARBAGE += nsHelperAppDlg.js
include $(topsrcdir)/config/rules.mk

View File

@ -45,6 +45,7 @@ include $(DEPTH)/config/autoconf.mk
MODULE = extensions
EXTRA_COMPONENTS = nsExtensionManager.js
GARBAGE += nsExtensionManager.js
include $(topsrcdir)/config/rules.mk

View File

@ -49,6 +49,7 @@ DIRS = updater
endif
EXTRA_COMPONENTS = nsUpdateService.js
GARBAGE += nsUpdateService.js
ifeq ($(OS_ARCH),WINNT)
EXTRA_COMPONENTS += nsPostUpdateWin.js

View File

@ -160,16 +160,14 @@ endif
SHAREDCPPSRCS += nsSigHandlers.cpp
endif
GARBAGE += $(SHAREDSRCS) $(wildcard *.$(OBJ_SUFFIX))
GARBAGE += $(SHAREDCPPSRCS) $(wildcard *.$(OBJ_SUFFIX))
ifeq ($(OS_ARCH),WINNT)
GARBAGE += $(addprefix $(srcdir)/,$(SHAREDSRCS))
GARBAGE += $(addprefix $(srcdir)/,$(SHAREDCPPSRCS))
endif
ifneq (,$(filter-out OS2 WINNT,$(OS_ARCH)))
ifndef MOZ_ENABLE_LIBXUL
GARBAGE += $(STACKWALK_SRC_LCSRCS)
endif
endif
SHARED_LIBRARY_LIBS += ../profile/src/$(LIB_PREFIX)profile_s.$(LIB_SUFFIX)

View File

@ -158,7 +158,7 @@ endif
# UNIX98 iconv support
OS_LIBS += $(LIBICONV)
GARBAGE += $(XPCOM_GLUE_SRC_LCSRCS) $(XPCOM_GLUENS_SRC_LCSRCS) $(wildcard *.$(OBJ_SUFFIX))
GARBAGE += $(XPCOM_GLUE_SRC_LCSRCS) $(XPCOM_GLUE_SRC_LCPPSRCS) $(XPCOM_GLUENS_SRC_LCPPSRCS) $(wildcard *.$(OBJ_SUFFIX))
include $(topsrcdir)/config/rules.mk

View File

@ -99,7 +99,7 @@ FORCE_STATIC_LIB = 1
# Force use of PIC
FORCE_USE_PIC = 1
GARBAGE += $(XPCOM_GLUE_SRC_LCSRCS) $(wildcard *.$(OBJ_SUFFIX))
GARBAGE += $(XPCOM_GLUE_SRC_LCSRCS) $(XPCOM_GLUE_SRC_LCPPSRCS) $(wildcard *.$(OBJ_SUFFIX))
SRCS_IN_OBJDIR = 1