summaryrefslogtreecommitdiff
path: root/kerberosV/usr.sbin/kadmin
diff options
context:
space:
mode:
authorBjorn Sandell <biorn@cvs.openbsd.org>2006-04-14 08:28:56 +0000
committerBjorn Sandell <biorn@cvs.openbsd.org>2006-04-14 08:28:56 +0000
commit836fca0485d881d5f139e2255dc3dd4d5610cf47 (patch)
tree1b1974ffadafb08649a3fadd802820d19ddba4af /kerberosV/usr.sbin/kadmin
parent5a4ee3110ee6b3ae8ef7cb0d2a7bbd09e7ca1206 (diff)
fixes for heimdal 0.7.2
Diffstat (limited to 'kerberosV/usr.sbin/kadmin')
-rw-r--r--kerberosV/usr.sbin/kadmin/Makefile24
1 files changed, 18 insertions, 6 deletions
diff --git a/kerberosV/usr.sbin/kadmin/Makefile b/kerberosV/usr.sbin/kadmin/Makefile
index bb418da6003..f101639d7e5 100644
--- a/kerberosV/usr.sbin/kadmin/Makefile
+++ b/kerberosV/usr.sbin/kadmin/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.14 2004/06/04 23:45:19 biorn Exp $
+# $OpenBSD: Makefile,v 1.15 2006/04/14 08:28:55 biorn Exp $
KRBDEPTH=../..
.include <${.CURDIR}/../../Makefile.inc>
@@ -15,13 +15,17 @@ SRCS= ank.c \
get.c \
init.c \
kadmin.c \
+ kadmin-commands.c \
+ kadmin-commands.h \
+ kadmin_locl.h \
load.c \
mod.c \
- rename.c \
- util.c \
+ pw_quality.c \
random_password.c \
- kadmin_locl.h \
- sl.c
+ rename.c \
+ sl.c \
+ stash.c \
+ util.c
SRCS+= ${PRINTVER}
SRCS+= tm2time.c
@@ -29,7 +33,15 @@ SRCS+= tm2time.c
.PATH: ${KRB5SRC}/lib/sl
.PATH: ${ROKENSRC}
-CFLAGS+=-I${KRB5SRC}/lib/krb5 -I${KRB5SRC}/lib/kadm5
+slc: slc-gram.o slc-lex.o ${PRINTVER}
+ $(CC) -o slc $> -lkrb5 -lcrypto
+
+SLC= slc
+
+kadmin: kadmin-commands.h
+kadmin-commands.c kadmin-commands.h: kadmin-commands.in $(SLC)
+ ./$(SLC) $(KRB5SRC)/kadmin/kadmin-commands.in
+CFLAGS+=-I${KRB5SRC}/lib/krb5 -I${KRB5SRC}/lib/kadm5 -I.
DPADD+= ${LIBREADLINE} ${LIBCURSES} ${LIBKADM5SRV} ${LIBKADM5CLNT} \
${LIBKRB5} ${LIBCRYPTO} ${LIBDES}