summaryrefslogtreecommitdiff
path: root/kerberosV/usr.sbin/kadmin/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'kerberosV/usr.sbin/kadmin/Makefile')
-rw-r--r--kerberosV/usr.sbin/kadmin/Makefile48
1 files changed, 48 insertions, 0 deletions
diff --git a/kerberosV/usr.sbin/kadmin/Makefile b/kerberosV/usr.sbin/kadmin/Makefile
new file mode 100644
index 00000000000..d77ceb4b375
--- /dev/null
+++ b/kerberosV/usr.sbin/kadmin/Makefile
@@ -0,0 +1,48 @@
+# $OpenBSD: Makefile,v 1.22 2013/06/19 07:06:22 ajacoutot Exp $
+
+PROG= kadmin
+MAN= kadmin.8
+
+SRCS= add_enctype.c \
+ ank.c \
+ check.c \
+ cpw.c \
+ del.c \
+ del_enctype.c \
+ dump.c \
+ ext.c \
+ get.c \
+ init.c \
+ kadmin.c \
+ kadmin-commands.c \
+ kadmin-commands.h \
+ load.c \
+ mod.c \
+ pw_quality.c \
+ random_password.c \
+ rename.c \
+ stash.c \
+ util.c
+
+CFLAGS+=-I${KRB5DIR}/lib/asn1 -I${KRB5DIR}/lib/krb5 -I${KRB5DIR}/lib/roken \
+ -I${KRB5DIR}/lib/sl -I. ${LDAPCFLAGS}
+DPADD= ${LIBKADM5CLNT} ${LIBKADM5SRV} ${LIBHDB} ${LIBKRB5} ${LIBHX509} \
+ ${LIBSL} ${LIBROKEN} ${LIBVERS} ${LIBASN1} \
+ ${LIBCRYPTO} ${LIBCRYPT} ${LIBCOM_ERR} \
+ ${LIBEDIT} ${LIBNCURSES} ${LDAPDPADD}
+LDADD= -lkadm5clnt -lkadm5srv -lhdb -lkrb5 -lhx509 \
+ ${LIBSL} -lroken ${LIBVERS} -lasn1 \
+ -lcrypto -lcom_err -lpthread \
+ -ledit -lncurses -lwind -lheimbase
+
+.include <bsd.prog.mk>
+
+kadmin-commands.h: ${KRB5DIR}/kadmin/kadmin-commands.in
+ ${SLC} ${.ALLSRC:M*.in}
+
+.for ext in o c
+kadmin-commands.${ext}: kadmin-commands.h
+.endfor
+
+.PATH: ${KRB5DIR}/kadmin
+