Bug 333308 - "make clean and make distclean miss various files" [p=mh+mozilla@glandium.org (Mike Hommey) r=bsmedberg a1.9=schrep]
authorreed@reedloden.com
Wed, 13 Feb 2008 03:33:38 -0800
changeset 11666 0e8661cba008899ab67d92e6048a9d3a51b0bc3c
parent 11665 e0167ac2d72806fb7b1f7ffbdbb11f04f853890c
child 11667 d0718b07784066853614d26428aa301aed933b23
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbsmedberg
bugs333308
milestone1.9b4pre
Bug 333308 - "make clean and make distclean miss various files" [p=mh+mozilla@glandium.org (Mike Hommey) r=bsmedberg a1.9=schrep]
Makefile.in
config/Makefile.in
db/morkreader/external/Makefile.in
embedding/base/standalone/Makefile.in
extensions/java/xpcom/interfaces/Makefile.in
intl/unicharutil/util/internal/Makefile.in
rdf/util/src/internal/Makefile.in
xpcom/glue/standalone/Makefile.in
--- a/Makefile.in
+++ b/Makefile.in
@@ -68,17 +68,17 @@ include $(topsrcdir)/$(MOZ_BUILD_APP)/bu
 
 TIERS += testharness
 
 # test harnesses
 ifdef ENABLE_TESTS
 tier_testharness_dirs += tools/test-harness
 endif
 
-GARBAGE_DIRS += dist _javagen _tests
+GARBAGE_DIRS += dist _javagen _tests staticlib
 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 \
    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
 export::
--- a/config/Makefile.in
+++ b/config/Makefile.in
@@ -130,17 +130,17 @@ export::
 
 GARBAGE_DIRS += system_wrappers
 endif
 
 install::
 	$(SYSINSTALL) $(IFLAGS1) $(DEPTH)/mozilla-config.h $(DESTDIR)$(includedir)
 
 GARBAGE += \
