about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog16
-rw-r--r--catgets/Makefile6
-rw-r--r--csu/Makefile4
-rw-r--r--debug/Makefile2
-rw-r--r--dlfcn/Makefile2
-rw-r--r--elf/Makefile6
-rw-r--r--iconvdata/Makefile8
-rw-r--r--intl/Makefile6
-rw-r--r--libio/Makefile2
-rw-r--r--localedata/ChangeLog4
-rw-r--r--localedata/Makefile4
-rw-r--r--malloc/Makefile2
-rw-r--r--manual/Makefile16
-rw-r--r--misc/Makefile2
-rw-r--r--nptl/ChangeLog4
-rw-r--r--nptl/Makefile2
-rw-r--r--posix/Makefile2
-rw-r--r--resolv/Makefile2
-rw-r--r--sunrpc/Makefile6
-rw-r--r--timezone/Makefile4
20 files changed, 62 insertions, 38 deletions
diff --git a/ChangeLog b/ChangeLog
index 170c82e7cf..a5b1de26d0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,21 @@
 2014-02-28  Roland McGrath  <roland@hack.frob.com>
 
+	* csu/Makefile (generated, before-compile): Use += rather than =.
+	* catgets/Makefile (generated, generated-dirs): Likewise.
+	* debug/Makefile (generated): Likewise.
+	* dlfcn/Makefile (generated): Likewise.
+	* elf/Makefile (before-compile, generated, generated-dirs): Likewise.
+	* iconvdata/Makefile (before-compile, generated): Likewise.
+	* intl/Makefile (before-compile, generated, generated-dirs): Likewise.
+	* libio/Makefile (generated): Likewise.
+	* malloc/Makefile (generated): Likewise.
+	* manual/Makefile (generated, generated-dirs): Likewise.
+	* misc/Makefile (generated): Likewise.
+	* posix/Makefile (generated): Likewise.
+	* resolv/Makefile (generated): Likewise.
+	* sunrpc/Makefile (generated, generated-dirs): Likewise.
+	* timezone/Makefile (generated, generated-dirs): Likewise.
+
 	* stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
 
 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
diff --git a/catgets/Makefile b/catgets/Makefile
index 899d929db6..5eba3b5605 100644
--- a/catgets/Makefile
+++ b/catgets/Makefile
@@ -46,9 +46,9 @@ catgets-CPPFLAGS := -DNLSPATH='"$(msgcatdir)/%L/%N:$(msgcatdir)/%L/LC_MESSAGES/%
 
 CPPFLAGS-gencat = -DNOT_IN_libc
 
-generated = de.msg test1.cat test1.h test2.cat test2.h sample.SJIS.cat \
-	    test-gencat.h
-generated-dirs = de
+generated += de.msg test1.cat test1.h test2.cat test2.h sample.SJIS.cat \
+	     test-gencat.h
+generated-dirs += de
 
 tst-catgets-ENV = NLSPATH="$(objpfx)%l/%N.cat" LANG=de
 
diff --git a/csu/Makefile b/csu/Makefile
index ebd4b4efed..5252361ec4 100644
--- a/csu/Makefile
+++ b/csu/Makefile
@@ -39,8 +39,8 @@ omit-deps = $(patsubst %.o,%,$(start-installed-name) g$(start-installed-name) \
 			     b$(start-installed-name) $(csu-dummies) \
 			     S$(start-installed-name))
 install-lib = $(start-installed-name) g$(start-installed-name) $(csu-dummies)
-generated = version-info.h
-before-compile = $(objpfx)version-info.h
+generated += version-info.h
+before-compile += $(objpfx)version-info.h
 
 tests := tst-empty tst-atomic tst-atomic-long
 tests-static := tst-empty
diff --git a/debug/Makefile b/debug/Makefile
index 963460ecf9..b599a22ed3 100644
--- a/debug/Makefile
+++ b/debug/Makefile
@@ -166,7 +166,7 @@ install-bin-script = xtrace
 ifeq ($(build-shared),yes)
 install-bin-script += catchsegv
 endif
-generated = catchsegv xtrace
+generated += catchsegv xtrace
 
 include ../Rules
 
