Makefile revision 1.2
1#	$NetBSD: Makefile,v 1.2 2010/02/12 12:07:12 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
11IOCONFIG= 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
25CFLAGS+=	-Wno-pointer-sign
26CPPFLAGS+=	-I${.CURDIR}/opt -I${RUMPTOP}/librump/rumpvfs
27
28.include <bsd.lib.mk>
29.include <bsd.klinks.mk>
30