summaryrefslogtreecommitdiffstats
path: root/sys/modules/joy/Makefile
blob: c466c60b5105d34b8589f84bd89b0bad79778574 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#	$Id$

.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>
OpenPOWER on IntegriCloud