diff options
author | Roland McGrath <roland@gnu.org> | 2000-03-19 23:33:48 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2000-03-19 23:33:48 +0000 |
commit | ba7e89ec3321d67584eea5857853309846a73806 (patch) | |
tree | 3e3376be6e9adf8680fc47b24878d39a971b6a77 /Makerules | |
parent | 6b3c3a3525b6571c546a8a9aad8f3a53a055dc2a (diff) | |
download | glibc-ba7e89ec3321d67584eea5857853309846a73806.zip glibc-ba7e89ec3321d67584eea5857853309846a73806.tar.gz glibc-ba7e89ec3321d67584eea5857853309846a73806.tar.bz2 |
* Makeconfig (soversions.i): New target, input-reading parts of
soversions.mk generation moved here; result is a canonicalized
list "LIB VERSION [SET]" for this configuration.
(soversions.mk): Use that as input. Don't emit map-firstversions.
* Makerules (version-renames.def): New target, generated from
soversions.i with contents that was in $(map-firstversions).
(Versions.all): Don't depend on soversions.mk, depend on
version-renames.def instead; just cat it into the input.
Diffstat (limited to 'Makerules')
-rw-r--r-- | Makerules | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -290,13 +290,16 @@ ifneq ($(sysd-versions-subdirs),$(all-subdirs) $(config-sysdirs)) sysd-versions-force = FORCE FORCE: endif +$(common-objpfx)version-renames.def: $(common-objpfx)soversions.i + while read lib version setname; do \ + test -z "$$setname" || echo "$$lib : $$setname"; \ + done < $< > $@T; exit 0 + mv -f $@T $@ $(common-objpfx)Versions.all: $(..)scripts/firstversions.awk \ + $(common-objpfx)version-renames.def \ $(..)Versions.def \ - $(wildcard $(add-ons:%=$(..)%/Versions.def)) \ - $(common-objpfx)soversions.mk - { $(foreach map,$(map-firstversions),echo '$(subst :, : ,$(map))';) \ - cat $(filter-out $< $(common-objpfx)soversions.mk,$^); \ - } | LC_ALL=C $(AWK) -f $< > $@T + $(wildcard $(add-ons:%=$(..)%/Versions.def)) + cat $(filter-out $<,$^) | LC_ALL=C $(AWK) -f $< > $@T mv -f $@T $@ $(common-objpfx)sysd-versions: $(common-objpfx)Versions.all \ $(..)scripts/versions.awk \ |