2008-03-10 22:00:21 +03:00
|
|
|
# $NetBSD: Makefile,v 1.7 2008/03/10 19:00:21 rmind Exp $
|
2003-01-24 04:52:42 +03:00
|
|
|
#
|
|
|
|
|
|
|
|
WARNS= 2
|
|
|
|
|
|
|
|
LIB= rt
|
|
|
|
SRCS= sem.c
|
2008-01-15 06:37:10 +03:00
|
|
|
SRCS+= sched.c
|
2003-01-24 04:52:42 +03:00
|
|
|
|
2007-06-17 16:47:40 +04:00
|
|
|
MAN+= aio_cancel.3 aio_error.3 aio_fsync.3 aio_read.3 aio_return.3 \
|
2007-05-05 02:37:33 +04:00
|
|
|
aio_suspend.3 aio_write.3 lio_listio.3 \
|
2008-03-10 22:00:21 +03:00
|
|
|
pset.3 sched.3 \
|
2007-05-05 02:37:33 +04:00
|
|
|
sem_destroy.3 sem_getvalue.3 sem_init.3 sem_open.3 sem_post.3 \
|
2003-01-24 04:52:42 +03:00
|
|
|
sem_wait.3
|
|
|
|
|
|
|
|
MLINKS+= sem_open.3 sem_close.3
|
|
|
|
MLINKS+= sem_open.3 sem_unlink.3
|
|
|
|
MLINKS+= sem_wait.3 sem_trywait.3
|
|
|
|
|
2008-03-10 22:00:21 +03:00
|
|
|
MLINKS+= pset.3 pset_create.3
|
|
|
|
MLINKS+= pset.3 pset_assign.3
|
|
|
|
MLINKS+= pset.3 pset_bind.3
|
|
|
|
MLINKS+= pset.3 pset_destroy.3
|
|
|
|
|
2008-03-10 17:47:06 +03:00
|
|
|
MLINKS+= sched.3 sched_setparam.3
|
|
|
|
MLINKS+= sched.3 sched_getparam.3
|
|
|
|
MLINKS+= sched.3 sched_setscheduler.3
|
|
|
|
MLINKS+= sched.3 sched_getscheduler.3
|
|
|
|
MLINKS+= sched.3 sched_get_priority_max.3
|
|
|
|
MLINKS+= sched.3 sched_get_priority_min.3
|
|
|
|
MLINKS+= sched.3 sched_rr_get_interval.3
|
|
|
|
MLINKS+= sched.3 sched_yield.3
|
|
|
|
|
2007-04-30 18:44:28 +04:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
|
|
|
.if exists(${NETBSDSRCDIR}/lib/libc/arch/${MACHINE_ARCH})
|
|
|
|
ARCHDIR= ${NETBSDSRCDIR}/lib/libc/arch/${MACHINE_ARCH}
|
|
|
|
.elif exists(${NETBSDSRCDIR}/lib/libc/arch/${MACHINE_CPU})
|
|
|
|
ARCHDIR= ${NETBSDSRCDIR}/lib/libc/arch/${MACHINE_CPU}
|
|
|
|
.else
|
|
|
|
.BEGIN:
|
|
|
|
@echo no ARCHDIR for ${MACHINE_ARCH} nor ${MACHINE_CPU}
|
|
|
|
@false
|
|
|
|
.endif
|
|
|
|
|
|
|
|
AFLAGS+=-I${ARCHDIR}
|
|
|
|
|
|
|
|
.include "${.CURDIR}/sys/Makefile.inc"
|
|
|
|
|
2003-01-24 04:52:42 +03:00
|
|
|
.include <bsd.lib.mk>
|