]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - rump/modautoload/Makefile
Update ^/vendor/NetBSD/tests/dist to a more recent snapshot
[FreeBSD/FreeBSD.git] / rump / modautoload / Makefile
1 #       $NetBSD: Makefile,v 1.3 2015/12/27 06:36:36 pgoyette Exp $
2 #
3
4 TESTSDIR=       ${TESTSBASE}/rump/modautoload
5
6 TESTS_C=        t_modautoload
7
8 SRCS.t_modautoload+=    t_modautoload.c
9
10 # Note: we link the rump kernel into the application to make this work
11 # on amd64.  This is the reason we keep this test in its own
12 # subdirectory -- otherwise the LDADD lines would get a little hairy.
13 LDFLAGS+=       -Wl,-E
14 LDADD+=         -Wl,--whole-archive     ${DESTDIR}/usr/lib/librumpvfs.a \
15                                         ${DESTDIR}/usr/lib/librump.a    \
16                 -Wl,--no-whole-archive
17 LDADD+=         -lrumpuser -lpthread
18
19 WARNS=  4
20
21 # To include a rump version of sysctlbyname()
22
23 .PATH:          ${NETBSDSRCDIR}/lib/libc/gen
24 SRCS.t_modautoload+=            sysctlbyname.c
25 SRCS.t_modautoload+=            sysctlgetmibinfo.c
26 CPPFLAGS+=      -DRUMP_ACTION
27
28 .include <bsd.test.mk>