1 1.5 rmind # $NetBSD: Makefile,v 1.5 2008/01/15 03:37:15 rmind Exp $ 2 1.1 thorpej # 3 1.1 thorpej 4 1.1 thorpej WARNS= 2 5 1.1 thorpej 6 1.1 thorpej LIB= rt 7 1.1 thorpej SRCS= sem.c 8 1.5 rmind SRCS+= sched.c 9 1.1 thorpej 10 1.4 rmind MAN+= aio_cancel.3 aio_error.3 aio_fsync.3 aio_read.3 aio_return.3 \ 11 1.3 rmind aio_suspend.3 aio_write.3 lio_listio.3 \ 12 1.3 rmind sem_destroy.3 sem_getvalue.3 sem_init.3 sem_open.3 sem_post.3 \ 13 1.1 thorpej sem_wait.3 14 1.1 thorpej 15 1.1 thorpej MLINKS+= sem_open.3 sem_close.3 16 1.1 thorpej MLINKS+= sem_open.3 sem_unlink.3 17 1.1 thorpej MLINKS+= sem_wait.3 sem_trywait.3 18 1.1 thorpej 19 1.2 rmind .include <bsd.own.mk> 20 1.2 rmind 21 1.2 rmind .if exists(${NETBSDSRCDIR}/lib/libc/arch/${MACHINE_ARCH}) 22 1.2 rmind ARCHDIR= ${NETBSDSRCDIR}/lib/libc/arch/${MACHINE_ARCH} 23 1.2 rmind .elif exists(${NETBSDSRCDIR}/lib/libc/arch/${MACHINE_CPU}) 24 1.2 rmind ARCHDIR= ${NETBSDSRCDIR}/lib/libc/arch/${MACHINE_CPU} 25 1.2 rmind .else 26 1.2 rmind .BEGIN: 27 1.2 rmind @echo no ARCHDIR for ${MACHINE_ARCH} nor ${MACHINE_CPU} 28 1.2 rmind @false 29 1.2 rmind .endif 30 1.2 rmind 31 1.2 rmind AFLAGS+=-I${ARCHDIR} 32 1.2 rmind 33 1.2 rmind .include "${.CURDIR}/sys/Makefile.inc" 34 1.2 rmind 35 1.1 thorpej .include <bsd.lib.mk> 36