xref: /freebsd/lib/librt/Makefile (revision bba950fcaffc648d931da9dc07aeb85a1bf86cfc)
1*bba950fcSJessica ClarkeSHLIBDIR?=/lib
24acaec8fSDavid Xu
3536b1b93SEnji Cooper.include <src.opts.mk>
4536b1b93SEnji Cooper
56dbde50aSEmmanuel VadotPACKAGE=clibs
64acaec8fSDavid XuLIB=rt
74acaec8fSDavid XuSHLIB_MAJOR= 1
8bf51ed48SEnji CooperCFLAGS+=-I${SRCTOP}/lib/libc/include -I${.CURDIR}
9f4213b90SDavid Xu.ifndef NO_THREAD_STACK_UNWIND
10f4213b90SDavid XuCFLAGS+=-fexceptions
11f4213b90SDavid Xu.endif
12c8c62548SAlex RichardsonCFLAGS+=-Wall
136b129086SBaptiste DaroussinLIBADD=	pthread
144acaec8fSDavid Xu
15daaf5759SEd SchoutenWARNS?=	2
16daaf5759SEd Schouten
174acaec8fSDavid XuSRCS+= aio.c mq.c sigev_thread.c timer.c
184acaec8fSDavid Xu
194acaec8fSDavid XuPRECIOUSLIB=
204acaec8fSDavid Xu
21bf51ed48SEnji CooperVERSION_DEF=${SRCTOP}/lib/libc/Versions.def
22bf1adfbdSDaniel EischenSYMBOL_MAPS=${.CURDIR}/Symbol.map
23091c66c6SDaniel Eischen
24d511b20aSEnji CooperHAS_TESTS=
254b330699SEnji CooperSUBDIR.${MK_TESTS}+= tests
26536b1b93SEnji Cooper
274acaec8fSDavid Xu.include <bsd.lib.mk>
28