30 lines
591 B
Makefile
30 lines
591 B
Makefile
|
# $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>
|