freebsd-dev/sys/modules/umass/Makefile

30 lines
606 B
Makefile
Raw Normal View History

# $FreeBSD$
MAINTAINER = n_hibma@freebsd.org
SOURCE = ../../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>