1997-01-14 07:20:47 +00:00
|
|
|
# $FreeBSD$
|
1996-09-22 21:56:57 +00:00
|
|
|
|
1996-03-16 01:35:48 +00:00
|
|
|
.PATH: ${.CURDIR}/../../sys/i386/isa
|
|
|
|
KMOD = joy_mod
|
|
|
|
SRCS = joy.c joy.h
|
|
|
|
MAN8 = joy.8
|
|
|
|
|
1996-06-23 14:52:20 +00:00
|
|
|
CFLAGS += -I. -DJOY_MODULE
|
1996-03-16 01:35:48 +00:00
|
|
|
CLEANFILES += joy.h
|
|
|
|
|
|
|
|
joy.h:
|
|
|
|
echo "#define NJOY 1" > joy.h
|
|
|
|
|
|
|
|
|
|
|
|
afterinstall:
|
|
|
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
|
|
|
|
${.CURDIR}/joy ${DESTDIR}/usr/bin
|
|
|
|
|
|
|
|
.include <bsd.kmod.mk>
|