Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
* Makerules (version-renames.def): Target removed.
	(Versions.all): Depend on soversions.i directly and parse it.
  • Loading branch information
Roland McGrath committed Mar 19, 2000
1 parent ba7e89e commit 3c13253
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
3 changes: 3 additions & 0 deletions ChangeLog
@@ -1,5 +1,8 @@
2000-03-19 Roland McGrath <roland@baalperazim.frob.com>

* Makerules (version-renames.def): Target removed.
(Versions.all): Depend on soversions.i directly and parse it.

* 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.
Expand Down
13 changes: 6 additions & 7 deletions Makerules
Expand Up @@ -290,16 +290,15 @@ 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 \
$(common-objpfx)soversions.i \
$(..)Versions.def \
$(wildcard $(add-ons:%=$(..)%/Versions.def))
cat $(filter-out $<,$^) | LC_ALL=C $(AWK) -f $< > $@T
{ while read lib version setname; do \
test -z "$$setname" || echo "$$lib : $$setname"; \
done < $(word 2,$^); \
cat $(filter-out $< $(word 2,$^),$^); \
} | LC_ALL=C $(AWK) -f $< > $@T
mv -f $@T $@
$(common-objpfx)sysd-versions: $(common-objpfx)Versions.all \
$(..)scripts/versions.awk \
Expand Down

0 comments on commit 3c13253

Please sign in to comment.