aboutsummaryrefslogtreecommitdiff
path: root/sbin/rcorder
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/rcorder')
-rw-r--r--sbin/rcorder/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/sbin/rcorder/Makefile b/sbin/rcorder/Makefile
index ccac08a39b14..eca13173f4a0 100644
--- a/sbin/rcorder/Makefile
+++ b/sbin/rcorder/Makefile
@@ -1,4 +1,5 @@
# $NetBSD: Makefile,v 1.1 1999/11/23 05:28:20 mrg Exp $
+# $FreeBSD$
PROG= rcorder
SRCS= ealloc.c hash.c rcorder.c
@@ -7,7 +8,14 @@ MAN= rcorder.8
LDADD+= -lutil
DPADD+= ${LIBUTIL}
+WARNS= 0
# XXX hack for make's hash.[ch]
-CPPFLAGS+= -DORDER
+CFLAGS+= -DORDER -I${.CURDIR}/../../usr.bin/make -I.
+
+SRCS+= util.h
+CLEANFILES+= util.h
+
+util.h:
+ ln -sf ${.CURDIR}/../../lib/libutil/libutil.h ${.TARGET}
.include <bsd.prog.mk>