summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--Makefile.am8
2 files changed, 8 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 76377b6..41457b4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2006-11-11 Thomas Schwinge <tschwinge@gnu.org>
+
+ * Makefile.am (gnumach-undef-bad): Depend on the Makefile.
+
2006-11-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
Fix I/O port type.
diff --git a/Makefile.am b/Makefile.am
index a80b161..3fc7075 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -118,14 +118,14 @@ noinst_PROGRAMS += \
gnumach.o
# This is the list of routines we decide is OK to steal from the C library.
-clib_routines := memcpy memmove memset bcopy bzero \
- strchr strstr strsep strpbrk strtok \
- htonl htons ntohl ntohs \
+clib_routines := memcpy memmove memset bcopy bzero \
+ strchr strstr strsep strpbrk strtok \
+ htonl htons ntohl ntohs \
etext edata end # actually ld magic, not libc.
gnumach-undef: gnumach.$(OBJEXT)
$(NM) -u $< | sed 's/ *U *//;s/^_*//' | sort -u > $@
MOSTLYCLEANFILES += gnumach-undef
-gnumach-undef-bad: gnumach-undef
+gnumach-undef-bad: gnumach-undef Makefile
sed '$(foreach r,$(clib_routines),/^$r$$/d;)' $< > $@
MOSTLYCLEANFILES += gnumach-undef-bad
clib-routines.o: gnumach-undef gnumach-undef-bad