f693807fd8
so we also need -lrump after -lrumpuser. Fixes build for sun2.
26 lines
540 B
Makefile
26 lines
540 B
Makefile
# $NetBSD: Makefile,v 1.6 2014/06/10 04:28:39 he Exp $
|
|
#
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
TESTSDIR= ${TESTSBASE}/dev/scsipi
|
|
|
|
TESTS_C= t_cd
|
|
|
|
CPPFLAGS+= -I${.CURDIR}/libscsitest
|
|
|
|
# kernel component required by test
|
|
SUBDIR= libscsitest
|
|
SCSITESTDIR!= cd ${.CURDIR}/libscsitest && ${PRINTOBJDIR}
|
|
LDFLAGS+= -L${SCSITESTDIR}
|
|
LDADD+= -Wl,--whole-archive -lrumpdev_scsitest -Wl,--no-whole-archive
|
|
|
|
LDADD+= -lrumpdev_scsipi -lrumpdev_disk -lrumpdev -lrumpvfs
|
|
LDADD+= -lrump -lutil
|
|
LDADD+= -lrumpuser -lpthread
|
|
LDADD+= -lrump
|
|
|
|
WARNS= 4
|
|
|
|
.include <bsd.test.mk>
|