aboutsummaryrefslogtreecommitdiff
path: root/sbin/rcorder
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2002-06-13 17:09:30 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2002-06-13 17:09:30 +0000
commit2a9dee3a68052833a83373266ea1447a3e7ba90d (patch)
tree442d2b7863891f70b8e69c4c0f51545f158e113a /sbin/rcorder
parent0a5f3ef41099551283ddc027c5186203389711f6 (diff)
downloadsrc-2a9dee3a68052833a83373266ea1447a3e7ba90d.tar.gz
src-2a9dee3a68052833a83373266ea1447a3e7ba90d.zip
FreeBSDize the NetBSD Makefile so that this compiles.
Notes
Notes: svn path=/head/; revision=98173
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>