]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - usr.sbin/gssd/Makefile
sys/{x86,amd64}: remove one of doubled ;s
[FreeBSD/FreeBSD.git] / usr.sbin / gssd / Makefile
1 # $FreeBSD$
2
3 .include <src.opts.mk>
4
5 PROG=   gssd
6 MAN=    gssd.8
7 SRCS=   gssd.c gssd.h gssd_svc.c gssd_xdr.c gssd_prot.c
8
9 CFLAGS+= -I.
10 WARNS?= 1
11
12 LIBADD= gssapi
13 .if ${MK_KERBEROS_SUPPORT} != "no"
14 LIBADD+=        krb5 roken
15 .else
16 CFLAGS+= -DWITHOUT_KERBEROS
17 .endif
18
19 CLEANFILES= gssd_svc.c gssd_xdr.c gssd.h
20
21 RPCSRC= ${SRCTOP}/sys/kgssapi/gssd.x
22 RPCGEN= RPCGEN_CPP=${CPP:Q} rpcgen -L -C -M
23
24 gssd_svc.c: ${RPCSRC} gssd.h
25         ${RPCGEN} -m -o ${.TARGET} ${RPCSRC}
26
27 gssd_xdr.c: ${RPCSRC} gssd.h
28         ${RPCGEN} -c -o ${.TARGET} ${RPCSRC}
29
30 gssd.h: ${RPCSRC}
31         ${RPCGEN} -h -o ${.TARGET} ${RPCSRC}
32
33 .PATH:  ${SRCTOP}/sys/kgssapi
34
35 .include <bsd.prog.mk>