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