Home | History | Annotate | Line # | Download | only in libumass
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 
     10 LIB=	rumpdev_umass
     11 IOCONFIG= 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 CFLAGS+=	-Wno-pointer-sign
     26 CPPFLAGS+=	-I${.CURDIR}/opt -I${RUMPTOP}/librump/rumpvfs
     27 
     28 .include <bsd.lib.mk>
     29 .include <bsd.klinks.mk>
     30