116648b4fSRobert Watson# 216648b4fSRobert Watson# 316648b4fSRobert Watson 464a0982bSEnji CooperOPENBSMDIR=${SRCTOP}/contrib/openbsm 516648b4fSRobert Watson.PATH: ${OPENBSMDIR}/bin/auditdistd 616648b4fSRobert Watson 716648b4fSRobert Watson# Addition of auditdistd because otherwise generated parse.c can't find 816648b4fSRobert Watson# auditdistd.h. This seems like a makefile non-feature. 916648b4fSRobert WatsonCFLAGS+=-I${OPENBSMDIR} -I${OPENBSMDIR}/bin/auditdistd 1016648b4fSRobert Watson 117409d45eSPierre ProncheryCFLAGS+=-DOPENSSL_API_COMPAT=0x10100000L 127409d45eSPierre Pronchery 1316648b4fSRobert WatsonNO_WFORMAT= 147e659f94SEd SchoutenNO_WMISSING_VARIABLE_DECLARATIONS= 1516648b4fSRobert Watson 16*1b3c07beSLexi WinterPACKAGE=audit 1716648b4fSRobert WatsonPROG= auditdistd 1816648b4fSRobert WatsonSRCS= auditdistd.c 1916648b4fSRobert WatsonSRCS+= parse.y pjdlog.c 2016648b4fSRobert WatsonSRCS+= proto.c proto_common.c proto_socketpair.c proto_tcp.c proto_tls.c 2116648b4fSRobert WatsonSRCS+= receiver.c 2216648b4fSRobert WatsonSRCS+= sandbox.c sender.c subr.c 2316648b4fSRobert WatsonSRCS+= token.l trail.c 2416648b4fSRobert WatsonMAN= auditdistd.8 auditdistd.conf.5 2516648b4fSRobert Watson 268daefe00SEmmanuel VadotLIBADD+= pthread util crypto ssl 2716648b4fSRobert Watson 2816648b4fSRobert WatsonYFLAGS+=-v 2916648b4fSRobert Watson 3016648b4fSRobert WatsonCLEANFILES=parse.c parse.h parse.output 3116648b4fSRobert Watson 3213b7412dSEd Schouten# auditdistd cannot use FreeBSD specific lock annotation macros. Disable 3313b7412dSEd Schouten# thread safety analysis completely. 3413b7412dSEd SchoutenNO_WTHREAD_SAFETY= 3513b7412dSEd Schouten 3616648b4fSRobert Watson.include <bsd.prog.mk> 37