summary refs log tree commit diff
path: root/Makerules
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-11-13 14:06:33 +0000
committerUlrich Drepper <drepper@redhat.com>1998-11-13 14:06:33 +0000
commit99c9e773eef31c98cbdd6ea06f5833895d3fa61d (patch)
tree4249246e0d8334e0d242ca210854388f229a4ff9 /Makerules
parent93d63a591cf0bb7e2294d081e1fce517f8e96dc0 (diff)
downloadglibc-99c9e773eef31c98cbdd6ea06f5833895d3fa61d.tar.gz
glibc-99c9e773eef31c98cbdd6ea06f5833895d3fa61d.tar.xz
glibc-99c9e773eef31c98cbdd6ea06f5833895d3fa61d.zip
Update.
1998-11-13  Ulrich Drepper  <drepper@cygnus.com>

	* Makerules (Versions.all): Generate this file from all Versions.def
	files.
	(sysd-versions): Use Versions.all instead of Versions.def.
Diffstat (limited to 'Makerules')
-rw-r--r--Makerules8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makerules b/Makerules
index 3bb46172a8..c18a5692cb 100644
--- a/Makerules
+++ b/Makerules
@@ -276,7 +276,13 @@ ifneq ($(sysd-versions-subdirs),$(all-subdirs) $(config-sysdirs))
 sysd-versions-force = FORCE
 FORCE:
 endif
-$(common-objpfx)sysd-versions: $(..)Versions.def $(..)scripts/versions.awk \
+$(common-objpfx)Versions.all: $(..)Versions.def \
+			      $(wildcard $(add-ons:%=$(..)%/Versions.def))
+	cat $^ > $@T
+	mv -f $@T $@
+common-generated += $(common-objpfx)Versions.all
+$(common-objpfx)sysd-versions: $(common-objpfx)Versions.all \
+			       $(..)scripts/versions.awk \
 			       $(wildcard $(all-subdirs:%=$(..)%/Versions)) \
 			       $(wildcard $(sysdirs:%=%/Versions)) \
 			       $(sysd-versions-force)