mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-22 21:41:04 +01:00
e9ac41698b
This is a residual of the $FreeBSD$ removal. MFC After: 3 days (though I'll just run the command on the branches) Sponsored by: Netflix
36 lines
627 B
Makefile
36 lines
627 B
Makefile
.include <src.opts.mk>
|
|
|
|
PACKAGE= kerberos
|
|
|
|
PROG= gssd
|
|
MAN= gssd.8
|
|
SRCS= gssd.c gssd.h gssd_svc.c gssd_xdr.c gssd_prot.c
|
|
|
|
CFLAGS+= -I.
|
|
WARNS?= 1
|
|
|
|
LIBADD= gssapi
|
|
.if ${MK_KERBEROS_SUPPORT} != "no"
|
|
LIBADD+= krb5 roken
|
|
.else
|
|
CFLAGS+= -DWITHOUT_KERBEROS
|
|
.endif
|
|
|
|
CLEANFILES= gssd_svc.c gssd_xdr.c gssd.h
|
|
|
|
RPCSRC= ${SRCTOP}/sys/kgssapi/gssd.x
|
|
RPCGEN= RPCGEN_CPP=${CPP:Q} rpcgen -L -C -M
|
|
|
|
gssd_svc.c: ${RPCSRC} gssd.h
|
|
${RPCGEN} -m -o ${.TARGET} ${RPCSRC}
|
|
|
|
gssd_xdr.c: ${RPCSRC} gssd.h
|
|
${RPCGEN} -c -o ${.TARGET} ${RPCSRC}
|
|
|
|
gssd.h: ${RPCSRC}
|
|
${RPCGEN} -h -o ${.TARGET} ${RPCSRC}
|
|
|
|
.PATH: ${SRCTOP}/sys/kgssapi
|
|
|
|
.include <bsd.prog.mk>
|