mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-27 13:32:45 +00:00
023fc80ee3
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
Similar commit in main:
(cherry picked from commit d0b2dbfa0e
)
32 lines
695 B
Makefile
32 lines
695 B
Makefile
#
|
|
#
|
|
|
|
OPENBSMDIR= ${SRCTOP}/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
|
|
PRIVATELIB= true
|
|
|
|
MAN=
|
|
|
|
.include <bsd.lib.mk>
|
|
|
|
# Disable -Wcast-align. Casting res->ai_addr in auditd_set_host triggers this
|
|
# warning, but it's ok because res->ai_addr must've originally pointed to a
|
|
# sockaddr_in or sockaddr_in6 anyway.
|
|
# Better would be to disable this warning in just that one function, but GCC
|
|
# 4.2 can't do that :( .
|
|
CWARNFLAGS.auditd_lib.c+= -Wno-cast-align
|