freebsd-skq/sys/modules/joy/Makefile
Bruce Evans a7d87a6714 Don't (re)define ACTUALLY_LKM_NOT_KERNEL. It wasn't even used by the
joy driver proper.

Don't add -I/sys to CFLAGS.  bsd.kmod.mk adds the correct (relative)
path.
1996-06-23 14:52:20 +00:00

18 lines
304 B
Makefile

.PATH: ${.CURDIR}/../../sys/i386/isa
KMOD = joy_mod
SRCS = joy.c joy.h
MAN8 = joy.8
CFLAGS += -I. -DJOY_MODULE
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>