Fix fallout from Joseph's untested Makeconfig change.

This commit is contained in:
Roland McGrath 2014-02-28 13:00:27 -08:00
parent ff71cc373b
commit f08e9a2629
20 changed files with 62 additions and 38 deletions

View File

@ -1,5 +1,21 @@
2014-02-28 Roland McGrath <roland@hack.frob.com> 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 }. * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com> 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>

View File

@ -46,9 +46,9 @@ catgets-CPPFLAGS := -DNLSPATH='"$(msgcatdir)/%L/%N:$(msgcatdir)/%L/LC_MESSAGES/%
CPPFLAGS-gencat = -DNOT_IN_libc CPPFLAGS-gencat = -DNOT_IN_libc
generated = de.msg test1.cat test1.h test2.cat test2.h sample.SJIS.cat \ generated += de.msg test1.cat test1.h test2.cat test2.h sample.SJIS.cat \
test-gencat.h test-gencat.h
generated-dirs = de generated-dirs += de
tst-catgets-ENV = NLSPATH="$(objpfx)%l/%N.cat" LANG=de tst-catgets-ENV = NLSPATH="$(objpfx)%l/%N.cat" LANG=de

View File

@ -39,8 +39,8 @@ omit-deps = $(patsubst %.o,%,$(start-installed-name) g$(start-installed-name) \
b$(start-installed-name) $(csu-dummies) \ b$(start-installed-name) $(csu-dummies) \
S$(start-installed-name)) S$(start-installed-name))
install-lib = $(start-installed-name) g$(start-installed-name) $(csu-dummies) install-lib = $(start-installed-name) g$(start-installed-name) $(csu-dummies)
generated = version-info.h generated += version-info.h
before-compile = $(objpfx)version-info.h before-compile += $(objpfx)version-info.h
tests := tst-empty tst-atomic tst-atomic-long tests := tst-empty tst-atomic tst-atomic-long
tests-static := tst-empty tests-static := tst-empty

View File

@ -166,7 +166,7 @@ install-bin-script = xtrace
ifeq ($(build-shared),yes) ifeq ($(build-shared),yes)
install-bin-script += catchsegv install-bin-script += catchsegv
endif endif
generated = catchsegv xtrace generated += catchsegv xtrace
include ../Rules include ../Rules

View File

@ -60,7 +60,7 @@ tststatic5-ENV = $(tststatic-ENV)
endif endif
extra-test-objs += $(modules-names:=.os) extra-test-objs += $(modules-names:=.os)
generated := $(modules-names:=.so) generated += $(modules-names:=.so)
include ../Rules include ../Rules

View File

@ -55,9 +55,9 @@ routines += unwind-dw2-fde-glibc
shared-only-routines += unwind-dw2-fde-glibc shared-only-routines += unwind-dw2-fde-glibc
endif endif
before-compile = $(objpfx)trusted-dirs.h before-compile += $(objpfx)trusted-dirs.h
generated := trusted-dirs.h trusted-dirs.st for-renamed/renamed.so generated += trusted-dirs.h trusted-dirs.st for-renamed/renamed.so
generated-dirs := for-renamed generated-dirs += for-renamed
ifeq ($(build-shared),yes) ifeq ($(build-shared),yes)
ld-map = $(common-objpfx)ld.map ld-map = $(common-objpfx)ld.map

View File

@ -177,9 +177,9 @@ gen-special-modules := iso8859-7jp
generated-modules := $(gen-8bit-modules) $(gen-8bit-gap-modules) \ generated-modules := $(gen-8bit-modules) $(gen-8bit-gap-modules) \
$(gen-special-modules) $(gen-special-modules)
generated = $(generated-modules:=.h) $(generated-modules:=.stmp) \ generated += $(generated-modules:=.h) $(generated-modules:=.stmp) \
iconv-test.out iconv-rules tst-loading.mtrace \ iconv-test.out iconv-rules tst-loading.mtrace \
mtrace-tst-loading tst-tables.out iconv-test.xxx mmtrace-tst-loading tst-tables.out iconv-test.xxx
ifdef objpfx ifdef objpfx
generated += gconv-modules generated += gconv-modules
endif endif
@ -202,7 +202,7 @@ touch $@
endef endef
# The headers must be generated before the compilation. # 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 ifndef avoid-generated
$(objpfx)iconv-rules: Makefile $(objpfx)iconv-rules: Makefile

