]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - lib/libauditd/Makefile
bhnd(9): Fix a few mandoc related issues
[FreeBSD/FreeBSD.git] / lib / libauditd / Makefile
1 #
2 # $FreeBSD$
3 #
4
5 OPENBSMDIR=             ${SRCTOP}/contrib/openbsm
6 _LIBAUDITDDIR=          ${OPENBSMDIR}/libauditd
7 _LIBBSMDIR=             ${OPENBSMDIR}/libbsm
8
9 LIB=            auditd
10
11 .PATH:          ${_LIBAUDITDDIR}
12
13 SRCS=   auditd_lib.c
14
15 #
16 # Must use BSM include files from within the contrib area, not the system.
17 #
18 CFLAGS+=        -I${OPENBSMDIR} -I${_LIBBSMDIR}
19
20 WARNS?=         3
21 PRIVATELIB=     true
22
23 MAN=
24
25 .include <bsd.lib.mk>
26
27 # Disable -Wcast-align.  Casting res->ai_addr in auditd_set_host triggers this
28 # warning, but it's ok because res->ai_addr must've originally pointed to a
29 # sockaddr_in or sockaddr_in6 anyway.
30 # Better would be to disable this warning in just that one function, but GCC
31 # 4.2 can't do that :( .
32 CWARNFLAGS.auditd_lib.c+=       -Wno-cast-align