Makefile revision 1.17
11.17Srmind#	$NetBSD: Makefile,v 1.17 2013/12/19 19:11:50 rmind Exp $
21.1Sthorpej#
31.1Sthorpej
41.14Schristos.include <bsd.own.mk>
51.14Schristos
61.16SmattWARNS?=	5
71.1Sthorpej
81.1SthorpejLIB=	rt
91.17Srmind
101.17SrmindSRCS=	sem.c shm.c pset.c
111.1Sthorpej
121.11SjruohoMAN+=	aio.3 aio_cancel.3 aio_error.3 aio_fsync.3 aio_read.3 aio_return.3 \
131.3Srmind	aio_suspend.3 aio_write.3 lio_listio.3 \
141.12Sjruoho	mq.3 mq_close.3 mq_getattr.3 mq_notify.3 mq_open.3 mq_receive.3 \
151.10Srmind	mq_send.3 mq_setattr.3 mq_unlink.3 \
161.7Srmind	pset.3 sched.3 \
171.3Srmind	sem_destroy.3 sem_getvalue.3 sem_init.3 sem_open.3 sem_post.3 \
181.1Sthorpej	sem_wait.3
191.1Sthorpej
201.12SjruohoMLINKS+=	mq.3 mqueue.3
211.13SjruohoMLINKS+=	mq_receive.3 mq_timedreceive.3
221.13SjruohoMLINKS+=	mq_send.3 mq_timedsend.3
231.12Sjruoho
241.1SthorpejMLINKS+=	sem_open.3 sem_close.3
251.1SthorpejMLINKS+=	sem_open.3 sem_unlink.3
261.15SjoergMLINKS+=	sem_wait.3 sem_timedwait.3
271.1SthorpejMLINKS+=	sem_wait.3 sem_trywait.3
281.1Sthorpej
291.7SrmindMLINKS+=	pset.3 pset_create.3
301.7SrmindMLINKS+=	pset.3 pset_assign.3
311.7SrmindMLINKS+=	pset.3 pset_bind.3
321.7SrmindMLINKS+=	pset.3 pset_destroy.3
331.7Srmind
341.6SrmindMLINKS+=	sched.3 sched_setparam.3
351.6SrmindMLINKS+=	sched.3 sched_getparam.3
361.6SrmindMLINKS+=	sched.3 sched_setscheduler.3
371.6SrmindMLINKS+=	sched.3 sched_getscheduler.3
381.6SrmindMLINKS+=	sched.3 sched_get_priority_max.3
391.6SrmindMLINKS+=	sched.3 sched_get_priority_min.3
401.6SrmindMLINKS+=	sched.3 sched_rr_get_interval.3
411.6SrmindMLINKS+=	sched.3 sched_yield.3
421.6Srmind
431.2Srmind
441.9Smrg.include "${.CURDIR}/../libc/libcincludes.mk"
451.2Srmind
461.2SrmindAFLAGS+=-I${ARCHDIR}
471.2Srmind
481.2Srmind.include "${.CURDIR}/sys/Makefile.inc"
491.2Srmind
501.14Schristos.if ${MACHINE_ARCH} == "powerpc64"
511.14Schristos# XXX: How come it does not resolve from libc?
521.14SchristosCPPFLAGS+=-I${NETBSDSRCDIR}/lib/libc/include
531.14Schristos.PATH.c: ${NETBSDSRCDIR}/lib/libc/gen
541.14SchristosSRCS+= _errno.c
551.14Schristos.endif
561.14Schristos
571.1Sthorpej.include <bsd.lib.mk>
58