freebsd-src/usr.sbin/auditdistd/Makefile
Warner Losh 023fc80ee3 Remove $FreeBSD$: one-line sh pattern
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/

Similar commit in main:
(cherry picked from commit d0b2dbfa0e)
2023-08-23 11:43:30 -06:00

34 lines
796 B
Makefile

#
#
OPENBSMDIR=${SRCTOP}/contrib/openbsm
.PATH: ${OPENBSMDIR}/bin/auditdistd
# Addition of auditdistd because otherwise generated parse.c can't find
# auditdistd.h. This seems like a makefile non-feature.
CFLAGS+=-I${OPENBSMDIR} -I${OPENBSMDIR}/bin/auditdistd
NO_WFORMAT=
NO_WMISSING_VARIABLE_DECLARATIONS=
PROG= auditdistd
SRCS= auditdistd.c
SRCS+= parse.y pjdlog.c
SRCS+= proto.c proto_common.c proto_socketpair.c proto_tcp.c proto_tls.c
SRCS+= receiver.c
SRCS+= sandbox.c sender.c subr.c
SRCS+= token.l trail.c
MAN= auditdistd.8 auditdistd.conf.5
LIBADD+= pthread util crypto ssl
YFLAGS+=-v
CLEANFILES=parse.c parse.h parse.output
# auditdistd cannot use FreeBSD specific lock annotation macros. Disable
# thread safety analysis completely.
NO_WTHREAD_SAFETY=
.include <bsd.prog.mk>