1# 2# SPDX-License-Identifier: BSD-2-Clause 3# 4# Copyright (c) 2025 FreeBSD Foundation 5# 6# This sofware was developed by Cy Schubert <cy@FreeBSD.org> 7# under sponsorship from the FreeBSD Foundation. 8# 9 10.include "../Makefile.inc" 11 12PROG= krb5kdc 13LIBADD= kadm5srv_mit gssrpc gssapi_krb5 krb5 kdb5 k5crypto com_err krb5support \ 14 apputils verto krb5profile m sys 15 16SRCS= authind.c \ 17 cammac.c \ 18 dispatch.c \ 19 do_as_req.c \ 20 do_tgs_req.c \ 21 extern.c \ 22 fast_util.c \ 23 kdc_audit.c \ 24 kdc_authdata.c \ 25 kdc_log.c \ 26 kdc_preauth.c \ 27 kdc_preauth_ec.c \ 28 kdc_preauth_encts.c \ 29 kdc_transit.c \ 30 kdc_util.c \ 31 main.c \ 32 ndr.c \ 33 policy.c \ 34 replay.c \ 35 tgs_policy.c \ 36 ${GEN} \ 37 ${GENI} 38 39MAN= krb5kdc.8 40 41DEFINES=-DLIBDIR=\"${KRB5_LIBDIR}\" 42 43CFLAGS+=${DEFINES} \ 44 -I${KRB5_DIR}/include \ 45 -I${KRB5_SRCTOP}/include \ 46 -I${.OBJDIR} 47 48CLEANFILES+= krb5kdc.8 49 50krb5kdc.8: krb5kdc.man 51 52.include <bsd.prog.mk> 53 54.SUFFIXES: .h .c .man .1 55 56.man.8: 57 cp ${.ALLSRC} ${.TARGET} 58 59.PATH: ${KRB5_DIR}/kdc \ 60 ${KRB5_DIR}/man 61