freebsd-skq/kerberos5/libexec/kcm/Makefile
Alex Richardson 4f009328a2 kerberos5: Silence compiler warnings
Building the kerberos5 subdirectory currently produces lots of warnings.
Since there are many instances of these warnings and it's contrib code,
this change silences the warnings instead of fixing them.

Reviewed By:	jhb, cy, bjk
Differential Revision: https://reviews.freebsd.org/D28025
2021-01-27 17:48:47 +00:00

32 lines
573 B
Makefile

# $FreeBSD$
PROG= kcm
MAN= kcm.8
SRCS= acl.c \
acquire.c \
cache.c \
client.c \
config.c \
connect.c \
events.c \
glue.c \
log.c \
main.c \
protocol.c \
sessions.c \
renew.c
CFLAGS+=-I${KRB5DIR}/lib/krb5 -I${KRB5DIR}/lib/asn1 -I${KRB5DIR}/lib/roken \
-I${KRB5DIR}/kcm -I${KRB5DIR}/lib/ipc ${LDAPCFLAGS}
# Avoid errors for using deprecated krb5_* APIs
CFLAGS+="-DKRB5_DEPRECATED_FUNCTION(X)="
LIBADD= krb5 roken heimntlm heimipcs crypto
DPADD= ${LDAPDPADD}
LDADD= ${LIBVERS} ${LDAPLDADD}
LDFLAGS=${LDAPLDFLAGS}
.include <bsd.prog.mk>
.PATH: ${KRB5DIR}/kcm