1999-10-07 21:23:08 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
MAINTAINER = n_hibma@freebsd.org
|
1999-10-08 07:41:17 +00:00
|
|
|
SOURCE = ${.CURDIR}/../../dev/usb
|
1999-10-07 21:23:08 +00:00
|
|
|
|
|
|
|
.PATH: ${SOURCE}
|
1999-11-17 22:47:11 +00:00
|
|
|
KMOD = umass
|
1999-10-07 21:23:08 +00:00
|
|
|
SRCS = bus_if.h device_if.h vnode_if.h \
|
|
|
|
opt_usb.h opt_cam.h opt_scsi.h \
|
|
|
|
umass.c
|
|
|
|
NOMAN =
|
1999-11-17 01:40:24 +00:00
|
|
|
#CFLAGS += -g
|
|
|
|
CFLAGS = -g
|
1999-10-07 21:23:08 +00:00
|
|
|
CLEANFILES += bus_if.h device_if.h vnode_if.h \
|
|
|
|
opt_usb.h opt_cam.h opt_scsi.h \
|
|
|
|
vnode_if.c
|
|
|
|
|
|
|
|
opt_usb.h:
|
|
|
|
echo > opt_usb.h
|
1999-11-17 01:40:24 +00:00
|
|
|
# echo '#define UMASS_DEBUG 1' >> opt_usb.h
|
1999-10-07 21:23:08 +00:00
|
|
|
opt_scsi.h:
|
|
|
|
echo '#define SCSI_DELAY 15000' > opt_scsi.h
|
|
|
|
opt_cam.h:
|
|
|
|
echo > opt_cam.h
|
|
|
|
|
|
|
|
bus_if.h:
|
1999-10-08 14:29:12 +00:00
|
|
|
perl ${KERN}/makedevops.pl -h ${KERN}/bus_if.m
|
1999-10-07 21:23:08 +00:00
|
|
|
device_if.h:
|
1999-10-08 14:29:12 +00:00
|
|
|
perl ${KERN}/makedevops.pl -h ${KERN}/device_if.m
|
1999-10-07 21:23:08 +00:00
|
|
|
|
|
|
|
.include <bsd.kmod.mk>
|