diff --git a/dlfcn/Makefile b/dlfcn/Makefile
index 39f18d7c7b..1fad0a5758 100644
--- a/dlfcn/Makefile
+++ b/dlfcn/Makefile
@@ -60,7 +60,7 @@ tststatic5-ENV = $(tststatic-ENV)
 endif
 
 extra-test-objs += $(modules-names:=.os)
-generated := $(modules-names:=.so)
+generated += $(modules-names:=.so)
 
 include ../Rules
 
diff --git a/elf/Makefile b/elf/Makefile
index 3b217ce326..5637b4899c 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -55,9 +55,9 @@ routines += unwind-dw2-fde-glibc
 shared-only-routines += unwind-dw2-fde-glibc
 endif
 
-before-compile  = $(objpfx)trusted-dirs.h
-generated	:= trusted-dirs.h trusted-dirs.st for-renamed/renamed.so
-generated-dirs	:= for-renamed
+before-compile  += $(objpfx)trusted-dirs.h
+generated	+= trusted-dirs.h trusted-dirs.st for-renamed/renamed.so
+generated-dirs	+= for-renamed
 
 ifeq ($(build-shared),yes)
 ld-map		= $(common-objpfx)ld.map
diff --git a/iconvdata/Makefile b/iconvdata/Makefile
index 01f50d2ac7..8fabe52718 100644
--- a/iconvdata/Makefile
+++ b/iconvdata/Makefile
@@ -177,9 +177,9 @@ gen-special-modules := iso8859-7jp
 generated-modules := $(gen-8bit-modules) $(gen-8bit-gap-modules) \
 		     $(gen-special-modules)
 
-generated = $(generated-modules:=.h) $(generated-modules:=.stmp) \
-	    iconv-test.out iconv-rules tst-loading.mtrace	 \
-	    mtrace-tst-loading tst-tables.out iconv-test.xxx
+generated += $(generated-modules:=.h) $(generated-modules:=.stmp) \
+	     iconv-test.out iconv-rules tst-loading.mtrace	 \
+	     mmtrace-tst-loading tst-tables.out iconv-test.xxx
 ifdef objpfx
 generated += gconv-modules
 endif
@@ -202,7 +202,7 @@ touch $@
 endef
 
 # The headers must be generated before the compilation.
-before-compile = $(addprefix $(objpfx),$(generated-modules:=.h))
+before-compile += $(addprefix $(objpfx),$(generated-modules:=.h))
 
 ifndef avoid-generated
 $(objpfx)iconv-rules: Makefile
diff --git a/intl/Makefile b/intl/Makefile
index b21f4d9295..61ba07f62c 100644
--- a/intl/Makefile
+++ b/intl/Makefile
@@ -34,12 +34,12 @@ test-srcs += $(multithread-test-srcs)
 endif
 tests = tst-ngettext
 
-before-compile = $(objpfx)msgs.h
+before-compile += $(objpfx)msgs.h
 
 install-others = $(inst_msgcatdir)/locale.alias
 
-generated = msgs.h mtrace-tst-gettext tst-gettext.mtrace
-generated-dirs := domaindir localedir
+generated += msgs.h mtrace-tst-gettext tst-gettext.mtrace
+generated-dirs += domaindir localedir
 
 ifneq (no,$(BISON))
 plural.c: plural.y
diff --git a/libio/Makefile b/libio/Makefile
index fb6ec70d20..22dbcae0fd 100644
--- a/libio/Makefile
+++ b/libio/Makefile
@@ -159,7 +159,7 @@ bug-ftell-ENV = LOCPATH=$(common-objpfx)localedata
 tst-fgetwc-ENV = LOCPATH=$(common-objpfx)localedata
 tst-fseek-ENV = LOCPATH=$(common-objpfx)localedata
 
-generated = tst-fopenloc.mtrace tst-fopenloc.check
+generated += tst-fopenloc.mtrace tst-fopenloc.check
 
 aux	:= fileops genops stdfiles stdio strops
 
