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 12NO_WFORMAT= 13NO_WMISSING_VARIABLE_DECLARATIONS= 14 15PROG= auditdistd 16SRCS= auditdistd.c 17SRCS+= parse.y pjdlog.c 18SRCS+= proto.c proto_common.c proto_socketpair.c proto_tcp.c proto_tls.c 19SRCS+= receiver.c 20SRCS+= sandbox.c sender.c subr.c 21SRCS+= token.l trail.c 22MAN= auditdistd.8 auditdistd.conf.5 23 24LIBADD+= l pthread util crypto ssl 25 26YFLAGS+=-v 27 28CLEANFILES=parse.c parse.h parse.output 29 30# auditdistd cannot use FreeBSD specific lock annotation macros. Disable 31# thread safety analysis completely. 32NO_WTHREAD_SAFETY= 33 34.include <bsd.prog.mk> 35