1 1.21 kamil # $NetBSD: Makefile,v 1.21 2018/06/13 08:19:36 kamil Exp $ 2 1.1 thorpej # 3 1.1 thorpej 4 1.21 kamil NOSANITIZER= # defined 5 1.21 kamil 6 1.14 christos .include <bsd.own.mk> 7 1.14 christos 8 1.16 matt WARNS?= 5 9 1.1 thorpej 10 1.1 thorpej LIB= rt 11 1.17 rmind 12 1.17 rmind SRCS= sem.c shm.c pset.c 13 1.1 thorpej 14 1.11 jruoho MAN+= aio.3 aio_cancel.3 aio_error.3 aio_fsync.3 aio_read.3 aio_return.3 \ 15 1.3 rmind aio_suspend.3 aio_write.3 lio_listio.3 \ 16 1.12 jruoho mq.3 mq_close.3 mq_getattr.3 mq_notify.3 mq_open.3 mq_receive.3 \ 17 1.10 rmind mq_send.3 mq_setattr.3 mq_unlink.3 \ 18 1.18 rmind pset.3 sched.3 shm_open.3 \ 19 1.3 rmind sem_destroy.3 sem_getvalue.3 sem_init.3 sem_open.3 sem_post.3 \ 20 1.1 thorpej sem_wait.3 21 1.1 thorpej 22 1.12 jruoho MLINKS+= mq.3 mqueue.3 23 1.13 jruoho MLINKS+= mq_receive.3 mq_timedreceive.3 24 1.13 jruoho MLINKS+= mq_send.3 mq_timedsend.3 25 1.12 jruoho 26 1.1 thorpej MLINKS+= sem_open.3 sem_close.3 27 1.1 thorpej MLINKS+= sem_open.3 sem_unlink.3 28 1.15 joerg MLINKS+= sem_wait.3 sem_timedwait.3 29 1.1 thorpej MLINKS+= sem_wait.3 sem_trywait.3 30 1.1 thorpej 31 1.7 rmind MLINKS+= pset.3 pset_create.3 32 1.7 rmind MLINKS+= pset.3 pset_assign.3 33 1.7 rmind MLINKS+= pset.3 pset_bind.3 34 1.7 rmind MLINKS+= pset.3 pset_destroy.3 35 1.7 rmind 36 1.6 rmind MLINKS+= sched.3 sched_setparam.3 37 1.6 rmind MLINKS+= sched.3 sched_getparam.3 38 1.19 christos MLINKS+= sched.3 sched_protect.3 39 1.6 rmind MLINKS+= sched.3 sched_setscheduler.3 40 1.6 rmind MLINKS+= sched.3 sched_getscheduler.3 41 1.6 rmind MLINKS+= sched.3 sched_get_priority_max.3 42 1.6 rmind MLINKS+= sched.3 sched_get_priority_min.3 43 1.6 rmind MLINKS+= sched.3 sched_rr_get_interval.3 44 1.6 rmind MLINKS+= sched.3 sched_yield.3 45 1.20 christos MLINKS+= sched.3 sched_setaffinity_np.3 46 1.20 christos MLINKS+= sched.3 sched_getaffinity_np.3 47 1.6 rmind 48 1.18 rmind MLINKS+= shm_open.3 shm_unlink.3 49 1.2 rmind 50 1.9 mrg .include "${.CURDIR}/../libc/libcincludes.mk" 51 1.2 rmind 52 1.2 rmind AFLAGS+=-I${ARCHDIR} 53 1.2 rmind 54 1.2 rmind .include "${.CURDIR}/sys/Makefile.inc" 55 1.2 rmind 56 1.14 christos .if ${MACHINE_ARCH} == "powerpc64" 57 1.14 christos # XXX: How come it does not resolve from libc? 58 1.14 christos CPPFLAGS+=-I${NETBSDSRCDIR}/lib/libc/include 59 1.14 christos .PATH.c: ${NETBSDSRCDIR}/lib/libc/gen 60 1.14 christos SRCS+= _errno.c 61 1.14 christos .endif 62 1.14 christos 63 1.1 thorpej .include <bsd.lib.mk> 64