From 836fca0485d881d5f139e2255dc3dd4d5610cf47 Mon Sep 17 00:00:00 2001 From: Bjorn Sandell Date: Fri, 14 Apr 2006 08:28:56 +0000 Subject: fixes for heimdal 0.7.2 --- kerberosV/usr.sbin/ktutil/Makefile | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'kerberosV/usr.sbin/ktutil') diff --git a/kerberosV/usr.sbin/ktutil/Makefile b/kerberosV/usr.sbin/ktutil/Makefile index 6d8bff0ba71..b9198889278 100644 --- a/kerberosV/usr.sbin/ktutil/Makefile +++ b/kerberosV/usr.sbin/ktutil/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.11 2004/06/04 23:45:30 biorn Exp $ +# $OpenBSD: Makefile,v 1.12 2006/04/14 08:28:55 biorn Exp $ KRBDEPTH=../.. .include <${.CURDIR}/../../Makefile.inc> @@ -11,6 +11,7 @@ SRCS= add.c \ copy.c \ get.c \ ktutil.c \ + ktutil-commands.c \ list.c \ purge.c \ remove.c \ @@ -21,7 +22,16 @@ SRCS+= ${PRINTVER} .PATH: ${KRB5SRC}/admin .PATH: ${KRB5SRC}/lib/sl -CFLAGS+=-I${KRB5SRC}/lib/krb5 -I${KRB5SRC}/lib/kadm5 +slc: slc-gram.o slc-lex.o ${PRINTVER} + $(CC) -o slc $> -lkrb5 -lcrypto + +SLC= slc + +ktutil: ktutil-commands.h +ktutil-commands.c ktutil-commands.h: ktutil-commands.in $(SLC) + ./$(SLC) $(KRB5SRC)/admin/ktutil-commands.in + +CFLAGS+=-I${KRB5SRC}/lib/krb5 -I${KRB5SRC}/lib/kadm5 -I. DPADD+= ${LIBREADLINE} ${LIBCURSES} ${LIBKADM5CLNT} ${LIBKRB5} \ ${LIBCRYPTO} ${LIBDES} -- cgit v1.2.3