aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2000-11-25 13:59:49 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2000-11-25 13:59:49 +0000
commit3726c08892028182fa51060dbcc0e5e92d071460 (patch)
tree28b9384276e31569a61bc8a4cef9272a44ad9ba2 /gnu
parent5ce16708c7f3c00a0e5bf245091462f71f469561 (diff)
Notes
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/binutils/gdb/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/usr.bin/binutils/gdb/Makefile b/gnu/usr.bin/binutils/gdb/Makefile
index 8316369bcc0bf..aaa4c495ebfb1 100644
--- a/gnu/usr.bin/binutils/gdb/Makefile
+++ b/gnu/usr.bin/binutils/gdb/Makefile
@@ -27,6 +27,7 @@ XSRCS= annotate.c ax-general.c ax-gdb.c bcache.c blockframe.c \
typeprint.c utils.c valarith.c valops.c valprint.c values.c \
version.c serial.c ser-unix.c ser-tcp.c
SRCS= init.c ${XSRCS}
+SRCS+= wait.h
.if exists(${.CURDIR}/Makefile.${MACHINE_ARCH})
.include "${.CURDIR}/Makefile.${MACHINE_ARCH}"
@@ -64,7 +65,7 @@ CFLAGS+= -DNO_MMALLOC
#CFLAGS+= -g
YFLAGS=
-CLEANFILES= init.c init.c-tmp
+CLEANFILES= init.c init.c-tmp wait.h
# We do this by grepping through sources. If that turns out to be too slow,
# maybe we could just require every .o file to have an initialization routine
@@ -108,4 +109,7 @@ init.c: ${XSRCS}
.PRECIOUS: init.c
+wait.h:
+ ln -sf ${.CURDIR}/../../../../sys/sys/wait.h ${.TARGET}
+
.include <bsd.prog.mk>