diff options
author | Bjorn Sandell <biorn@cvs.openbsd.org> | 2006-04-14 08:28:56 +0000 |
---|---|---|
committer | Bjorn Sandell <biorn@cvs.openbsd.org> | 2006-04-14 08:28:56 +0000 |
commit | 836fca0485d881d5f139e2255dc3dd4d5610cf47 (patch) | |
tree | 1b1974ffadafb08649a3fadd802820d19ddba4af /kerberosV/usr.sbin/ktutil | |
parent | 5a4ee3110ee6b3ae8ef7cb0d2a7bbd09e7ca1206 (diff) |
fixes for heimdal 0.7.2
Diffstat (limited to 'kerberosV/usr.sbin/ktutil')
-rw-r--r-- | kerberosV/usr.sbin/ktutil/Makefile | 14 |
1 files changed, 12 insertions, 2 deletions
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} |