diff options
author | Roland McGrath <roland@hack.frob.com> | 2014-03-14 11:39:56 -0700 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2014-03-14 11:39:56 -0700 |
commit | 22dbc19dbb703bfeef8ef587fc4329aae8704a8e (patch) | |
tree | 6c2b96926d516e34be7d22d65920b8f48b745550 /Makerules | |
parent | Compile with -Wundef. (diff) | |
download | glibc-22dbc19dbb703bfeef8ef587fc4329aae8704a8e.tar.gz glibc-22dbc19dbb703bfeef8ef587fc4329aae8704a8e.tar.bz2 glibc-22dbc19dbb703bfeef8ef587fc4329aae8704a8e.zip |
Get rid of Versions.def source file
Diffstat (limited to 'Makerules')
-rw-r--r-- | Makerules | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -288,19 +288,22 @@ ifeq ($(build-shared),yes) $(addprefix $(common-objpfx),$(version-maps)): $(common-objpfx)sysd-versions common-generated += $(version-maps) postclean-generated += sysd-versions Versions.all abi-versions.h \ - Versions.def.v.i Versions.def.v Versions.v.i Versions.v + Versions.def Versions.v.i Versions.v ifndef avoid-generated ifneq ($(sysd-versions-subdirs),$(sorted-subdirs) $(config-sysdirs)) sysd-versions-force = FORCE FORCE: endif -# See %.v/%.v.i implicit rules in Makeconfig. -$(common-objpfx)Versions.def.v.i: $(..)Versions.def \ - $(wildcard $(add-ons:%=$(..)%/Versions.def)) + +$(common-objpfx)Versions.def: $(..)scripts/versionlist.awk \ + $(common-objpfx)Versions.v + LC_ALL=C $(AWK) -f $^ > $@T + mv -f $@T $@ + $(common-objpfx)Versions.all: $(..)scripts/firstversions.awk \ $(common-objpfx)soversions.i \ - $(common-objpfx)Versions.def.v + $(common-objpfx)Versions.def { while read which lib version setname; do \ test x"$$which" = xDEFAULT || continue; \ test -z "$$setname" || echo "$$lib : $$setname"; \ |