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