5c71a4d49f
Add schedctl(8) - a program to control scheduling of processes and threads. Notes: - This is supported only by SCHED_M2; - Migration of LWP mechanism will be revisited; Proposed on: <tech-kern>. Reviewed by: <ad>.
36 lines
816 B
Makefile
36 lines
816 B
Makefile
# $NetBSD: Makefile,v 1.5 2008/01/15 03:37:15 rmind Exp $
|
|
#
|
|
|
|
WARNS= 2
|
|
|
|
LIB= rt
|
|
SRCS= sem.c
|
|
SRCS+= sched.c
|
|
|
|
MAN+= aio_cancel.3 aio_error.3 aio_fsync.3 aio_read.3 aio_return.3 \
|
|
aio_suspend.3 aio_write.3 lio_listio.3 \
|
|
sem_destroy.3 sem_getvalue.3 sem_init.3 sem_open.3 sem_post.3 \
|
|
sem_wait.3
|
|
|
|
MLINKS+= sem_open.3 sem_close.3
|
|
MLINKS+= sem_open.3 sem_unlink.3
|
|
MLINKS+= sem_wait.3 sem_trywait.3
|
|
|
|
.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"
|
|
|
|
.include <bsd.lib.mk>
|