about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2003-05-03 09:08:37 +0000
committerRoland McGrath <roland@gnu.org>2003-05-03 09:08:37 +0000
commit05d3d580df05c67de32fb3251d5aae94b630a83c (patch)
tree3384009287c9a0c944a62e132fea65cc0dc087fe
parente65a56bb1b6994aeeabc84330ebc3b1027bd74a7 (diff)
downloadglibc-05d3d580df05c67de32fb3251d5aae94b630a83c.tar.gz
glibc-05d3d580df05c67de32fb3251d5aae94b630a83c.tar.xz
glibc-05d3d580df05c67de32fb3251d5aae94b630a83c.zip
* sysdeps/gnu/Makefile (generated): Append errlist-compat.c here, ...
	* stdio-common/Makefile: ... not here.

	* csu/Makefile ($(objpfx)initfini.s): Depend on $(before-compile).
	* sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
-rw-r--r--ChangeLog8
-rw-r--r--csu/Makefile2
-rw-r--r--sysdeps/gnu/Makefile9
3 files changed, 15 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 5652021545..886146885b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2003-05-03  Roland McGrath  <roland@redhat.com>
+
+	* sysdeps/gnu/Makefile (generated): Append errlist-compat.c here, ...
+	* stdio-common/Makefile: ... not here.
+
+	* csu/Makefile ($(objpfx)initfini.s): Depend on $(before-compile).
+	* sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
+
 2003-05-02  Ulrich Drepper  <drepper@redhat.com>
 
 	* sysdeps/unix/sysv/linux/s390/semtimedop.c: New file.
diff --git a/csu/Makefile b/csu/Makefile
index 213f135f71..2559993653 100644
--- a/csu/Makefile
+++ b/csu/Makefile
@@ -106,7 +106,7 @@ CFLAGS-initfini.s = -g0 -fPIC -fno-inline-functions
 
 vpath initfini.c $(full_config_sysdirs)
 
-$(objpfx)initfini.s: initfini.c
+$(objpfx)initfini.s: initfini.c $(before-compile)
 	$(compile.c) -S $(CFLAGS-initfini.s) -finhibit-size-directive \
 		$(patsubst -f%,-fno-%,$(exceptions)) -o $@
 
diff --git a/sysdeps/gnu/Makefile b/sysdeps/gnu/Makefile
index 591b6ce432..8221764537 100644
--- a/sysdeps/gnu/Makefile
+++ b/sysdeps/gnu/Makefile
@@ -1,4 +1,5 @@
-# Copyright (C) 1996,97,98,99,2001,02 Free Software Foundation, Inc.
+# Copyright (C) 1996,1997,1998,1999,2001,2002,2003
+#	Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
 
 # The GNU C Library is free software; you can redistribute it and/or
@@ -34,9 +35,10 @@ ifeq ($(subdir),stdio-common)
 vpath errlist.c $(full_config_sysdirs)
 ifeq ($(versioning),yes)
 $(objpfx)errlist-compat.c: errlist.c $(..)sysdeps/gnu/errlist-compat.awk \
-			   $(common-objpfx)Versions.v.i
+			   $(common-objpfx)Versions.v.i $(before-compile)
 else
-$(objpfx)errlist-compat.c: errlist.c $(..)sysdeps/gnu/errlist-compat.awk
+$(objpfx)errlist-compat.c: errlist.c $(..)sysdeps/gnu/errlist-compat.awk \
+			   $(before-compile)
 endif
 	$(AWK) -v maxerr=`\
 	  $(CC) -S $(CPPFLAGS) $(CFLAGS) -DNOT_IN_libc -DEMIT_ERR_MAX $< -o - \
@@ -47,6 +49,7 @@ endif
 # Make it unwritable so noone will edit it by mistake.
 	-chmod a-w $@T
 	mv -f $@T $@
+generated += errlist-compat.c
 
 # This will force the generation above to happy if need be.
 $(foreach o,.d $(object-suffixes),$(objpfx)errlist$o):$(objpfx)errlist-compat.c