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
16 SRCS+= parse.y pjdlog.c
17 SRCS+= proto.c proto_common.c proto_socketpair.c proto_tcp.c proto_tls.c
19 SRCS+= sandbox.c sender.c subr.c
20 SRCS+= token.l trail.c
21 MAN= auditdistd.8 auditdistd.conf.5
23 DPADD= ${LIBL} ${LIBPTHREAD} ${LIBUTIL}
24 LDADD= -ll -lpthread -lutil
25 DPADD+= ${LIBCRYPTO} ${LIBSSL}
26 LDADD+= -lcrypto -lssl
30 CLEANFILES=parse.c parse.h parse.output
32 .include <bsd.prog.mk>