From 93180753be73daa7bf90e02585a7192fa6960a96 Mon Sep 17 00:00:00 2001 From: kc8apf Date: Tue, 20 Jan 2009 03:55:38 +0000 Subject: [PATCH] Fix 'make maintainer-clean' courtesy of Zach Welch git-svn-id: svn://svn.berlios.de/openocd/trunk@1345 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- Makefile.am | 11 +++++++++++ doc/Makefile.am | 1 + src/Makefile.am | 2 ++ src/flash/Makefile.am | 2 ++ src/helper/Makefile.am | 2 ++ src/jtag/Makefile.am | 2 ++ src/pld/Makefile.am | 2 ++ src/server/Makefile.am | 2 ++ src/svf/Makefile.am | 2 ++ src/target/Makefile.am | 2 ++ src/xsvf/Makefile.am | 2 ++ 11 files changed, 30 insertions(+) diff --git a/Makefile.am b/Makefile.am index 5eb5cad2a..2f5be6365 100644 --- a/Makefile.am +++ b/Makefile.am @@ -11,3 +11,14 @@ nobase_dist_pkgdata_DATA = \ contrib/libdcc/README SUBDIRS = src doc + +MAINTAINERCLEANFILES = \ + configure \ + Makefile.in \ + depcomp \ + config.guess \ + config.sub \ + config.h.in \ + missing \ + aclocal.m4 \ + install-sh diff --git a/doc/Makefile.am b/doc/Makefile.am index 71f8a6661..6bc2ea880 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -3,3 +3,4 @@ openocd_TEXINFOS = fdl.texi man_MANS = openocd.1 EXTRA_DIST = openocd.1 +MAINTAINERCLEANFILES = Makefile.in mdate-sh texinfo.tex diff --git a/src/Makefile.am b/src/Makefile.am index 24333e312..1103e5751 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -95,3 +95,5 @@ nobase_dist_pkglib_DATA = \ tcl/memory.tcl \ tcl/mmr_helpers.tcl \ tcl/readable.tcl + +MAINTAINERCLEANFILES = Makefile.in diff --git a/src/flash/Makefile.am b/src/flash/Makefile.am index 597455414..3d28be817 100644 --- a/src/flash/Makefile.am +++ b/src/flash/Makefile.am @@ -8,3 +8,5 @@ libflash_a_SOURCES = flash.c lpc2000.c cfi.c non_cfi.c at91sam7.c at91sam7_old.c 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 diff --git a/src/helper/Makefile.am b/src/helper/Makefile.am index a7ca723fc..0cfdf7c31 100644 --- a/src/helper/Makefile.am +++ b/src/helper/Makefile.am @@ -32,3 +32,5 @@ startup_tcl.c: startup.tcl bin2char$(EXEEXT_FOR_BUILD) # add startup_tcl.c to make clean list CLEANFILES = startup_tcl.c bin2char$(EXEEXT_FOR_BUILD) + +MAINTAINERCLEANFILES = Makefile.in diff --git a/src/jtag/Makefile.am b/src/jtag/Makefile.am index 55f7e6a2b..211cedce9 100644 --- a/src/jtag/Makefile.am +++ b/src/jtag/Makefile.am @@ -106,3 +106,5 @@ libjtag_a_SOURCES = jtag.c $(BITBANGFILES) $(PARPORTFILES) $(DUMMYFILES) $(FT223 $(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 diff --git a/src/pld/Makefile.am b/src/pld/Makefile.am index e3386257d..a6584e80a 100644 --- a/src/pld/Makefile.am +++ b/src/pld/Makefile.am @@ -3,3 +3,5 @@ METASOURCES = AUTO 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 diff --git a/src/server/Makefile.am b/src/server/Makefile.am index 1c0816f06..075e9560e 100644 --- a/src/server/Makefile.am +++ b/src/server/Makefile.am @@ -17,3 +17,5 @@ if HTTPD 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 diff --git a/src/svf/Makefile.am b/src/svf/Makefile.am index fa789d660..47ab0f2e6 100644 --- a/src/svf/Makefile.am +++ b/src/svf/Makefile.am @@ -3,3 +3,5 @@ METASOURCES = AUTO noinst_LIBRARIES = libsvf.a noinst_HEADERS = svf.h libsvf_a_SOURCES = svf.c + +MAINTAINERCLEANFILES = Makefile.in diff --git a/src/target/Makefile.am b/src/target/Makefile.am index fd55a04b4..cf6982d49 100644 --- a/src/target/Makefile.am +++ b/src/target/Makefile.am @@ -28,3 +28,5 @@ nobase_dist_pkglib_DATA += $(wildcard $(srcdir)/target/*.cfg) nobase_dist_pkglib_DATA += $(wildcard $(srcdir)/interface/*.cfg) # Various preconfigured boards nobase_dist_pkglib_DATA += $(wildcard $(srcdir)/board/*.cfg) + +MAINTAINERCLEANFILES = Makefile.in diff --git a/src/xsvf/Makefile.am b/src/xsvf/Makefile.am index bd1b8fa1c..3ad3ca39b 100644 --- a/src/xsvf/Makefile.am +++ b/src/xsvf/Makefile.am @@ -3,3 +3,5 @@ METASOURCES = AUTO noinst_LIBRARIES = libxsvf.a noinst_HEADERS = xsvf.h libxsvf_a_SOURCES = xsvf.c + +MAINTAINERCLEANFILES = Makefile.in