mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-26 13:05:18 +01:00
18 lines
337 B
Makefile
18 lines
337 B
Makefile
|
.PATH: ${.CURDIR}/../../sys/i386/isa
|
||
|
KMOD = joy_mod
|
||
|
SRCS = joy.c joy.h
|
||
|
MAN8 = joy.8
|
||
|
|
||
|
CFLAGS += -I. -I/sys -DJOY_MODULE -DACTUALLY_LKM_NOT_KERNEL
|
||
|
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>
|