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