summaryrefslogtreecommitdiffstats
path: root/sbin/rcorder
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-06-13 17:09:30 +0000
committerobrien <obrien@FreeBSD.org>2002-06-13 17:09:30 +0000
commit7571375fe03e7aa920477162c9ae7fbd1dc14c7c (patch)
tree442d2b7863891f70b8e69c4c0f51545f158e113a /sbin/rcorder
parenta748c142252522c9e5c2e11945e8245cc9871e46 (diff)
downloadFreeBSD-src-7571375fe03e7aa920477162c9ae7fbd1dc14c7c.zip
FreeBSD-src-7571375fe03e7aa920477162c9ae7fbd1dc14c7c.tar.gz
FreeBSDize the NetBSD Makefile so that this compiles.
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 ccac08a..eca1317 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>
OpenPOWER on IntegriCloud