summaryrefslogtreecommitdiff
path: root/kerberosV/usr.bin/asn1_compile
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/usr.bin/asn1_compile
parentfdab9928d481a0ada4f4f65436cb7eeff5c28d2d (diff)
krb5 user tools.
XXX asn1_compile should probably be moved to src/usr.bin instead.
Diffstat (limited to 'kerberosV/usr.bin/asn1_compile')
-rw-r--r--kerberosV/usr.bin/asn1_compile/Makefile24
1 files changed, 24 insertions, 0 deletions
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>