]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - usr.sbin/auditdistd/Makefile
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.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
14 PROG=   auditdistd
15 SRCS=   auditdistd.c
16 SRCS+=  parse.y pjdlog.c
17 SRCS+=  proto.c proto_common.c proto_socketpair.c proto_tcp.c proto_tls.c
18 SRCS+=  receiver.c
19 SRCS+=  sandbox.c sender.c subr.c
20 SRCS+=  token.l trail.c
21 MAN=    auditdistd.8 auditdistd.conf.5
22
23 DPADD=  ${LIBL} ${LIBPTHREAD} ${LIBUTIL}
24 LDADD=  -ll -lpthread -lutil
25 DPADD+= ${LIBCRYPTO} ${LIBSSL}
26 LDADD+= -lcrypto -lssl
27
28 YFLAGS+=-v
29
30 CLEANFILES=parse.c parse.h parse.output
31
32 .include <bsd.prog.mk>