minix/tests/rump/modautoload/Makefile

25 lines
610 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.1 2010/06/09 12:35:45 pooka Exp $
#
TESTSDIR= ${TESTSBASE}/rump/modautoload
TESTS_C= t_modautoload
.include <bsd.own.mk>
.ifdef RUMPKMOD
CPPFLAGS+= -DHAVE_HOST_MODULES
.endif
# Note: we link the rump kernel into the application to make this work
# on amd64. This is the reason we keep this test in its own
# subdirectory -- otherwise the LDADD lines would get a little hairy.
LDFLAGS+= -Wl,-E
LDADD+= -Wl,--whole-archive ${DESTDIR}/usr/lib/librumpvfs.a \
${DESTDIR}/usr/lib/librump.a \
-Wl,--no-whole-archive
LDADD+= -lrumpuser -lpthread
WARNS= 4
.include <bsd.test.mk>