1# 2# $FreeBSD$ 3# 4 5OPENBSMDIR=${.CURDIR}/../../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 24DPADD= ${LIBL} ${LIBPTHREAD} ${LIBUTIL} 25LDADD= -ll -lpthread -lutil 26DPADD+= ${LIBCRYPTO} ${LIBSSL} 27LDADD+= -lcrypto -lssl 28 29YFLAGS+=-v 30 31CLEANFILES=parse.c parse.h parse.output 32 33.include <bsd.prog.mk> 34