blob: 92b55465c68ef068388c8351ce22ca640d329d43 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# $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>
|