Makefile revision 1.14
11.14Schristos#	$NetBSD: Makefile,v 1.14 2011/10/27 18:45:44 christos Exp $
21.1Sthorpej#
31.1Sthorpej
41.14Schristos.include <bsd.own.mk>
51.14Schristos
61.14SchristosWARNS=	4
71.1Sthorpej
81.1SthorpejLIB=	rt
91.1SthorpejSRCS=	sem.c
101.8SrmindSRCS+=	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.1SthorpejMLINKS+=	sem_wait.3 sem_trywait.3
271.1Sthorpej
281.7SrmindMLINKS+=	pset.3 pset_create.3
291.7SrmindMLINKS+=	pset.3 pset_assign.3
301.7SrmindMLINKS+=	pset.3 pset_bind.3
311.7SrmindMLINKS+=	pset.3 pset_destroy.3
321.7Srmind
331.6SrmindMLINKS+=	sched.3 sched_setparam.3
341.6SrmindMLINKS+=	sched.3 sched_getparam.3
351.6SrmindMLINKS+=	sched.3 sched_setscheduler.3
361.6SrmindMLINKS+=	sched.3 sched_getscheduler.3
371.6SrmindMLINKS+=	sched.3 sched_get_priority_max.3
381.6SrmindMLINKS+=	sched.3 sched_get_priority_min.3
391.6SrmindMLINKS+=	sched.3 sched_rr_get_interval.3
401.6SrmindMLINKS+=	sched.3 sched_yield.3
411.6Srmind
421.2Srmind
431.9Smrg.include "${.CURDIR}/../libc/libcincludes.mk"
441.2Srmind
451.2SrmindAFLAGS+=-I${ARCHDIR}
461.2Srmind
471.2Srmind.include "${.CURDIR}/sys/Makefile.inc"
481.2Srmind
491.14Schristos.if ${MACHINE_ARCH} == "powerpc64"
501.14Schristos# XXX: How come it does not resolve from libc?
511.14SchristosCPPFLAGS+=-I${NETBSDSRCDIR}/lib/libc/include
521.14Schristos.PATH.c: ${NETBSDSRCDIR}/lib/libc/gen
531.14SchristosSRCS+= _errno.c
541.14Schristos.endif
551.14Schristos
561.1Sthorpej.include <bsd.lib.mk>
57