xref: /minix3/tests/dev/scsipi/Makefile (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1*0a6a1f1dSLionel Sambuc#	$NetBSD: Makefile,v 1.6 2014/06/10 04:28:39 he Exp $
211be35a1SLionel Sambuc#
311be35a1SLionel Sambuc
411be35a1SLionel Sambuc.include <bsd.own.mk>
511be35a1SLionel Sambuc
611be35a1SLionel SambucTESTSDIR=	${TESTSBASE}/dev/scsipi
711be35a1SLionel Sambuc
811be35a1SLionel SambucTESTS_C=	t_cd
911be35a1SLionel Sambuc
10*0a6a1f1dSLionel SambucCPPFLAGS+=	-I${.CURDIR}/libscsitest
11*0a6a1f1dSLionel Sambuc
12*0a6a1f1dSLionel Sambuc# kernel component required by test
13*0a6a1f1dSLionel SambucSUBDIR=	libscsitest
14*0a6a1f1dSLionel SambucSCSITESTDIR!= cd ${.CURDIR}/libscsitest && ${PRINTOBJDIR}
15*0a6a1f1dSLionel SambucLDFLAGS+= -L${SCSITESTDIR}
16*0a6a1f1dSLionel SambucLDADD+=	-Wl,--whole-archive -lrumpdev_scsitest -Wl,--no-whole-archive
17*0a6a1f1dSLionel Sambuc
18*0a6a1f1dSLionel SambucLDADD+= -lrumpdev_scsipi -lrumpdev_disk -lrumpdev -lrumpvfs
1911be35a1SLionel SambucLDADD+=	-lrump -lutil
2011be35a1SLionel SambucLDADD+=	-lrumpuser -lpthread
21*0a6a1f1dSLionel SambucLDADD+= -lrump
2211be35a1SLionel Sambuc
2311be35a1SLionel SambucWARNS=	4
2411be35a1SLionel Sambuc
2511be35a1SLionel Sambuc.include <bsd.test.mk>
26