View File

@ -34,12 +34,12 @@ test-srcs += $(multithread-test-srcs)
endif endif
tests = tst-ngettext tests = tst-ngettext
before-compile = $(objpfx)msgs.h before-compile += $(objpfx)msgs.h
install-others = $(inst_msgcatdir)/locale.alias install-others = $(inst_msgcatdir)/locale.alias
generated = msgs.h mtrace-tst-gettext tst-gettext.mtrace generated += msgs.h mtrace-tst-gettext tst-gettext.mtrace
generated-dirs := domaindir localedir generated-dirs += domaindir localedir
ifneq (no,$(BISON)) ifneq (no,$(BISON))
plural.c: plural.y plural.c: plural.y

View File

@ -159,7 +159,7 @@ bug-ftell-ENV = LOCPATH=$(common-objpfx)localedata
tst-fgetwc-ENV = LOCPATH=$(common-objpfx)localedata tst-fgetwc-ENV = LOCPATH=$(common-objpfx)localedata
tst-fseek-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 aux := fileops genops stdfiles stdio strops

View File

@ -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> 2014-02-26 Joseph Myers <joseph@codesourcery.com>
* Makefile: Include Makeconfig immediately after defining subdir. * Makefile: Include Makeconfig immediately after defining subdir.

View File

@ -51,9 +51,9 @@ ld-test-srcs := $(addprefix tests/,$(addsuffix .cm,$(ld-test-names)) \
fmon-tests = n01y12 n02n40 n10y31 n11y41 n12y11 n20n32 n30y20 n41n00 \ fmon-tests = n01y12 n02n40 n10y31 n11y41 n12y11 n20n32 n30y20 n41n00 \
y01y10 y02n22 y22n42 y30y21 y32n31 y40y00 y42n21 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 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)) \ $(addprefix tstfmon_,$(fmon-tests)) \
ifeq ($(run-built-tests),yes) ifeq ($(run-built-tests),yes)

View File

@ -53,7 +53,7 @@ CPPFLAGS-memusagestat = -DNOT_IN_libc
# The Perl script to analyze the output of the mtrace functions. # The Perl script to analyze the output of the mtrace functions.
ifneq ($(PERL),no) ifneq ($(PERL),no)
install-bin-script = mtrace install-bin-script = mtrace
generated = mtrace generated += mtrace
# The Perl script will print addresses and to do this nicely we must know # The Perl script will print addresses and to do this nicely we must know
# whether we are on a 32 or 64 bit machine. # whether we are on a 32 or 64 bit machine.

View File

@ -162,8 +162,8 @@ minimal-dist = summary.awk texis.awk tsort.awk libc-texinfo.sh libc.texinfo \
$(patsubst %.c.texi,examples/%.c, $(examples)) $(patsubst %.c.texi,examples/%.c, $(examples))
indices = cp fn pg tp vr ky indices = cp fn pg tp vr ky
generated-dirs := libc generated-dirs += libc
generated = libc.dvi libc.pdf libc.tmp libc.info* \ generated += libc.dvi libc.pdf libc.tmp libc.info* \
stubs \ stubs \
texis summary.texi stamp-summary *.c.texi \ texis summary.texi stamp-summary *.c.texi \
$(foreach index,$(indices),libc.$(index) libc.$(index)s) \ $(foreach index,$(indices),libc.$(index) libc.$(index)s) \

View File

@ -69,7 +69,7 @@ routines := brk sbrk sstk ioctl \
listxattr lgetxattr llistxattr lremovexattr lsetxattr \ listxattr lgetxattr llistxattr lremovexattr lsetxattr \
removexattr setxattr getauxval ifunc-impl-list removexattr setxattr getauxval ifunc-impl-list
generated := tst-error1.mtrace tst-error1-mem generated += tst-error1.mtrace tst-error1-mem
aux := init-misc aux := init-misc
install-lib := libg.a install-lib := libg.a

