xref: /minix3/tests/lib/libc/sys/Makefile (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1*0a6a1f1dSLionel Sambuc# $NetBSD: Makefile,v 1.39 2015/06/22 00:05:23 matt Exp $
211be35a1SLionel Sambuc
311be35a1SLionel SambucMKMAN=	no
411be35a1SLionel Sambuc
511be35a1SLionel Sambuc.include <bsd.own.mk>
611be35a1SLionel Sambuc
711be35a1SLionel Sambuc.include "../arch/Makefile.exec_prot"
811be35a1SLionel Sambuc
911be35a1SLionel SambucTESTSDIR=		${TESTSBASE}/lib/libc/sys
1011be35a1SLionel Sambuc
1111be35a1SLionel SambucTESTS_C+=		t_access
12*0a6a1f1dSLionel SambucTESTS_C+=		t_bind
1311be35a1SLionel SambucTESTS_C+=		t_chroot
1411be35a1SLionel SambucTESTS_C+=		t_clock_gettime
1511be35a1SLionel SambucTESTS_C+=		t_clone
1611be35a1SLionel SambucTESTS_C+=		t_connect
1711be35a1SLionel SambucTESTS_C+=		t_dup
1811be35a1SLionel SambucTESTS_C+=		t_fsync
1911be35a1SLionel SambucTESTS_C+=		t_getcontext
2011be35a1SLionel SambucTESTS_C+=		t_getgroups
2111be35a1SLionel SambucTESTS_C+=		t_getitimer
2211be35a1SLionel SambucTESTS_C+=		t_getlogin
2311be35a1SLionel SambucTESTS_C+=		t_getpid
2411be35a1SLionel SambucTESTS_C+=		t_getrusage
2511be35a1SLionel SambucTESTS_C+=		t_getsid
2611be35a1SLionel SambucTESTS_C+=		t_gettimeofday
2711be35a1SLionel SambucTESTS_C+=		t_issetugid
2811be35a1SLionel SambucTESTS_C+=		t_kevent
2911be35a1SLionel SambucTESTS_C+=		t_kill
3011be35a1SLionel SambucTESTS_C+=		t_link
3111be35a1SLionel SambucTESTS_C+=		t_listen
3211be35a1SLionel SambucTESTS_C+=		t_lwp_ctl
3311be35a1SLionel SambucTESTS_C+=		t_lwp_create
34*0a6a1f1dSLionel SambucTESTS_C+=		t_minherit
3511be35a1SLionel SambucTESTS_C+=		t_mincore
3611be35a1SLionel SambucTESTS_C+=		t_mkdir
3711be35a1SLionel SambucTESTS_C+=		t_mkfifo
3811be35a1SLionel SambucTESTS_C+=		t_mknod
3911be35a1SLionel SambucTESTS_C+=		t_mlock
4011be35a1SLionel SambucTESTS_C+=		t_mmap
4111be35a1SLionel SambucTESTS_C+=		t_mprotect
4211be35a1SLionel SambucTESTS_C+=		t_msgctl
4311be35a1SLionel SambucTESTS_C+=		t_msgget
4411be35a1SLionel SambucTESTS_C+=		t_msgrcv
4511be35a1SLionel SambucTESTS_C+=		t_msgsnd
4611be35a1SLionel SambucTESTS_C+=		t_msync
4711be35a1SLionel SambucTESTS_C+=		t_nanosleep
4811be35a1SLionel SambucTESTS_C+=		t_pipe
4911be35a1SLionel SambucTESTS_C+=		t_pipe2
5011be35a1SLionel SambucTESTS_C+=		t_poll
51*0a6a1f1dSLionel SambucTESTS_C+=		t_posix_fallocate
5211be35a1SLionel SambucTESTS_C+=		t_recvmmsg
5311be35a1SLionel SambucTESTS_C+=		t_revoke
5411be35a1SLionel SambucTESTS_C+=		t_select
5511be35a1SLionel SambucTESTS_C+=		t_setrlimit
5611be35a1SLionel SambucTESTS_C+=		t_setuid
5711be35a1SLionel SambucTESTS_C+=		t_sigaction
5811be35a1SLionel SambucTESTS_C+=		t_sigqueue
5911be35a1SLionel SambucTESTS_C+=		t_sigtimedwait
6011be35a1SLionel SambucTESTS_C+=		t_socketpair
6111be35a1SLionel SambucTESTS_C+=		t_swapcontext
6211be35a1SLionel SambucTESTS_C+=		t_stat
6311be35a1SLionel SambucTESTS_C+=		t_timer_create
6411be35a1SLionel SambucTESTS_C+=		t_truncate
6511be35a1SLionel SambucTESTS_C+=		t_ucontext
6611be35a1SLionel SambucTESTS_C+=		t_umask
6711be35a1SLionel SambucTESTS_C+=		t_unlink
6811be35a1SLionel SambucTESTS_C+=		t_write
6911be35a1SLionel Sambuc
7011be35a1SLionel SambucSRCS.t_mprotect=	t_mprotect.c ${SRCS_EXEC_PROT}
7111be35a1SLionel Sambuc
7211be35a1SLionel SambucLDADD.t_getpid+=        -lpthread
7311be35a1SLionel Sambuc
74*0a6a1f1dSLionel Sambuc.if (${MKRUMP} != "no") && !defined(BSD_MK_COMPAT_FILE)
7511be35a1SLionel SambucTESTS_C+=		t_posix_fadvise
76*0a6a1f1dSLionel SambucLDADD.t_posix_fadvise+= -lrumpvfs -lrump -lrumpuser -lrump -lpthread
7711be35a1SLionel Sambuc.endif
7811be35a1SLionel Sambuc
7911be35a1SLionel SambucWARNS=			4
8011be35a1SLionel Sambuc
8111be35a1SLionel Sambuc.include <bsd.test.mk>
8211be35a1SLionel Sambuc
83