5 OPENBSMDIR=${.CURDIR}/../../contrib/openbsm
6 .PATH: ${OPENBSMDIR}/bin/auditdistd
8 # Addition of auditdistd because otherwise generated parse.c can't find
9 # auditdistd.h. This seems like a makefile non-feature.
10 CFLAGS+=-I${OPENBSMDIR} -I${OPENBSMDIR}/bin/auditdistd
13 NO_WMISSING_VARIABLE_DECLARATIONS=
17 SRCS+= parse.y pjdlog.c
18 SRCS+= proto.c proto_common.c proto_socketpair.c proto_tcp.c proto_tls.c
20 SRCS+= sandbox.c sender.c subr.c
21 SRCS+= token.l trail.c
22 MAN= auditdistd.8 auditdistd.conf.5
24 DPADD= ${LIBL} ${LIBPTHREAD} ${LIBUTIL}
25 LDADD= -ll -lpthread -lutil
26 DPADD+= ${LIBCRYPTO} ${LIBSSL}
27 LDADD+= -lcrypto -lssl
31 CLEANFILES=parse.c parse.h parse.output
33 .include <bsd.prog.mk>