]> CyberLeo.Net >> Repos - FreeBSD/releng/10.2.git/blob - usr.sbin/auditdistd/Makefile
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1
[FreeBSD/releng/10.2.git] / usr.sbin / auditdistd / Makefile
1 #
2 # $FreeBSD$
3 #
4
5 OPENBSMDIR=${.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.
10 CFLAGS+=-I${OPENBSMDIR} -I${OPENBSMDIR}/bin/auditdistd
11
12 NO_WFORMAT=
13 NO_WMISSING_VARIABLE_DECLARATIONS=
14
15 PROG=   auditdistd
16 SRCS=   auditdistd.c
17 SRCS+=  parse.y pjdlog.c
18 SRCS+=  proto.c proto_common.c proto_socketpair.c proto_tcp.c proto_tls.c
19 SRCS+=  receiver.c
20 SRCS+=  sandbox.c sender.c subr.c
21 SRCS+=  token.l trail.c
22 MAN=    auditdistd.8 auditdistd.conf.5
23
24 DPADD=  ${LIBL} ${LIBPTHREAD} ${LIBUTIL}
25 LDADD=  -ll -lpthread -lutil
26 DPADD+= ${LIBCRYPTO} ${LIBSSL}
27 LDADD+= -lcrypto -lssl
28
29 YFLAGS+=-v
30
31 CLEANFILES=parse.c parse.h parse.output
32
33 .include <bsd.prog.mk>