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.
25 lines
358 B
Makefile
25 lines
358 B
Makefile
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
OPENBSMDIR= ${.CURDIR}/../../contrib/openbsm
|
|
LIBAUDITDDIR= ${OPENBSMDIR}/libauditd
|
|
LIBBSMDIR= ${OPENBSMDIR}/libbsm
|
|
|
|
LIB= auditd
|
|
|
|
.PATH: ${LIBAUDITDDIR}
|
|
|
|
SRCS= auditd_lib.c
|
|
|
|
#
|
|
# Must use BSM include files from within the contrib area, not the system.
|
|
#
|
|
CFLAGS+= -I${OPENBSMDIR} -I${LIBBSMDIR}
|
|
|
|
WARNS?= 3
|
|
|
|
NO_MAN=
|
|
|
|
.include <bsd.lib.mk>
|