daaf575910
Similar to libexec/, do the same with lib/. Make WARNS=6 the norm and lower it when needed. I'm setting WARNS?=0 for secure/. It seems secure/ includes the Makefile.inc provided by lib/. I'm not going to touch that directory. Most of the code there is contributed anyway.
20 lines
271 B
Makefile
20 lines
271 B
Makefile
# $FreeBSD$
|
|
|
|
LIB=rt
|
|
SHLIB_MAJOR= 1
|
|
CFLAGS+=-I${.CURDIR}/../libc/include -I${.CURDIR}
|
|
CFLAGS+=-Winline -Wall -g
|
|
LDADD+=-lpthread
|
|
|
|
WARNS?= 2
|
|
|
|
#MAN= libthr.3
|
|
|
|
SRCS+= aio.c mq.c sigev_thread.c timer.c
|
|
|
|
PRECIOUSLIB=
|
|
|
|
VERSION_MAP= ${.CURDIR}/Version.map
|
|
|
|
.include <bsd.lib.mk>
|