1 # $NetBSD: Makefile,v 1.5 2010/03/01 15:41:15 pooka Exp $ 2 # 3 # 4 # umass. includes scsibus+sd for simplicity due to the umass code 5 # needing compile time knowledge of its presence. fixxxme 6 # 7 8 .PATH: ${.CURDIR}/../../../../dev/usb ${.CURDIR}/../../../../dev/scsipi 9 10 LIB= rumpdev_umass 11 IOCONF= UMASS.ioconf 12 13 .if ${MACHINE} == "i386" 14 SRCS= umass.c umass_isdata.c umass_quirks.c umass_scsipi.c 15 SRCS+= scsipiconf.c scsipi_base.c scsipi_ioctl.c scsi_base.c scsiconf.c 16 SRCS+= atapi_base.c atapiconf.c 17 18 SRCS+= cd.c sd.c 19 20 SRCS+= sd_at_scsibus_at_umass.c 21 .else 22 SRCS= dummy.c 23 .endif 24 25 CPPFLAGS+= -I${.CURDIR}/opt -I${RUMPTOP}/librump/rumpvfs 26 27 .if 1 28 SRCS+= scsipi_verbose.c 29 CPPFLAGS+= -DSCSIVERBOSE 30 .endif 31 32 .include <bsd.lib.mk> 33 .include <bsd.klinks.mk> 34