c3c39363af
Submitted by: Guy Helmer <ghelmer@scl.ameslab.gov>
30 lines
617 B
Makefile
30 lines
617 B
Makefile
# $FreeBSD$
|
|
|
|
MAINTAINER = n_hibma@freebsd.org
|
|
SOURCE = ${.CURDIR}/../../dev/usb
|
|
|
|
.PATH: ${SOURCE}
|
|
KMOD = umass_mod
|
|
SRCS = bus_if.h device_if.h vnode_if.h \
|
|
opt_usb.h opt_cam.h opt_scsi.h \
|
|
umass.c
|
|
NOMAN =
|
|
CFLAGS += -g -O
|
|
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
|
|
opt_scsi.h:
|
|
echo '#define SCSI_DELAY 15000' > opt_scsi.h
|
|
opt_cam.h:
|
|
echo > opt_cam.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>
|