From 2a9dee3a68052833a83373266ea1447a3e7ba90d Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Thu, 13 Jun 2002 17:09:30 +0000 Subject: [PATCH] FreeBSDize the NetBSD Makefile so that this compiles. --- sbin/rcorder/Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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