summaryrefslogtreecommitdiffstats
path: root/kerberos5/tools/asn1_compile/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'kerberos5/tools/asn1_compile/Makefile')
-rw-r--r--kerberos5/tools/asn1_compile/Makefile42
1 files changed, 42 insertions, 0 deletions
diff --git a/kerberos5/tools/asn1_compile/Makefile b/kerberos5/tools/asn1_compile/Makefile
new file mode 100644
index 0000000..c90a201
--- /dev/null
+++ b/kerberos5/tools/asn1_compile/Makefile
@@ -0,0 +1,42 @@
+# $FreeBSD$
+
+PROG= asn1_compile
+NOMAN=
+
+SRCS= \
+ gen.c \
+ gen_copy.c \
+ gen_decode.c \
+ gen_encode.c \
+ gen_free.c \
+ gen_glue.c \
+ gen_length.c \
+ hash.c \
+ emalloc.c \
+ main.c \
+ symbol.c \
+ getarg.c \
+ warnerr.c \
+ lex.l \
+ parse.y \
+ print_version.c \
+ print_version.h \
+ get_window_size.c \
+ strupr.c
+
+CFLAGS+= -I${KRB5DIR}/lib/roken -I${KRB5DIR}/lib/asn1 -I.
+
+print_version.h: ../make-print-version/make-print-version
+ ../make-print-version/make-print-version ${.TARGET}
+
+../make-print-version/make-print-version:
+ cd ${.CURDIR}/../make-print-version && ${MAKE}
+
+CLEANFILES= print_version.h
+
+.include <bsd.prog.mk>
+
+.PATH: ${KRB5DIR}/lib/roken ${KRB5DIR}/lib/asn1 ${KRB5DIR}/lib/vers
+
+# There are two print_version.c's, select the right one.
+print_version.o: ${KRB5DIR}/lib/vers/print_version.c
OpenPOWER on IntegriCloud