summaryrefslogtreecommitdiffstats
path: root/sys/modules/ukbd/Makefile
blob: cc1fbb055afe4eb6a32d4df4d2fe8eaa3bf36687 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#       $FreeBSD$ 

MAINTAINER	 = n_hibma@freebsd.org
SOURCE		 = ../../dev/usb

.PATH:  ${SOURCE}
KMOD		 = ukbd_mod
SRCS		 = bus_if.h device_if.h vnode_if.h \
		   opt_usb.h ukbd.h opt_kbd.h \
		   ukbd.c
NOMAN		 =
CFLAGS		+= -g -O
CLEANFILES	+= bus_if.h device_if.h vnode_if.h \
		   opt_usb.h ukbd.h opt_ukbd.h \
		   vnode_if.c

opt_usb.h:
	echo > opt_usb.h
ukbd.h:
	echo > ukbd.h
opt_kbd.h:
	echo '#define KBD_INSTALL_CDEV 1' > opt_kbd.h

bus_if.h:
	perl5 ${KERN}/makedevops.pl -h ${KERN}/bus_if.m
device_if.h:
	perl5 ${KERN}/makedevops.pl -h ${KERN}/device_if.m

.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud