1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-23 11:18:54 +00:00
freebsd/sys/modules/joy/Makefile
1999-08-28 01:08:13 +00:00

23 lines
370 B
Makefile

# $FreeBSD$
.PATH: ${.CURDIR}/../../i386/isa
KMOD = joy
SRCS = joy.c joy.h opt_devfs.h
MAN8 = joy.8
CFLAGS += -DJOY_MODULE
CLEANFILES += joy.h opt_devfs.h
joy.h:
echo "#define NJOY 1" > joy.h
opt_devfs.h:
touch opt_devfs.h
afterinstall:
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
${.CURDIR}/joy.sh ${DESTDIR}/usr/bin/joy
.include <bsd.kmod.mk>