summaryrefslogtreecommitdiff
path: root/kerberosV
diff options
context:
space:
mode:
authorHans Insulander <hin@cvs.openbsd.org>2001-05-25 08:20:35 +0000
committerHans Insulander <hin@cvs.openbsd.org>2001-05-25 08:20:35 +0000
commit85dcc3e5003dbc2d2940e8a608c2234c931700c1 (patch)
treec4963f31a8f0a7816f84f0ba01e4001311d01cc8 /kerberosV
parentfdab9928d481a0ada4f4f65436cb7eeff5c28d2d (diff)
krb5 user tools.
XXX asn1_compile should probably be moved to src/usr.bin instead.
Diffstat (limited to 'kerberosV')
-rw-r--r--kerberosV/usr.bin/Makefile7
-rw-r--r--kerberosV/usr.bin/Makefile.inc3
-rw-r--r--kerberosV/usr.bin/asn1_compile/Makefile24
-rw-r--r--kerberosV/usr.bin/kauth/Makefile15
-rw-r--r--kerberosV/usr.bin/kdestroy/Makefile14
-rw-r--r--kerberosV/usr.bin/kinit/Makefile14
-rw-r--r--kerberosV/usr.bin/klist/Makefile15
-rw-r--r--kerberosV/usr.bin/pagsh/Makefile14
8 files changed, 106 insertions, 0 deletions
diff --git a/kerberosV/usr.bin/Makefile b/kerberosV/usr.bin/Makefile
new file mode 100644
index 00000000000..2e6344cfaa8
--- /dev/null
+++ b/kerberosV/usr.bin/Makefile
@@ -0,0 +1,7 @@
+# $OpenBSD: Makefile,v 1.1 2001/05/25 08:20:30 hin Exp $
+
+# XXX asn1_compile is compiled in ../Makefile
+
+SUBDIR = kauth klist kdestroy
+
+.include <bsd.subdir.mk>
diff --git a/kerberosV/usr.bin/Makefile.inc b/kerberosV/usr.bin/Makefile.inc
new file mode 100644
index 00000000000..c38170156b9
--- /dev/null
+++ b/kerberosV/usr.bin/Makefile.inc
@@ -0,0 +1,3 @@
+# $OpenBSD: Makefile.inc,v 1.1 2001/05/25 08:20:32 hin Exp $
+
+BINDIR= /usr/bin \ No newline at end of file
diff --git a/kerberosV/usr.bin/asn1_compile/Makefile b/kerberosV/usr.bin/asn1_compile/Makefile
new file mode 100644
index 00000000000..d36c3647271
--- /dev/null
+++ b/kerberosV/usr.bin/asn1_compile/Makefile
@@ -0,0 +1,24 @@
+# $OpenBSD: Makefile,v 1.1 2001/05/25 08:20:32 hin Exp $
+
+KRBDEPTH= ../..
+.include <${.CURDIR}/${KRBDEPTH}/Makefile.inc>
+
+PROG= asn1_compile
+NOMAN=
+SRCS= parse.c lex.l main.c hash.c symbol.c gen.c \
+ gen_encode.c gen_decode.c gen_free.c gen_length.c gen_copy.c \
+ gen_glue.c
+
+CLEANFILES= parse.[ch] lex.[ch]
+
+parse.h parse.c: parse.y
+ ${YACC} -d -o parse.c $<
+LDADD+= ${LIBROKEN}
+CFLAGS+= -I${KRB5SRC}/lib/asn1 -I. -I${KRB5SRC}/lib/roken
+
+test:
+ echo ${LIBROKEN}
+
+.PATH: ${KRB5SRC}/lib/asn1
+
+.include <bsd.prog.mk>
diff --git a/kerberosV/usr.bin/kauth/Makefile b/kerberosV/usr.bin/kauth/Makefile
new file mode 100644
index 00000000000..56b51c4ebdd
--- /dev/null
+++ b/kerberosV/usr.bin/kauth/Makefile
@@ -0,0 +1,15 @@
+# $OpenBSD: Makefile,v 1.1 2001/05/25 08:20:33 hin Exp $
+
+KRBDEPTH=../..
+.include <${.CURDIR}/../../Makefile.inc>
+
+PROG= kauth
+NOMAN=
+
+SRCS= kinit.c kauth_options.c
+
+.PATH: ${KRB5SRC}/kuser
+
+LDADD+= ${LIBROKEN} -lkrb5 -ldes -lkafs -l45 -lkrb -lkafs5
+
+.include <bsd.prog.mk> \ No newline at end of file
diff --git a/kerberosV/usr.bin/kdestroy/Makefile b/kerberosV/usr.bin/kdestroy/Makefile
new file mode 100644
index 00000000000..66d41e54638
--- /dev/null
+++ b/kerberosV/usr.bin/kdestroy/Makefile
@@ -0,0 +1,14 @@
+# $OpenBSD: Makefile,v 1.1 2001/05/25 08:20:33 hin Exp $
+
+KRBDEPTH=../..
+.include <${.CURDIR}/../../Makefile.inc>
+
+PROG= kdestroy
+
+SRCS= kdestroy.c
+
+.PATH: ${KRB5SRC}/kuser
+
+LDADD+= ${LIBROKEN} -lkrb5 -ldes -lkafs -lkrb
+
+.include <bsd.prog.mk> \ No newline at end of file
diff --git a/kerberosV/usr.bin/kinit/Makefile b/kerberosV/usr.bin/kinit/Makefile
new file mode 100644
index 00000000000..4bbdf799bb0
--- /dev/null
+++ b/kerberosV/usr.bin/kinit/Makefile
@@ -0,0 +1,14 @@
+# $OpenBSD: Makefile,v 1.1 2001/05/25 08:20:34 hin Exp $
+
+KRBDEPTH=../..
+.include <${.CURDIR}/../../Makefile.inc>
+
+PROG= kinit
+
+SRCS= kinit.c kinit_options.c
+
+.PATH: ${KRB5SRC}/kuser
+
+LDADD+= ${LIBROKEN} -lkrb5 -ldes -lkafs -l45 -lkrb -lkafs5
+
+.include <bsd.prog.mk> \ No newline at end of file
diff --git a/kerberosV/usr.bin/klist/Makefile b/kerberosV/usr.bin/klist/Makefile
new file mode 100644
index 00000000000..37dcbf20dbd
--- /dev/null
+++ b/kerberosV/usr.bin/klist/Makefile
@@ -0,0 +1,15 @@
+# $OpenBSD: Makefile,v 1.1 2001/05/25 08:20:34 hin Exp $
+
+KRBDEPTH=../..
+.include <${.CURDIR}/../../Makefile.inc>
+
+PROG= klist
+
+SRCS= klist.c
+
+.PATH: ${KRB5SRC}/kuser
+
+CFLAGS+=-I${KRB5SRC}/lib/roken
+LDADD+= -lkrb5 -ldes -lkafs -lkrb ${LIBROKEN}
+
+.include <bsd.prog.mk> \ No newline at end of file
diff --git a/kerberosV/usr.bin/pagsh/Makefile b/kerberosV/usr.bin/pagsh/Makefile
new file mode 100644
index 00000000000..91782bc8a16
--- /dev/null
+++ b/kerberosV/usr.bin/pagsh/Makefile
@@ -0,0 +1,14 @@
+# $OpenBSD: Makefile,v 1.1 2001/05/25 08:20:34 hin Exp $
+
+KRBDEPTH=../..
+.include <${.CURDIR}/../../Makefile.inc>
+
+PROG= pagsh
+
+.PATH: ${KRB5SRC}/appl/afsutil
+NOMAN=
+
+CFLAGS+=-I${KRB5SRC}/lib/roken
+LDADD+= ${LIBROKEN} -lkrb5 -ldes -lkafs -lkrb
+
+.include <bsd.prog.mk> \ No newline at end of file