diff --git a/localedata/ChangeLog b/localedata/ChangeLog
index 2bd966dc1f..a7323054ba 100644
--- a/localedata/ChangeLog
+++ b/localedata/ChangeLog
@@ -1,3 +1,7 @@
+2014-02-28  Roland McGrath  <roland@hack.frob.com>
+
+	* Makefile (generated, generated-dirs): Use += rather than =.
+
 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
 
 	* Makefile: Include Makeconfig immediately after defining subdir.
diff --git a/localedata/Makefile b/localedata/Makefile
index 881337452e..ad801b7e75 100644
--- a/localedata/Makefile
+++ b/localedata/Makefile
@@ -51,9 +51,9 @@ ld-test-srcs := $(addprefix tests/,$(addsuffix .cm,$(ld-test-names)) \
 fmon-tests = n01y12 n02n40 n10y31 n11y41 n12y11 n20n32 n30y20 n41n00 \
 	     y01y10 y02n22 y22n42 y30y21 y32n31 y40y00 y42n21
 
-generated := $(test-input) $(test-output) sort-test.out tst-locale.out \
+generated += $(test-input) $(test-output) sort-test.out tst-locale.out \
 	     tst-mbswcs.out tst-leaks.mtrace mtrace-tst-leaks
-generated-dirs := $(ld-test-names) tt_TT de_DE.437			\
+generated-dirs += $(ld-test-names) tt_TT de_DE.437			\
 		  $(addprefix tstfmon_,$(fmon-tests))			\
 
 ifeq ($(run-built-tests),yes)
diff --git a/malloc/Makefile b/malloc/Makefile
index 12b4ec6b43..1b47ce2a42 100644
--- a/malloc/Makefile
+++ b/malloc/Makefile
@@ -53,7 +53,7 @@ CPPFLAGS-memusagestat = -DNOT_IN_libc
 # The Perl script to analyze the output of the mtrace functions.
 ifneq ($(PERL),no)
 install-bin-script = mtrace
-generated = mtrace
+generated += mtrace
 
 # The Perl script will print addresses and to do this nicely we must know
 # whether we are on a 32 or 64 bit machine.
diff --git a/manual/Makefile b/manual/Makefile
index 5c62f9a95d..ec1f3d8870 100644
--- a/manual/Makefile
+++ b/manual/Makefile
@@ -162,14 +162,14 @@ minimal-dist = summary.awk texis.awk tsort.awk libc-texinfo.sh libc.texinfo \
 	       $(patsubst %.c.texi,examples/%.c, $(examples))
 
 indices = cp fn pg tp vr ky
-generated-dirs := libc
-generated = libc.dvi libc.pdf libc.tmp libc.info*			    \
-	stubs								    \
-	texis summary.texi stamp-summary *.c.texi			    \
-	$(foreach index,$(indices),libc.$(index) libc.$(index)s)	    \
-	libc.log libc.aux libc.toc					    \
-	$(libc-texi-generated)						    \
-	stamp-libm-err stamp-version
+generated-dirs += libc
+generated += libc.dvi libc.pdf libc.tmp libc.info*			      \
+	     stubs							      \
+	     texis summary.texi stamp-summary *.c.texi			      \
+	     $(foreach index,$(indices),libc.$(index) libc.$(index)s)	      \
+	     libc.log libc.aux libc.toc					      \
+	     $(libc-texi-generated)					      \
+	     stamp-libm-err stamp-version
 
 include ../Rules
 
diff --git a/misc/Makefile b/misc/Makefile
index 1897f6c368..65dcc48605 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -69,7 +69,7 @@ routines := brk sbrk sstk ioctl \
 	    listxattr lgetxattr llistxattr lremovexattr lsetxattr \
 	    removexattr setxattr getauxval ifunc-impl-list
 
-generated := tst-error1.mtrace tst-error1-mem
+generated += tst-error1.mtrace tst-error1-mem
 
 aux := init-misc
 install-lib := libg.a
diff --git a/nptl/ChangeLog b/nptl/ChangeLog
index a1d0f11d4b..c01177ed83 100644
--- a/nptl/ChangeLog
+++ b/nptl/ChangeLog
@@ -1,3 +1,7 @@
+2014-02-28  Roland McGrath  <roland@hack.frob.com>
+
+	* Makefile (generated-dirs): Use += rather than =.
+
 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
 
 	* Makefile: Include Makeconfig immediately after defining subdir.
diff --git a/nptl/Makefile b/nptl/Makefile
index d568e5d34d..320facf8ea 100644
--- a/nptl/Makefile
+++ b/nptl/Makefile
@@ -338,7 +338,7 @@ $(objpfx)multidir.mk: $(common-objpfx)config.make
 crti-objs := crti.o
 crtn-objs := crtn.o
 ifneq (,$(patsubst .,,$(multidir)))
-generated-dirs := $(firstword $(subst /, , $(multidir)))
+generated-dirs += $(firstword $(subst /, , $(multidir)))
 crti-objs += $(multidir)/crti.o
 crtn-objs += $(multidir)/crtn.o
 $(objpfx)$(multidir):
diff --git a/posix/Makefile b/posix/Makefile
index b41055a509..a9bbff2f62 100644
--- a/posix/Makefile
+++ b/posix/Makefile
@@ -101,7 +101,7 @@ install-others-programs	:= $(inst_libexecdir)/getconf
 before-compile	:= testcases.h ptestcases.h
 
 # So they get cleaned up.
-generated := $(addprefix wordexp-test-result, 1 2 3 4 5 6 7 8 9 10) \
+generated += $(addprefix wordexp-test-result, 1 2 3 4 5 6 7 8 9 10) \
 	     annexc annexc.out wordexp-tst.out bug-regex2-mem \
 	     bug-regex2.mtrace bug-regex14-mem bug-regex14.mtrace \
 	     bug-regex21-mem bug-regex21.mtrace \
diff --git a/resolv/Makefile b/resolv/Makefile
index 9e4daee8c2..5763469285 100644
--- a/resolv/Makefile
+++ b/resolv/Makefile
@@ -64,7 +64,7 @@ ifeq (yesyes,$(build-shared)$(have-thread-library))
 tests: $(objpfx)ga_test
 endif
 
-generated := mtrace-tst-leaks tst-leaks.mtrace \
+generated += mtrace-tst-leaks tst-leaks.mtrace \
 	     mtrace-tst-leaks2 tst-leaks2.mtrace
 
 include ../Rules
diff --git a/sunrpc/Makefile b/sunrpc/Makefile
index 9ffcb23e97..a2722af5f7 100644
--- a/sunrpc/Makefile
+++ b/sunrpc/Makefile
@@ -56,9 +56,9 @@ headers-not-in-tirpc = $(addprefix rpc/,key_prot.h rpc_des.h) \
 		       $(rpcsvc:%=rpcsvc/%) rpcsvc/bootparam.h
 headers = rpc/netdb.h
 install-others = $(inst_sysconfdir)/rpc
-generated = $(rpcsvc:%.x=rpcsvc/%.h) $(rpcsvc:%.x=x%.c) $(rpcsvc:%.x=x%.stmp) \
-	    $(rpcsvc:%.x=rpcsvc/%.stmp) rpcgen
-generated-dirs := rpcsvc
+generated += $(rpcsvc:%.x=rpcsvc/%.h) $(rpcsvc:%.x=x%.c) $(rpcsvc:%.x=x%.stmp) \
+	     $(rpcsvc:%.x=rpcsvc/%.stmp) rpcgen
+generated-dirs += rpcsvc
 
 ifeq ($(link-obsolete-rpc),yes)
 headers += $(headers-in-tirpc) $(headers-not-in-tirpc)
diff --git a/timezone/Makefile b/timezone/Makefile
index a4ff4fe73c..e308cca3ff 100644
--- a/timezone/Makefile
+++ b/timezone/Makefile
@@ -35,10 +35,10 @@ tzbases := africa antarctica asia australasia europe northamerica \
 tzlinks := backward systemv
 tzfiles := $(tzbases) $(tzlinks)
 
-generated := $(addprefix z.,$(tzfiles))
+generated += $(addprefix z.,$(tzfiles))
 install-sbin := zic zdump
 
-generated-dirs = testdata
+generated-dirs += testdata
 
 CPPFLAGS-zic = -DNOT_IN_libc