1243752Srwatson# 2243752Srwatson# $FreeBSD$ 3243752Srwatson# 4243752Srwatson 5243752SrwatsonOPENBSMDIR=${.CURDIR}/../../contrib/openbsm 6243752Srwatson.PATH: ${OPENBSMDIR}/bin/auditdistd 7243752Srwatson 8243752Srwatson# Addition of auditdistd because otherwise generated parse.c can't find 9243752Srwatson# auditdistd.h. This seems like a makefile non-feature. 10243752SrwatsonCFLAGS+=-I${OPENBSMDIR} -I${OPENBSMDIR}/bin/auditdistd 11243752Srwatson 12243752SrwatsonNO_WFORMAT= 13249657SedNO_WMISSING_VARIABLE_DECLARATIONS= 14243752Srwatson 15243752SrwatsonPROG= auditdistd 16243752SrwatsonSRCS= auditdistd.c 17243752SrwatsonSRCS+= parse.y pjdlog.c 18243752SrwatsonSRCS+= proto.c proto_common.c proto_socketpair.c proto_tcp.c proto_tls.c 19243752SrwatsonSRCS+= receiver.c 20243752SrwatsonSRCS+= sandbox.c sender.c subr.c 21243752SrwatsonSRCS+= token.l trail.c 22243752SrwatsonMAN= auditdistd.8 auditdistd.conf.5 23243752Srwatson 24243752SrwatsonDPADD= ${LIBL} ${LIBPTHREAD} ${LIBUTIL} 25243752SrwatsonLDADD= -ll -lpthread -lutil 26243752SrwatsonDPADD+= ${LIBCRYPTO} ${LIBSSL} 27243752SrwatsonLDADD+= -lcrypto -lssl 28243752Srwatson 29243752SrwatsonYFLAGS+=-v 30243752Srwatson 31243752SrwatsonCLEANFILES=parse.c parse.h parse.output 32243752Srwatson 33243752Srwatson.include <bsd.prog.mk> 34