a77ce411ec
The default package use to be FreeBSD-runtime but it should only contain binaries and libs enough to boot to single user and repair the system, it is also very handy to have a package that can be tranform to a small mfsroot. So create a new package named FreeBSD-utilities and make it the default one. Also move a few binaries and lib into this package when it make sense. Reviewed by: bapt, gjb Differential Revision: https://reviews.freebsd.org/D21506
32 lines
690 B
Makefile
32 lines
690 B
Makefile
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
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
|
|
|
|
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
|