-	$(FINAL_LINK_COMPS) $(FINAL_LINK_LIBS) $(FINAL_LINK_COMP_NAMES) buildid
+	$(FINAL_LINK_COMPS) $(FINAL_LINK_LIBS) $(FINAL_LINK_COMP_NAMES) buildid $(srcdir)/*.pyc
 
 ifndef CROSS_COMPILE
 ifdef USE_ELF_DYNSTR_GC
 elf-dynstr-gc: elf-dynstr-gc.c Makefile Makefile.in
 	$(CC) $(COMPILE_CFLAGS) $(GLIB_CFLAGS) -o $@ $< $(LDFLAGS) $(GLIB_LIBS) 
 endif
 endif
 
--- a/db/morkreader/external/Makefile.in
+++ b/db/morkreader/external/Makefile.in
@@ -17,16 +17,17 @@
 # The Initial Developer of the Original Code is
 # Google Inc.
 # Portions created by the Initial Developer are Copyright (C) 2006
 # the Initial Developer. All Rights Reserved.
 #
 # Contributor(s):
 #  Brian Ryner <bryner@brianryner.com>
 #
+#
 # Alternatively, the contents of this file may be used under the terms of
 # either the GNU General Public License Version 2 or later (the "GPL"), or
 # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
 # in which case the provisions of the GPL or the LGPL are applicable instead
 # of those above. If you wish to allow use of your version of this file only
 # under the terms of either the GPL or the LGPL, and not to allow others to
 # use your version of this file under the terms of the MPL, indicate your
 # decision by deleting the provisions above and replace them with the notice
@@ -54,8 +55,10 @@ REQUIRES = xpcom \
            $(NULL)
 
 CPPSRCS = nsMorkReader.cpp
 
 include $(topsrcdir)/config/rules.mk
 
 nsMorkReader.cpp: $(srcdir)/../nsMorkReader.cpp
 	$(INSTALL) $^ .
+
+GARBAGE += nsMorkReader.cpp
--- a/embedding/base/standalone/Makefile.in
+++ b/embedding/base/standalone/Makefile.in
@@ -67,8 +67,10 @@ CPPSRCS += $(EMBED_CPPSRCS)
 FORCE_STATIC_LIB = 1
 
 include $(topsrcdir)/config/rules.mk
 
 CXXFLAGS += $(MOZ_TOOLKIT_REGISTRY_CFLAGS)
 
 export::
 	$(INSTALL) $(addprefix $(srcdir)/../,$(EMBED_CPPSRCS)) .
+
+GARBAGE += $(EMBED_CPPSRCS)
--- a/extensions/java/xpcom/interfaces/Makefile.in
+++ b/extensions/java/xpcom/interfaces/Makefile.in
@@ -68,17 +68,17 @@ JAVA_SRCS = \
 IFACES_JAR = MozillaInterfaces.jar
 IFACES_JAR_SRC = $(patsubst %.jar,%-src.jar,$(IFACES_JAR))
 
 JAVA_CLASSPATH += $(IFACES_JAR)
 
 # install jars into SDK
 SDK_LIBRARY = $(JAVA_LIBRARY_NAME).jar $(IFACES_JAR) $(IFACES_JAR_SRC)
 
-GARBAGE += $(IFACES_JAR) $(IFACES_JAR_SRC) IXPCOMError.java java.files
+GARBAGE += $(IFACES_JAR) $(IFACES_JAR_SRC) $(PACKAGE_DIR)/IXPCOMError.java java.files
 
 include $(topsrcdir)/config/rules.mk
 
 # MozillaGlue.jar depends on MozillaInterfaces.jar, so make sure to generate
 # the Mozilla Java interfaces first.
 $(addprefix $(_JAVA_DIR)/,$(JAVA_SRCS:.java=.class)): $(IFACES_JAR)
 
 ##
--- a/intl/unicharutil/util/internal/Makefile.in
+++ b/intl/unicharutil/util/internal/Makefile.in
@@ -68,8 +68,10 @@ CPPSRCS	= $(INTL_UNICHARUTIL_UTIL_LCPPSR
 
 FORCE_STATIC_LIB = 1
 FORCE_USE_PIC = 1
 
 include $(topsrcdir)/config/rules.mk
 
 $(INTL_UNICHARUTIL_UTIL_LCPPSRCS): %: $(srcdir)/../%
 	$(INSTALL) $^ .
+
+GARBAGE += $(INTL_UNICHARUTIL_UTIL_LCPPSRCS)
--- a/rdf/util/src/internal/Makefile.in
+++ b/rdf/util/src/internal/Makefile.in
@@ -64,8 +64,9 @@ CPPSRCS		= $(RDF_UTIL_SRC_LCPPSRCS)
 # we don't want the shared lib, but we want to force the creation of a static lib.
 FORCE_STATIC_LIB = 1
 
 include $(topsrcdir)/config/rules.mk
 
 $(RDF_UTIL_SRC_LCPPSRCS): %: $(srcdir)/../%
 	$(INSTALL) $^ .
 
+GARBAGE += $(RDF_UTIL_SRC_LCPPSRCS)
--- a/xpcom/glue/standalone/Makefile.in
+++ b/xpcom/glue/standalone/Makefile.in
@@ -118,9 +118,11 @@ ifdef _MSC_VER
 OS_COMPILE_CXXFLAGS += -Zl
 OS_COMPILE_CFLAGS += -Zl
 DEFINES += -D_USE_ANSI_CPP
 endif
 
 export:: $(XPCOM_GLUE_SRC_CSRCS) $(XPCOM_GLUE_SRC_CPPSRCS) $(topsrcdir)/xpcom/glue/nsStringAPI.cpp
 	$(INSTALL) $^ .
 
+GARBAGE += nsStringAPI.cpp
+
 DEFINES		+= -DXPCOM_GLUE