1# 2# SPDX-License-Idendifier: 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 10PACKAGE= krb5 11 12PROG= ktutil 13 14LIBADD= edit krb5 k5crypto com_err krb5profile krb5support krb5ss tinfow sys 15 16SRCS= ktutil.c \ 17 ktutil_ct.c \ 18 ktutil_funcs.c 19 20CFLAGS+=-I${KRB5_DIR}/include \ 21 -I${KRB5_SRCTOP}/include \ 22 -I${KRB5_DIR}/util \ 23 -I${KRB5_OBJTOP}/util 24 25MAN= ktutil.1 26 27ktutil.1: ktutil.man 28 29CLEANFILES+= ktutil.1 30 31ktutil_ct.c: ktutil_ct.ct ss_err.h 32 ${MAKE_COMMANDS} ${KRB5_DIR}/kadmin/ktutil/ktutil_ct.ct 33 34.include <bsd.prog.mk> 35 36.SUFFIXES: .h .c. .man .1 .ct 37 38.man.1: 39 @cp ${.ALLSRC} ${.TARGET} 40 41.PATH: ${KRB5_DIR}/kadmin/ktutil \ 42 ${KRB5_DIR}/man \ 43 ${KRB5_OBJTOP}/util/ss 44