2000-01-15 21:38:08 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
LIB= hdb
|
2015-08-27 15:03:34 +00:00
|
|
|
LDFLAGS= -Wl,--no-undefined ${LDAPLDFLAGS}
|
2012-03-22 08:48:42 +00:00
|
|
|
VERSION_MAP= ${KRB5DIR}/lib/hdb/version-script.map
|
2015-05-20 18:56:29 +00:00
|
|
|
LIBADD= asn1 com_err krb5 roken sqlite3
|
2015-08-27 15:03:34 +00:00
|
|
|
LDADD= ${LDAPLDADD}
|
2014-11-25 09:57:42 +00:00
|
|
|
DPADD= ${LDAPDPADD}
|
2001-02-13 16:57:04 +00:00
|
|
|
|
2012-03-22 08:48:42 +00:00
|
|
|
MAN= HDB.3 hdb_entry_ex.3
|
|
|
|
|
|
|
|
MLINKS= HDB.3 hdb__del.3 \
|
|
|
|
HDB.3 hdb__get.3 \
|
|
|
|
HDB.3 hdb__put.3 \
|
|
|
|
HDB.3 hdb_auth_status.3 \
|
|
|
|
HDB.3 hdb_check_constrained_delegation.3 \
|
|
|
|
HDB.3 hdb_check_pkinit_ms_upn_match.3 \
|
|
|
|
HDB.3 hdb_check_s4u2self.3 \
|
|
|
|
HDB.3 hdb_close.3 \
|
|
|
|
HDB.3 hdb_destroy.3 \
|
|
|
|
HDB.3 hdb_fetch_kvno.3 \
|
|
|
|
HDB.3 hdb_firstkey.3 \
|
|
|
|
HDB.3 hdb_free.3 \
|
|
|
|
HDB.3 hdb_get_realms.3 \
|
|
|
|
HDB.3 hdb_lock.3 \
|
|
|
|
HDB.3 hdb_name.3 \
|
|
|
|
HDB.3 hdb_nextkey.3 \
|
|
|
|
HDB.3 hdb_open.3 \
|
|
|
|
HDB.3 hdb_password.3 \
|
|
|
|
HDB.3 hdb_remove.3 \
|
|
|
|
HDB.3 hdb_rename.3 \
|
|
|
|
HDB.3 hdb_store.3 \
|
|
|
|
HDB.3 hdb_unlock.3
|
|
|
|
|
|
|
|
INCS= hdb-protos.h \
|
2004-02-05 18:51:52 +00:00
|
|
|
hdb.h \
|
|
|
|
hdb_asn1.h \
|
2004-01-31 08:15:57 +00:00
|
|
|
hdb_err.h
|
2003-10-09 19:50:00 +00:00
|
|
|
|
2004-02-05 18:51:52 +00:00
|
|
|
SRCS= common.c \
|
|
|
|
db.c \
|
|
|
|
db3.c \
|
2008-05-07 13:53:12 +00:00
|
|
|
dbinfo.c \
|
|
|
|
ext.c \
|
2004-02-05 18:51:52 +00:00
|
|
|
hdb-ldap.c \
|
|
|
|
hdb.c \
|
|
|
|
hdb_err.c \
|
|
|
|
hdb_err.h \
|
2012-03-22 08:48:42 +00:00
|
|
|
hdb-sqlite.c \
|
|
|
|
hdb-keytab.c \
|
|
|
|
hdb-mitdb.c \
|
2008-05-07 13:53:12 +00:00
|
|
|
keys.c \
|
2004-02-05 18:51:52 +00:00
|
|
|
keytab.c \
|
|
|
|
mkey.c \
|
|
|
|
ndbm.c \
|
|
|
|
print.c \
|
2012-03-22 08:48:42 +00:00
|
|
|
${GEN:S/.x$/.c/:S/.hx$/.h/}
|
2001-02-13 16:57:04 +00:00
|
|
|
|
2004-02-05 18:51:52 +00:00
|
|
|
CFLAGS+=-I${KRB5DIR}/lib/hdb -I${KRB5DIR}/lib/asn1 \
|
2017-03-04 11:34:36 +00:00
|
|
|
-I${KRB5DIR}/lib/roken -I${SRCTOP}/contrib/sqlite3/ \
|
2012-03-22 08:48:42 +00:00
|
|
|
-I${KRB5DIR}/lib/krb5 \
|
2019-01-14 06:34:54 +00:00
|
|
|
-I${SRCTOP}/contrib/com_err \
|
2012-03-22 08:48:42 +00:00
|
|
|
-I. ${LDAPCFLAGS}
|
2008-05-07 13:53:12 +00:00
|
|
|
CFLAGS+=-DHDB_DB_DIR="\"/var/heimdal\""
|
2003-07-18 13:21:58 +00:00
|
|
|
|
2008-05-07 13:53:12 +00:00
|
|
|
GEN= asn1_Salt.x \
|
2004-02-05 18:51:52 +00:00
|
|
|
asn1_Key.x \
|
2008-05-07 13:53:12 +00:00
|
|
|
asn1_Event.x \
|
|
|
|
asn1_HDBFlags.x \
|
|
|
|
asn1_GENERATION.x \
|
|
|
|
asn1_HDB_Ext_PKINIT_acl.x \
|
2012-03-22 08:48:42 +00:00
|
|
|
asn1_HDB_Ext_PKINIT_cert.x \
|
2008-05-07 13:53:12 +00:00
|
|
|
asn1_HDB_Ext_PKINIT_hash.x \
|
|
|
|
asn1_HDB_Ext_Constrained_delegation_acl.x \
|
|
|
|
asn1_HDB_Ext_Lan_Manager_OWF.x \
|
|
|
|
asn1_HDB_Ext_Password.x \
|
|
|
|
asn1_HDB_Ext_Aliases.x \
|
|
|
|
asn1_HDB_extension.x \
|
|
|
|
asn1_HDB_extensions.x \
|
|
|
|
asn1_hdb_entry.x \
|
2012-03-22 08:48:42 +00:00
|
|
|
asn1_hdb_entry_alias.x \
|
|
|
|
asn1_hdb_keyset.x \
|
|
|
|
hdb_asn1.hx \
|
|
|
|
hdb_asn1-priv.hx
|
2000-01-15 21:38:08 +00:00
|
|
|
|
2012-03-22 08:48:42 +00:00
|
|
|
CLEANFILES= ${GEN} ${GEN:S/.x$/.c/:S/.hx$/.h/} hdb_asn1_files \
|
|
|
|
hdb_asn1-template.[ch]*
|
2000-01-15 21:38:08 +00:00
|
|
|
|
2014-02-19 07:09:14 +00:00
|
|
|
.ORDER: ${GEN}
|
2016-06-03 19:25:41 +00:00
|
|
|
${GEN:[2..-1]}: .NOMETA
|
2012-03-22 08:48:42 +00:00
|
|
|
${GEN}: hdb.asn1
|
|
|
|
${ASN1_COMPILE} ${.ALLSRC:M*.asn1} hdb_asn1
|
2000-02-28 19:15:32 +00:00
|
|
|
|
2012-03-22 08:48:42 +00:00
|
|
|
.SUFFIXES: .h .c .x .hx
|
|
|
|
|
|
|
|
.x.c:
|
2015-01-16 21:39:08 +00:00
|
|
|
${CP} ${.IMPSRC} ${.TARGET}
|
2012-03-22 08:48:42 +00:00
|
|
|
|
|
|
|
.hx.h:
|
2015-01-16 21:39:08 +00:00
|
|
|
${CP} ${.IMPSRC} ${.TARGET}
|
2000-01-15 21:38:08 +00:00
|
|
|
|
2004-01-31 08:15:57 +00:00
|
|
|
.include <bsd.lib.mk>
|
2000-01-15 21:38:08 +00:00
|
|
|
|
2012-03-22 08:48:42 +00:00
|
|
|
.SUFFIXES: .h .c .x .hx
|
|
|
|
|
|
|
|
.PATH: ${KRB5DIR}/lib/hdb ${KRB5DIR}/doc/doxyout/hdb/man/man3/
|