1# $FreeBSD$ 2 3.include <src.opts.mk> 4 5LIB=rt 6SHLIB_MAJOR= 1 7CFLAGS+=-I${.CURDIR}/../libc/include -I${.CURDIR} 8.ifndef NO_THREAD_STACK_UNWIND 9CFLAGS+=-fexceptions 10.endif 11CFLAGS+=-Winline -Wall 12LIBADD= pthread 13 14WARNS?= 2 15 16SRCS+= aio.c mq.c sigev_thread.c timer.c 17 18PRECIOUSLIB= 19 20VERSION_MAP= ${.CURDIR}/Version.map 21 22.if ${MK_TESTS} != "no" 23SUBDIR+= tests 24.endif 25 26.include <bsd.lib.mk> 27