4 OPENBSMDIR=${SRCTOP}/contrib/openbsm
5 .PATH: ${OPENBSMDIR}/bin/auditdistd
7 # Addition of auditdistd because otherwise generated parse.c can't find
8 # auditdistd.h. This seems like a makefile non-feature.
9 CFLAGS+=-I${OPENBSMDIR} -I${OPENBSMDIR}/bin/auditdistd
11 CFLAGS+=-DOPENSSL_API_COMPAT=0x10100000L
14 NO_WMISSING_VARIABLE_DECLARATIONS=
18 SRCS+= parse.y pjdlog.c
19 SRCS+= proto.c proto_common.c proto_socketpair.c proto_tcp.c proto_tls.c
21 SRCS+= sandbox.c sender.c subr.c
22 SRCS+= token.l trail.c
23 MAN= auditdistd.8 auditdistd.conf.5
25 LIBADD+= pthread util crypto ssl
29 CLEANFILES=parse.c parse.h parse.output
31 # auditdistd cannot use FreeBSD specific lock annotation macros. Disable
32 # thread safety analysis completely.
35 .include <bsd.prog.mk>