From 6b15ddc41310cc300af12b12f25c4f0bccca6aca Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 17 Aug 2001 07:31:44 +0000 Subject: 2001-08-17 Roland McGrath * Makefile.in (clib-routines): Add strchr. (kernel-undef-bad): Depend on Makefile. * Makefile.in ($(srcdir)/configure, $(srcdir)/config.h.in): Use $(srcdir) in deps. (Makefile, config.h, config.status): Likewise. --- Makefile.in | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/Makefile.in b/Makefile.in index 54cb9cd..21abf57 100644 --- a/Makefile.in +++ b/Makefile.in @@ -297,7 +297,7 @@ check: # This is the list of routines we decide is OK to steal from the C library. clib-routines := memcpy memmove memset bcopy bzero \ - strstr \ + strchr strstr \ htonl htons ntohl ntohs \ etext edata end # actually ld magic, not libc @@ -308,7 +308,7 @@ kernel.o: $(objfiles) # kernel.a $(LD) -r -o $@ $^ kernel-undef: kernel.o $(NM) -u $< | sed 's/^_*//' | sort -u > $@ -kernel-undef-bad: kernel-undef +kernel-undef-bad: kernel-undef Makefile sed '$(foreach r,$(clib-routines),/^$r$$/d;)' $< > $@ clib-routines.o: kernel-undef kernel-undef-bad if test -s kernel-undef-bad; \ @@ -393,13 +393,19 @@ dist: # # Autoconf support # -$(srcdir)/configure: configure.in +$(srcdir)/configure: $(srcdir)/configure.in cd $(srcdir) && autoconf +$(srcdir)/config.h.in: $(srcdir)/acconfig.h + cd $(srcdir) && autoheader -Makefile: Makefile.in config.status +Makefile: $(srcdir)/Makefile.in config.status ./config.status +config.h: stamp-configh ; +stamp-configh: $(srcdir)/config.h.in config.status + ./config.status + touch $@ -config.status: configure +config.status: $(srcdir)/configure ./config.status --recheck vpath %.in $(srcdir) -- cgit v1.2.3