Howdy,

The attached patch allows 'make maintainer-clean' to remove all of the files created by the bootstrap script, allowing them to be regenerated. It was created with r1341 and tested on Linux.

Cheers,

Zach Welch
Corvallis, OR
Index: src/helper/Makefile.am
===================================================================
--- src/helper/Makefile.am	(revision 1341)
+++ src/helper/Makefile.am	(working copy)
@@ -32,3 +32,5 @@
 
 # add startup_tcl.c to make clean list
 CLEANFILES = startup_tcl.c bin2char$(EXEEXT_FOR_BUILD)
+
+MAINTAINERCLEANFILES = Makefile.in
Index: src/pld/Makefile.am
===================================================================
--- src/pld/Makefile.am	(revision 1341)
+++ src/pld/Makefile.am	(working copy)
@@ -3,3 +3,5 @@
 noinst_LIBRARIES = libpld.a
 noinst_HEADERS = pld.h xilinx_bit.h virtex2.h
 libpld_a_SOURCES = pld.c xilinx_bit.c virtex2.c
+
+MAINTAINERCLEANFILES = Makefile.in
Index: src/jtag/Makefile.am
===================================================================
--- src/jtag/Makefile.am	(revision 1341)
+++ src/jtag/Makefile.am	(working copy)
@@ -106,3 +106,5 @@
 	$(AT91RM9200FILES) $(GW16012FILES) $(BITQFILES) $(PRESTOFILES) $(USBPROGFILES) $(ECOSBOARDFILES) $(JLINKFILES) $(RLINKFILES) $(VSLLINKFILES)
 
 noinst_HEADERS = bitbang.h jtag.h bitq.h rlink/dtc_cmd.h rlink/ep1_cmd.h rlink/rlink.h rlink/st7.h
+
+MAINTAINERCLEANFILES = Makefile.in
Index: src/target/Makefile.am
===================================================================
--- src/target/Makefile.am	(revision 1341)
+++ src/target/Makefile.am	(working copy)
@@ -28,3 +28,5 @@
 nobase_dist_pkglib_DATA += $(wildcard $(srcdir)/interface/*.cfg)
 # Various preconfigured boards
 nobase_dist_pkglib_DATA += $(wildcard $(srcdir)/board/*.cfg)
+
+MAINTAINERCLEANFILES = Makefile.in
Index: src/xsvf/Makefile.am
===================================================================
--- src/xsvf/Makefile.am	(revision 1341)
+++ src/xsvf/Makefile.am	(working copy)
@@ -3,3 +3,5 @@
 noinst_LIBRARIES = libxsvf.a
 noinst_HEADERS = xsvf.h
 libxsvf_a_SOURCES = xsvf.c
+
+MAINTAINERCLEANFILES = Makefile.in
Index: src/flash/Makefile.am
===================================================================
--- src/flash/Makefile.am	(revision 1341)
+++ src/flash/Makefile.am	(working copy)
@@ -8,3 +8,5 @@
 noinst_HEADERS = flash.h lpc2000.h cfi.h non_cfi.h at91sam7.h at91sam7_old.h str7x.h str9x.h nand.h lpc3180_nand_controller.h \
 				 stellaris.h str9xpec.h stm32x.h tms470.h s3c24xx_nand.h s3c24xx_regs_nand.h lpc288x.h mflash.h \
 				 ocl.h pic32mx.h
+
+MAINTAINERCLEANFILES = Makefile.in
Index: src/svf/Makefile.am
===================================================================
--- src/svf/Makefile.am	(revision 1341)
+++ src/svf/Makefile.am	(working copy)
@@ -3,3 +3,5 @@
 noinst_LIBRARIES = libsvf.a
 noinst_HEADERS = svf.h
 libsvf_a_SOURCES = svf.c
+
+MAINTAINERCLEANFILES = Makefile.in
Index: src/server/Makefile.am
===================================================================
--- src/server/Makefile.am	(revision 1341)
+++ src/server/Makefile.am	(working copy)
@@ -17,3 +17,5 @@
 nobase_dist_pkglib_DATA = $(wildcard $(srcdir)/httpd/*.tcl $(srcdir)/httpd/*.css $(srcdir)/httpd/menu_cuts/*.png)
 endif
 AM_CPPFLAGS = -DPKGLIBDIR=\"$(pkglibdir)\" @CPPFLAGS@
+
+MAINTAINERCLEANFILES = Makefile.in
Index: src/Makefile.am
===================================================================
--- src/Makefile.am	(revision 1341)
+++ src/Makefile.am	(working copy)
@@ -95,3 +95,5 @@
 	tcl/memory.tcl				\
 	tcl/mmr_helpers.tcl			\
 	tcl/readable.tcl
+
+MAINTAINERCLEANFILES = Makefile.in
Index: doc/Makefile.am
===================================================================
--- doc/Makefile.am	(revision 1341)
+++ doc/Makefile.am	(working copy)
@@ -2,4 +2,4 @@
 openocd_TEXINFOS = fdl.texi
 man_MANS = openocd.1
 EXTRA_DIST = openocd.1
-
+MAINTAINERCLEANFILES = Makefile.in mdate-sh texinfo.tex
Index: Makefile.am
===================================================================
--- Makefile.am	(revision 1341)
+++ Makefile.am	(working copy)
@@ -11,3 +11,15 @@
 	contrib/libdcc/README
 
 SUBDIRS = src doc
+
+MAINTAINERCLEANFILES = \
+	configure \
+	Makefile.in \
+	depcomp \
+	config.guess \
+	config.sub \
+	config.h.in \
+	missing \
+	aclocal.m4 \
+	install-sh
+
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to