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>
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
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
ifeq ($(build-shared),yes)
install-bin-script += catchsegv
endif
-generated = catchsegv xtrace
+generated += catchsegv xtrace
include ../Rules
endif
extra-test-objs += $(modules-names:=.os)
-generated := $(modules-names:=.so)
+generated += $(modules-names:=.so)
include ../Rules
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
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
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
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
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
+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.
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)
# 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.
$(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
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
+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.
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):
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 \
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
$(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)
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