diff options
Diffstat (limited to 'kerberosV/lib/hdb/Makefile')
-rw-r--r-- | kerberosV/lib/hdb/Makefile | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/kerberosV/lib/hdb/Makefile b/kerberosV/lib/hdb/Makefile new file mode 100644 index 00000000000..db74ac0ad95 --- /dev/null +++ b/kerberosV/lib/hdb/Makefile @@ -0,0 +1,42 @@ +# $OpenBSD: Makefile,v 1.1 2001/05/25 08:18:53 hin Exp $ + +KRBDEPTH=../.. +.include <${.CURDIR}/../../Makefile.inc> + +INCLUDE_FILES= ${KRB5SRC}/lib/hdb/{hdb.h,hdb-protos.h,hdb-private.h} \ + hdb_err.h hdb_asn1.h + +includes: hdb_err.h hdb_asn1.h + +LIB= hdb +NOPIC= +NOPROFILE= + +ASN1_SRC = asn1_Key.c asn1_Event.c asn1_HDBFlags.c asn1_hdb_entry.c \ + asn1_Salt.c hdb_asn1.h + +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}: ${KRB5SRC}/lib/hdb/hdb.asn1 + 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+= ${ASN1_SRC} ${ASN1_SRC:.c=.x} hdb_err.[ch] \ + hdb_asn1.[ch] ans1_files asn1.h asn1_files + +CFLAGS+=-I${KRB5SRC}/lib/hdb -I${KRB5SRC}/lib/asn1 -I../asn1 -I. -I../krb5 +.PATH: ${KRB5SRC}/lib/hdb + +hdb_err.c hdb_err.h: ${KRB5SRC}/lib/hdb/hdb_err.et + compile_et ${KRB5SRC}/lib/hdb/hdb_err.et + +.include <bsd.lib.mk> |