2001-12-12 03:51:00 +03:00
|
|
|
# $NetBSD: Makefile,v 1.20 2001/12/12 00:51:04 tv Exp $
|
|
|
|
|
|
|
|
NOLINT= # defined
|
2000-12-30 20:21:44 +03:00
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
2000-06-17 02:46:43 +04:00
|
|
|
DIST= ${.CURDIR}/../../crypto/dist
|
2001-12-12 03:51:00 +03:00
|
|
|
.PATH: ${DIST}/heimdal/lib/krb5 ${DIST}/heimdal/doc
|
2000-06-16 23:27:31 +04:00
|
|
|
|
2001-12-12 03:51:00 +03:00
|
|
|
WARNS?= 1
|
2000-06-16 23:27:31 +04:00
|
|
|
|
2001-12-12 03:51:00 +03:00
|
|
|
LIB= krb5
|
2000-06-16 23:27:31 +04:00
|
|
|
|
2001-10-31 19:15:00 +03:00
|
|
|
.if ${USETOOLS} != "yes"
|
2001-09-22 02:58:59 +04:00
|
|
|
COMPILEETOBJ!= cd ${.CURDIR}/../libcom_err/compile_et && ${PRINTOBJDIR}
|
|
|
|
COMPILE_ET= ${COMPILEETOBJ}/compile_et
|
|
|
|
.endif
|
2000-06-16 23:27:31 +04:00
|
|
|
|
|
|
|
krb5_err.c krb5_err.h: krb5_err.et
|
2001-09-22 02:58:59 +04:00
|
|
|
${COMPILE_ET} ${DIST}/heimdal/lib/krb5/krb5_err.et
|
2000-06-16 23:27:31 +04:00
|
|
|
|
|
|
|
heim_err.c heim_err.h: heim_err.et
|
2001-09-22 02:58:59 +04:00
|
|
|
${COMPILE_ET} ${DIST}/heimdal/lib/krb5/heim_err.et
|
2000-06-16 23:27:31 +04:00
|
|
|
|
2001-09-17 16:34:40 +04:00
|
|
|
k524_err.c k524_err.h: k524_err.et
|
2001-09-22 02:58:59 +04:00
|
|
|
${COMPILE_ET} ${DIST}/heimdal/lib/krb5/k524_err.et
|
2000-06-16 23:27:31 +04:00
|
|
|
|
2001-12-12 03:51:00 +03:00
|
|
|
ERR_FILES= krb5_err.c heim_err.c k524_err.c
|
|
|
|
DPSRCS= krb5_err.h heim_err.h k524_err.h
|
2000-06-16 23:27:31 +04:00
|
|
|
|
|
|
|
SRCS= \
|
2000-08-03 07:53:35 +04:00
|
|
|
acl.c \
|
2000-06-16 23:27:31 +04:00
|
|
|
add_et_list.c \
|
|
|
|
addr_families.c \
|
|
|
|
aname_to_localname.c \
|
2000-08-03 07:53:35 +04:00
|
|
|
appdefault.c \
|
2000-06-16 23:27:31 +04:00
|
|
|
asn1_glue.c \
|
|
|
|
auth_context.c \
|
|
|
|
build_ap_req.c \
|
|
|
|
build_auth.c \
|
|
|
|
cache.c \
|
|
|
|
changepw.c \
|
|
|
|
codec.c \
|
|
|
|
config_file.c \
|
|
|
|
config_file_netinfo.c \
|
|
|
|
convert_creds.c \
|
|
|
|
constants.c \
|
|
|
|
context.c \
|
|
|
|
copy_host_realm.c \
|
|
|
|
crc.c \
|
|
|
|
creds.c \
|
|
|
|
crypto.c \
|
|
|
|
data.c \
|
2000-08-03 07:53:35 +04:00
|
|
|
eai_to_heim_errno.c \
|
2001-06-20 06:01:18 +04:00
|
|
|
error_string.c \
|
2000-06-16 23:27:31 +04:00
|
|
|
expand_hostname.c \
|
|
|
|
fcache.c \
|
|
|
|
free.c \
|
|
|
|
free_host_realm.c \
|
|
|
|
generate_seq_number.c \
|
|
|
|
generate_subkey.c \
|
|
|
|
get_addrs.c \
|
|
|
|
get_cred.c \
|
|
|
|
get_default_principal.c \
|
|
|
|
get_default_realm.c \
|
|
|
|
get_for_creds.c \
|
|
|
|
get_host_realm.c \
|
|
|
|
get_in_tkt.c \
|
|
|
|
get_in_tkt_pw.c \
|
|
|
|
get_in_tkt_with_keytab.c \
|
|
|
|
get_in_tkt_with_skey.c \
|
|
|
|
get_port.c \
|
|
|
|
init_creds.c \
|
|
|
|
init_creds_pw.c \
|
|
|
|
keyblock.c \
|
|
|
|
keytab.c \
|
2001-06-20 06:01:18 +04:00
|
|
|
keytab_any.c \
|
2000-06-16 23:27:31 +04:00
|
|
|
keytab_file.c \
|
|
|
|
keytab_memory.c \
|
|
|
|
keytab_keyfile.c \
|
|
|
|
keytab_krb4.c \
|
|
|
|
krbhst.c \
|
|
|
|
kuserok.c \
|
|
|
|
log.c \
|
|
|
|
mcache.c \
|
|
|
|
misc.c \
|
|
|
|
mk_error.c \
|
|
|
|
mk_priv.c \
|
|
|
|
mk_rep.c \
|
|
|
|
mk_req.c \
|
|
|
|
mk_req_ext.c \
|
|
|
|
mk_safe.c \
|
|
|
|
net_read.c \
|
|
|
|
net_write.c \
|
|
|
|
n-fold.c \
|
|
|
|
padata.c \
|
|
|
|
principal.c \
|
|
|
|
prog_setup.c \
|
|
|
|
prompter_posix.c \
|
|
|
|
rd_cred.c \
|
|
|
|
rd_error.c \
|
|
|
|
rd_priv.c \
|
|
|
|
rd_rep.c \
|
|
|
|
rd_req.c \
|
|
|
|
rd_safe.c \
|
|
|
|
read_message.c \
|
|
|
|
recvauth.c \
|
2001-02-11 21:02:04 +03:00
|
|
|
replay.c \
|
2000-06-16 23:27:31 +04:00
|
|
|
send_to_kdc.c \
|
|
|
|
sendauth.c \
|
|
|
|
set_default_realm.c \
|
|
|
|
sock_principal.c \
|
|
|
|
store.c \
|
|
|
|
store_emem.c \
|
|
|
|
store_fd.c \
|
|
|
|
store_mem.c \
|
|
|
|
ticket.c \
|
|
|
|
time.c \
|
|
|
|
transited.c \
|
|
|
|
verify_init.c \
|
|
|
|
verify_user.c \
|
|
|
|
version.c \
|
|
|
|
warn.c \
|
|
|
|
write_message.c \
|
|
|
|
$(ERR_FILES)
|
|
|
|
|
|
|
|
INCS= krb5.h \
|
|
|
|
krb5-protos.h \
|
|
|
|
krb5-private.h \
|
|
|
|
krb5_err.h \
|
|
|
|
heim_err.h \
|
2001-09-17 16:34:40 +04:00
|
|
|
k524_err.h \
|
2000-06-16 23:27:31 +04:00
|
|
|
krb5-types.h
|
|
|
|
|
2000-08-03 07:53:35 +04:00
|
|
|
MAN= \
|
2001-06-20 06:01:18 +04:00
|
|
|
kerberos.8 \
|
2000-08-03 07:53:35 +04:00
|
|
|
krb5.conf.5 \
|
2001-11-08 22:47:59 +03:00
|
|
|
krb5.3 \
|
2000-06-16 23:27:31 +04:00
|
|
|
krb5_425_conv_principal.3 \
|
2000-08-03 07:53:35 +04:00
|
|
|
krb5_appdefault.3 \
|
2001-06-20 06:01:18 +04:00
|
|
|
krb5_auth_context.3 \
|
2000-06-16 23:27:31 +04:00
|
|
|
krb5_build_principal.3 \
|
2000-08-03 07:53:35 +04:00
|
|
|
krb5_config.3 \
|
2001-06-20 06:01:18 +04:00
|
|
|
krb5_context.3 \
|
2000-06-16 23:27:31 +04:00
|
|
|
krb5_free_principal.3 \
|
2001-06-20 06:01:18 +04:00
|
|
|
krb5_init_context.3 \
|
|
|
|
krb5_keytab.3 \
|
2000-08-03 07:53:35 +04:00
|
|
|
krb5_openlog.3 \
|
2000-06-16 23:27:31 +04:00
|
|
|
krb5_parse_name.3 \
|
|
|
|
krb5_sname_to_principal.3 \
|
2000-08-03 07:53:35 +04:00
|
|
|
krb5_unparse_name.3 \
|
|
|
|
krb5_warn.3 \
|
2001-02-11 21:02:04 +03:00
|
|
|
verify_krb5_conf.8 \
|
2000-06-16 23:27:31 +04:00
|
|
|
|
2001-11-09 18:44:31 +03:00
|
|
|
MLINKS= \
|
|
|
|
krb5_425_conv_principal.3 krb5_425_conv_principal_ext.3 \
|
|
|
|
krb5_425_conv_principal.3 krb5_524_conv_principal.3 \
|
|
|
|
krb5_appdefault.3 krb5_appdefault_boolean.3 \
|
|
|
|
krb5_appdefault.3 krb5_appdefault_string.3 \
|
|
|
|
krb5_appdefault.3 krb5_appdefault_time.3 \
|
|
|
|
krb5_auth_context.3 krb5_auth_con_init.3 \
|
|
|
|
krb5_auth_context.3 krb5_auth_con_free.3 \
|
|
|
|
krb5_auth_context.3 krb5_auth_con_setflags.3 \
|
|
|
|
krb5_auth_context.3 krb5_auth_con_getflags.3 \
|
|
|
|
krb5_auth_context.3 krb5_auth_con_setaddrs.3 \
|
|
|
|
krb5_auth_context.3 krb5_auth_con_setaddrs_from_fd.3 \
|
|
|
|
krb5_auth_context.3 krb5_auth_con_getaddrs.3 \
|
|
|
|
krb5_auth_context.3 krb5_auth_con_genaddrs.3 \
|
|
|
|
krb5_auth_context.3 krb5_auth_con_getkey.3 \
|
|
|
|
krb5_auth_context.3 krb5_auth_con_setkey.3 \
|
|
|
|
krb5_auth_context.3 krb5_auth_con_getuserkey.3 \
|
|
|
|
krb5_auth_context.3 krb5_auth_con_setuserkey.3 \
|
|
|
|
krb5_auth_context.3 krb5_auth_con_getlocalsubkey.3 \
|
|
|
|
krb5_auth_context.3 krb5_auth_con_setlocalsubkey.3 \
|
|
|
|
krb5_auth_context.3 krb5_auth_con_getremotesubkey.3 \
|
|
|
|
krb5_auth_context.3 krb5_auth_con_setremotesubkey.3 \
|
|
|
|
krb5_auth_context.3 krb5_auth_setcksumtype.3 \
|
|
|
|
krb5_auth_context.3 krb5_auth_getcksumtype.3 \
|
|
|
|
krb5_auth_context.3 krb5_auth_setkeytype.3 \
|
|
|
|
krb5_auth_context.3 krb5_auth_getkeytype.3 \
|
|
|
|
krb5_auth_context.3 krb5_auth_getlocalseqnumber.3 \
|
|
|
|
krb5_auth_context.3 krb5_auth_setlocalseqnumber.3 \
|
|
|
|
krb5_auth_context.3 krb5_auth_getremoteseqnumber.3 \
|
|
|
|
krb5_auth_context.3 krb5_auth_setremoteseqnumber.3 \
|
|
|
|
krb5_auth_context.3 krb5_auth_getauthenticator.3 \
|
|
|
|
krb5_auth_context.3 krb5_auth_con_getrcache.3 \
|
|
|
|
krb5_auth_context.3 krb5_auth_con_setrcache.3 \
|
|
|
|
krb5_auth_context.3 krb5_auth_con_initivector.3 \
|
|
|
|
krb5_auth_context.3 krb5_auth_con_setivector.3 \
|
|
|
|
krb5_build_principal.3 krb5_build_principal_ext.3 \
|
|
|
|
krb5_build_principal.3 krb5_build_principal_va.3 \
|
|
|
|
krb5_build_principal.3 krb5_build_principal_va_ext.3 \
|
|
|
|
krb5_build_principal.3 krb5_make_principal.3 \
|
|
|
|
krb5_config.3 krb5_config_get_bool_default.3 \
|
|
|
|
krb5_config.3 krb5_config_get_int_default.3 \
|
|
|
|
krb5_config.3 krb5_config_get_string_default.3 \
|
|
|
|
krb5_config.3 krb5_config_get_time_default.3 \
|
|
|
|
krb5_init_context.3 krb5_free_context.3 \
|
|
|
|
krb5_keytab.3 krb5_kt_ops.3 \
|
|
|
|
krb5_keytab.3 krb5_keytab_entry.3 \
|
|
|
|
krb5_keytab.3 krb5_kt_cursor.3 \
|
|
|
|
krb5_keytab.3 krb5_kt_add_entry.3 \
|
|
|
|
krb5_keytab.3 krb5_kt_close.3 \
|
|
|
|
krb5_keytab.3 krb5_kt_compare.3 \
|
|
|
|
krb5_keytab.3 krb5_kt_copy_entry_contents.3 \
|
|
|
|
krb5_keytab.3 krb5_kt_default.3 \
|
|
|
|
krb5_keytab.3 krb5_kt_default_name.3 \
|
|
|
|
krb5_keytab.3 krb5_kt_end_seq_get.3 \
|
|
|
|
krb5_keytab.3 krb5_kt_free_entry.3 \
|
|
|
|
krb5_keytab.3 krb5_kt_get_entry.3 \
|
|
|
|
krb5_keytab.3 krb5_kt_get_name.3 \
|
|
|
|
krb5_keytab.3 krb5_kt_next_entry.3 \
|
|
|
|
krb5_keytab.3 krb5_kt_read_service_key.3 \
|
|
|
|
krb5_keytab.3 krb5_kt_register.3 \
|
|
|
|
krb5_keytab.3 krb5_kt_remove_entry.3 \
|
|
|
|
krb5_keytab.3 krb5_kt_resolve.3 \
|
|
|
|
krb5_keytab.3 krb5_kt_start_seq_get.3 \
|
|
|
|
krb5_openlog.3 krb5_initlog.3 \
|
|
|
|
krb5_openlog.3 krb5_closelog.3 \
|
|
|
|
krb5_openlog.3 krb5_addlog_dest.3 \
|
|
|
|
krb5_openlog.3 krb5_addlog_func.3 \
|
|
|
|
krb5_openlog.3 krb5_log.3 \
|
|
|
|
krb5_openlog.3 krb5_vlog.3 \
|
|
|
|
krb5_openlog.3 krb5_log_msg.3 \
|
|
|
|
krb5_openlog.3 krb5_vlog_msg.3 \
|
|
|
|
krb5_sname_to_principal.3 krb5_sock_to_principal.3 \
|
|
|
|
krb5_warn.3 krb5_warnx.3 \
|
|
|
|
krb5_warn.3 krb5_vwarn.3 \
|
|
|
|
krb5_warn.3 krb5_vwarnx.3 \
|
|
|
|
krb5_warn.3 krb5_err.3 \
|
|
|
|
krb5_warn.3 krb5_errx.3 \
|
|
|
|
krb5_warn.3 krb5_verr.3 \
|
|
|
|
krb5_warn.3 krb5_verrx.3 \
|
|
|
|
krb5_warn.3 krb5_set_warn_dest.3
|
|
|
|
|
2000-06-16 23:27:31 +04:00
|
|
|
krb5-types.h:
|
|
|
|
cp ${.CURDIR}/../../include/heimdal/$@ $@
|
|
|
|
|
2001-12-12 03:51:00 +03:00
|
|
|
INCSDIR= /usr/include/krb5
|
2000-06-16 23:27:31 +04:00
|
|
|
|
2001-12-12 03:51:00 +03:00
|
|
|
ASN1!= cd ${.CURDIR}/../libasn1 && ${PRINTOBJDIR}
|
2000-06-16 23:27:31 +04:00
|
|
|
|
|
|
|
CPPFLAGS+= -I. \
|
|
|
|
-I${DIST}/heimdal/lib/krb5 \
|
2001-09-17 16:34:40 +04:00
|
|
|
-I${DIST}/openssl/crypto \
|
2000-06-16 23:27:31 +04:00
|
|
|
-I${ASN1} \
|
|
|
|
-I${DIST}/heimdal/lib/asn1 \
|
|
|
|
-I${DIST}/heimdal/lib/com_err \
|
|
|
|
-I${.CURDIR}/../../include/heimdal \
|
|
|
|
-I${.CURDIR}/../libroken \
|
|
|
|
-I${DIST}/heimdal/lib/roken \
|
|
|
|
-DHAVE_CONFIG_H
|
|
|
|
|
2001-12-12 03:51:00 +03:00
|
|
|
CLEANFILES= ${ERR_FILES} krb5_err.h heim_err.h krb5-types.h k524_err.h
|
2000-06-16 23:27:31 +04:00
|
|
|
|
2001-12-12 03:51:00 +03:00
|
|
|
${SRCS:.c=.o}: krb5_err.h heim_err.h k524_err.h
|
2000-06-16 23:27:31 +04:00
|
|
|
|
|
|
|
TEXINFO= heimdal.texi
|
|
|
|
INFOFLAGS= -I${DIST}/heimdal/doc
|
|
|
|
|
2000-06-20 03:50:52 +04:00
|
|
|
# Prevent collision with old MIT Kerberos includes -- require manual
|
|
|
|
# intervention of the operator.
|
|
|
|
.BEGIN:
|
|
|
|
.ifmake includes
|
|
|
|
@if [ -f ${DESTDIR}${INCSDIR}/osconf.h ]; then \
|
|
|
|
echo "Error: you must first remove the MIT headers from ${DESTDIR}${INCSDIR}" >&2; \
|
|
|
|
false; \
|
|
|
|
fi
|
|
|
|
.endif
|
|
|
|
|
2000-06-16 23:27:31 +04:00
|
|
|
.include <bsd.lib.mk>
|
|
|
|
.include <bsd.info.mk>
|
2000-09-10 23:36:43 +04:00
|
|
|
|
|
|
|
.if ${MKSHARE} != "no"
|
2001-12-12 03:51:00 +03:00
|
|
|
FILES= ${DIST}/heimdal/krb5.conf
|
|
|
|
FILESDIR= /usr/share/examples/kerberos
|
2000-09-10 23:36:43 +04:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.files.mk>
|