Makefile revision 1.5
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
10LIB=	rumpdev_umass
11IOCONF=	UMASS.ioconf
12
13.if ${MACHINE} == "i386"
14SRCS=	umass.c umass_isdata.c umass_quirks.c umass_scsipi.c
15SRCS+=	scsipiconf.c scsipi_base.c scsipi_ioctl.c scsi_base.c scsiconf.c
16SRCS+=	atapi_base.c atapiconf.c
17
18SRCS+=	cd.c sd.c
19
20SRCS+=	sd_at_scsibus_at_umass.c
21.else
22SRCS=	dummy.c
23.endif
24
25CPPFLAGS+=	-I${.CURDIR}/opt -I${RUMPTOP}/librump/rumpvfs
26
27.if 1
28SRCS+=		scsipi_verbose.c
29CPPFLAGS+=	-DSCSIVERBOSE
30.endif
31
32.include <bsd.lib.mk>
33.include <bsd.klinks.mk>
34