1 1.4 rmind # $NetBSD: Makefile,v 1.4 2007/06/17 12:47:41 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.1 thorpej 9 1.4 rmind MAN+= aio_cancel.3 aio_error.3 aio_fsync.3 aio_read.3 aio_return.3 \ 10 1.3 rmind aio_suspend.3 aio_write.3 lio_listio.3 \ 11 1.3 rmind sem_destroy.3 sem_getvalue.3 sem_init.3 sem_open.3 sem_post.3 \ 12 1.1 thorpej sem_wait.3 13 1.1 thorpej 14 1.1 thorpej MLINKS+= sem_open.3 sem_close.3 15 1.1 thorpej MLINKS+= sem_open.3 sem_unlink.3 16 1.1 thorpej MLINKS+= sem_wait.3 sem_trywait.3 17 1.1 thorpej 18 1.2 rmind .include <bsd.own.mk> 19 1.2 rmind 20 1.2 rmind .if exists(${NETBSDSRCDIR}/lib/libc/arch/${MACHINE_ARCH}) 21 1.2 rmind ARCHDIR= ${NETBSDSRCDIR}/lib/libc/arch/${MACHINE_ARCH} 22 1.2 rmind .elif exists(${NETBSDSRCDIR}/lib/libc/arch/${MACHINE_CPU}) 23 1.2 rmind ARCHDIR= ${NETBSDSRCDIR}/lib/libc/arch/${MACHINE_CPU} 24 1.2 rmind .else 25 1.2 rmind .BEGIN: 26 1.2 rmind @echo no ARCHDIR for ${MACHINE_ARCH} nor ${MACHINE_CPU} 27 1.2 rmind @false 28 1.2 rmind .endif 29 1.2 rmind 30 1.2 rmind AFLAGS+=-I${ARCHDIR} 31 1.2 rmind 32 1.2 rmind .include "${.CURDIR}/sys/Makefile.inc" 33 1.2 rmind 34 1.1 thorpej .include <bsd.lib.mk> 35