| @@ -1,22 +1,22 @@ | | | @@ -1,22 +1,22 @@ |
1 | # $NetBSD: Makefile,v 1.7 2016/09/10 11:04:24 christos Exp $ | | 1 | # $NetBSD: Makefile,v 1.8 2016/10/14 16:02:35 christos Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | .include <bsd.init.mk> | | 4 | .include <bsd.init.mk> |
5 | | | 5 | |
6 | TESTSDIR= ${TESTSBASE}/rump/modautoload | | 6 | TESTSDIR= ${TESTSBASE}/rump/modautoload |
7 | | | 7 | |
8 | TESTS_C= t_modautoload | | 8 | TESTS_C= t_modautoload |
9 | PAXCTL_FLAGS= +m | | 9 | PAXCTL_FLAGS= +ma |
10 | | | 10 | |
11 | SRCS.t_modautoload+= t_modautoload.c | | 11 | SRCS.t_modautoload+= t_modautoload.c |
12 | | | 12 | |
13 | # Note: we link the rump kernel into the application to make this work | | 13 | # Note: we link the rump kernel into the application to make this work |
14 | # on amd64. This is the reason we keep this test in its own | | 14 | # on amd64. This is the reason we keep this test in its own |
15 | # subdirectory -- otherwise the LDADD lines would get a little hairy. | | 15 | # subdirectory -- otherwise the LDADD lines would get a little hairy. |
16 | LDFLAGS+= -Wl,-E | | 16 | LDFLAGS+= -Wl,-E |
17 | LDADD+= -Wl,--whole-archive ${DESTDIR}/usr/lib/librumpvfs.a \ | | 17 | LDADD+= -Wl,--whole-archive ${DESTDIR}/usr/lib/librumpvfs.a \ |
18 | ${DESTDIR}/usr/lib/librump.a \ | | 18 | ${DESTDIR}/usr/lib/librump.a \ |
19 | -Wl,--no-whole-archive | | 19 | -Wl,--no-whole-archive |
20 | LDADD+= -lrumpuser -lpthread | | 20 | LDADD+= -lrumpuser -lpthread |
21 | DPADD+= ${LIBRUMPVFS} ${LIBRUMP} ${LIBRUMPUSER} | | 21 | DPADD+= ${LIBRUMPVFS} ${LIBRUMP} ${LIBRUMPUSER} |
22 | | | 22 | |