4 LDFLAGS= -Wl,--no-undefined ${LDAPLDFLAGS}
5 VERSION_MAP= ${KRB5DIR}/lib/hdb/version-script.map
6 LIBADD= asn1 com_err krb5 roken sqlite3
10 MAN= HDB.3 hdb_entry_ex.3
12 MLINKS= HDB.3 hdb__del.3 \
15 HDB.3 hdb_auth_status.3 \
16 HDB.3 hdb_check_constrained_delegation.3 \
17 HDB.3 hdb_check_pkinit_ms_upn_match.3 \
18 HDB.3 hdb_check_s4u2self.3 \
21 HDB.3 hdb_fetch_kvno.3 \
22 HDB.3 hdb_firstkey.3 \
24 HDB.3 hdb_get_realms.3 \
29 HDB.3 hdb_password.3 \
57 ${GEN:S/.x$/.c/:S/.hx$/.h/}
59 CFLAGS+=-I${KRB5DIR}/lib/hdb -I${KRB5DIR}/lib/asn1 \
60 -I${KRB5DIR}/lib/roken -I${.CURDIR}/../../../contrib/sqlite3/ \
61 -I${KRB5DIR}/lib/krb5 \
63 CFLAGS+=-DHDB_DB_DIR="\"/var/heimdal\""
70 asn1_HDB_Ext_PKINIT_acl.x \
71 asn1_HDB_Ext_PKINIT_cert.x \
72 asn1_HDB_Ext_PKINIT_hash.x \
73 asn1_HDB_Ext_Constrained_delegation_acl.x \
74 asn1_HDB_Ext_Lan_Manager_OWF.x \
75 asn1_HDB_Ext_Password.x \
76 asn1_HDB_Ext_Aliases.x \
77 asn1_HDB_extension.x \
78 asn1_HDB_extensions.x \
80 asn1_hdb_entry_alias.x \
85 CLEANFILES= ${GEN} ${GEN:S/.x$/.c/:S/.hx$/.h/} hdb_asn1_files \
86 hdb_asn1-template.[ch]*
90 ${ASN1_COMPILE} ${.ALLSRC:M*.asn1} hdb_asn1
92 .SUFFIXES: .h .c .x .hx
95 ${CP} ${.IMPSRC} ${.TARGET}
98 ${CP} ${.IMPSRC} ${.TARGET}
100 # This makefile generates a lot of its headers
101 # so tell bsd.sys.mk not to try and stage them before they are built.
103 NO_BEFOREBUILD_INCLUDES=
105 .include <bsd.lib.mk>
107 .SUFFIXES: .h .c .x .hx
109 .PATH: ${KRB5DIR}/lib/hdb ${KRB5DIR}/doc/doxyout/hdb/man/man3/