View File

@ -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> 2014-02-26 Joseph Myers <joseph@codesourcery.com>
* Makefile: Include Makeconfig immediately after defining subdir. * Makefile: Include Makeconfig immediately after defining subdir.

View File

@ -338,7 +338,7 @@ $(objpfx)multidir.mk: $(common-objpfx)config.make
crti-objs := crti.o crti-objs := crti.o
crtn-objs := crtn.o crtn-objs := crtn.o
ifneq (,$(patsubst .,,$(multidir))) ifneq (,$(patsubst .,,$(multidir)))
generated-dirs := $(firstword $(subst /, , $(multidir))) generated-dirs += $(firstword $(subst /, , $(multidir)))
crti-objs += $(multidir)/crti.o crti-objs += $(multidir)/crti.o
crtn-objs += $(multidir)/crtn.o crtn-objs += $(multidir)/crtn.o
$(objpfx)$(multidir): $(objpfx)$(multidir):

View File

@ -101,7 +101,7 @@ install-others-programs := $(inst_libexecdir)/getconf
before-compile := testcases.h ptestcases.h before-compile := testcases.h ptestcases.h
# So they get cleaned up. # 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 \ annexc annexc.out wordexp-tst.out bug-regex2-mem \
bug-regex2.mtrace bug-regex14-mem bug-regex14.mtrace \ bug-regex2.mtrace bug-regex14-mem bug-regex14.mtrace \
bug-regex21-mem bug-regex21.mtrace \ bug-regex21-mem bug-regex21.mtrace \

View File

@ -64,7 +64,7 @@ ifeq (yesyes,$(build-shared)$(have-thread-library))
tests: $(objpfx)ga_test tests: $(objpfx)ga_test
endif endif
generated := mtrace-tst-leaks tst-leaks.mtrace \ generated += mtrace-tst-leaks tst-leaks.mtrace \
mtrace-tst-leaks2 tst-leaks2.mtrace mtrace-tst-leaks2 tst-leaks2.mtrace
include ../Rules include ../Rules

View File

@ -56,9 +56,9 @@ headers-not-in-tirpc = $(addprefix rpc/,key_prot.h rpc_des.h) \
$(rpcsvc:%=rpcsvc/%) rpcsvc/bootparam.h $(rpcsvc:%=rpcsvc/%) rpcsvc/bootparam.h
headers = rpc/netdb.h headers = rpc/netdb.h
install-others = $(inst_sysconfdir)/rpc install-others = $(inst_sysconfdir)/rpc
generated = $(rpcsvc:%.x=rpcsvc/%.h) $(rpcsvc:%.x=x%.c) $(rpcsvc:%.x=x%.stmp) \ generated += $(rpcsvc:%.x=rpcsvc/%.h) $(rpcsvc:%.x=x%.c) $(rpcsvc:%.x=x%.stmp) \
$(rpcsvc:%.x=rpcsvc/%.stmp) rpcgen $(rpcsvc:%.x=rpcsvc/%.stmp) rpcgen
generated-dirs := rpcsvc generated-dirs += rpcsvc
ifeq ($(link-obsolete-rpc),yes) ifeq ($(link-obsolete-rpc),yes)
headers += $(headers-in-tirpc) $(headers-not-in-tirpc) headers += $(headers-in-tirpc) $(headers-not-in-tirpc)

View File

@ -35,10 +35,10 @@ tzbases := africa antarctica asia australasia europe northamerica \
tzlinks := backward systemv tzlinks := backward systemv
tzfiles := $(tzbases) $(tzlinks) tzfiles := $(tzbases) $(tzlinks)
generated := $(addprefix z.,$(tzfiles)) generated += $(addprefix z.,$(tzfiles))
install-sbin := zic zdump install-sbin := zic zdump
generated-dirs = testdata generated-dirs += testdata
CPPFLAGS-zic = -DNOT_IN_libc CPPFLAGS-zic = -DNOT_IN_libc