summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@gnu.org>2006-11-11 17:28:05 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-06-18 00:26:55 +0200
commit405015d2d717999fb9ef543f304a42a5435a67c1 (patch)
treeb39a2adadec86d61774d13e5f083750b2afc2827
parent8e8d9ca01fc40a2bb3b96d560f030948d1596d03 (diff)
2006-11-11 Thomas Schwinge <tschwinge@gnu.org>
* Makefile.am (gnumach-undef-bad): Depend on the Makefile.
-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