xref: /freebsd/krb5/util/compile_et/Makefile (revision 929f5966a9fd3d050c7b604513c6fb4ac9b5d335)
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
12SRC_ETDIR=	${KRB5_DIR}/util/et
13
14SCRIPTNAME=	compile_et
15SCRIPTS=	compile_et
16BINDIR?=	/usr/bin
17MAN=		compile_et.1
18CLEANFILES=	compile_et
19TAGS+=		dev
20
21compile_et: compile_et.sh
22	sh ${SRC_ETDIR}/config_script ${SRC_ETDIR}/compile_et.sh \
23	"${KRB5_ETDIR}" /usr/bin/awk /usr/bin/sed > ${.TARGET}
24	chmod 0755 ${.TARGET}
25
26.include <bsd.prog.mk>
27
28.SUFFIXES: .h .c .man .1
29
30.man.1:
31	@cp ${.ALLSRC} ${.TARGET}
32
33.PATH: ${KRB5_DIR}/util/et
34