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