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