summaryrefslogtreecommitdiff
path: root/Makefile.am
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 /Makefile.am
parent8e8d9ca01fc40a2bb3b96d560f030948d1596d03 (diff)
2006-11-11 Thomas Schwinge <tschwinge@gnu.org>
* Makefile.am (gnumach-undef-bad): Depend on the Makefile.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am
index a80b1615..3fc70758 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