summaryrefslogtreecommitdiff
path: root/lib/libkrb5/Makefile.hdb.inc
diff options
context:
space:
mode:
authorHans Insulander <hin@cvs.openbsd.org>2003-05-14 09:06:00 +0000
committerHans Insulander <hin@cvs.openbsd.org>2003-05-14 09:06:00 +0000
commit3e440853e80c8e91c45776f32a22899172df175a (patch)
treeb7c9907f3f085ebd8206ce8511de837ccd38d225 /lib/libkrb5/Makefile.hdb.inc
parent8588540876fe4a62fe0d0fb41e3d208126670b90 (diff)
New libkrb5, with a number of other krb5 related folded into one.
Not yet activated in the tree, that will be done later. ok mho@
Diffstat (limited to 'lib/libkrb5/Makefile.hdb.inc')
-rw-r--r--lib/libkrb5/Makefile.hdb.inc35
1 files changed, 35 insertions, 0 deletions
diff --git a/lib/libkrb5/Makefile.hdb.inc b/lib/libkrb5/Makefile.hdb.inc
new file mode 100644
index 00000000000..5b97c4660f5
--- /dev/null
+++ b/lib/libkrb5/Makefile.hdb.inc
@@ -0,0 +1,35 @@
+# $OpenBSD: Makefile.hdb.inc,v 1.1 2003/05/14 09:05:59 hin Exp $
+
+INCLUDE_FILES+= ${KRB5SRC}/lib/hdb/{hdb.h,hdb-protos.h,hdb-private.h} \
+ hdb_err.h ${.CURDIR}/hdb_asn1.h
+
+includes: hdb_err.h hdb_asn1.h
+
+ASN1_SRC = asn1_Key.c asn1_Event.c asn1_HDBFlags.c asn1_hdb_entry.c \
+ asn1_Salt.c hdb_asn1.h asn1_GENERATION.c
+
+SRCS+= ${ASN1_SRC} \
+ keytab.c \
+ hdb.c \
+ common.c \
+ db.c \
+ mkey.c \
+ ndbm.c \
+ print.c \
+ hdb_err.c \
+ hdb_err.h
+
+${ASN1_SRC}:
+ asn1_compile ${KRB5SRC}/lib/hdb/hdb.asn1 hdb_asn1
+ for f in *.x; do mv $$f `echo $$f | sed s,.x$$,.c,g`; done
+
+CLEANFILES+= hdb_err.[ch] ${ASN1_SRC} \
+ hdb_asn1.[ch] ans1_files asn1.h asn1_files
+
+CFLAGS+=-I${KRB5SRC}/lib/hdb -I${KRB5SRC}/lib/asn1
+
+.PATH: ${KRB5SRC}/lib/hdb
+
+hdb_err.c hdb_err.h: ${KRB5SRC}/lib/hdb/hdb_err.et
+ compile_et ${KRB5SRC}/lib/hdb/hdb_err.et
+