1# $FreeBSD$ 2 3LIB= krb5 4LDFLAGS= -Wl,--no-undefined 5VERSION_MAP= ${KRB5DIR}/lib/krb5/version-script.map 6LDADD= -lasn1 -lcom_err -lcrypt -lcrypto -lhx509 -lroken 7DPADD= ${LIBASN1} ${LIBCOM_ERR} ${LIBCRYPT} ${LIBCRYPTO} ${LIBHX509} ${LIBROKEN} 8 9INCS= heim_err.h \ 10 heim_threads.h \ 11 k524_err.h \ 12 krb5-protos.h \ 13 krb5-types.h \ 14 krb5.h \ 15 krb5_err.h \ 16 krb5-v4compat.h \ 17 krb_err.h 18 19MAN= krb5.3 \ 20 krb524_convert_creds_kdc.3 \ 21 krb5_425_conv_principal.3 \ 22 krb5_acl_match_file.3 \ 23 krb5_address.3 \ 24 krb5_aname_to_localname.3 \ 25 krb5_appdefault.3 \ 26 krb5_auth_context.3 \ 27 krb5_c_make_checksum.3 \ 28 krb5_ccache.3 \ 29 krb5_check_transited.3 \ 30 krb5_compare_creds.3 \ 31 krb5_config.3 \ 32 krb5_context.3 \ 33 krb5_create_checksum.3 \ 34 krb5_creds.3 \ 35 krb5_crypto_init.3 \ 36 krb5_data.3 \ 37 krb5_digest.3 \ 38 krb5_eai_to_heim_errno.3 \ 39 krb5_encrypt.3 \ 40 krb5_expand_hostname.3 \ 41 krb5_find_padata.3 \ 42 krb5_generate_random_block.3 \ 43 krb5_get_all_client_addrs.3 \ 44 krb5_get_credentials.3 \ 45 krb5_get_creds.3 \ 46 krb5_get_forwarded_creds.3 \ 47 krb5_get_in_cred.3 \ 48 krb5_get_init_creds.3 \ 49 krb5_get_krbhst.3 \ 50 krb5_getportbyname.3 \ 51 krb5_init_context.3 \ 52 krb5_is_thread_safe.3 \ 53 krb5_keyblock.3 \ 54 krb5_keytab.3 \ 55 krb5_krbhst_init.3 \ 56 krb5_kuserok.3 \ 57 krb5_mk_req.3 \ 58 krb5_mk_safe.3 \ 59 krb5_openlog.3 \ 60 krb5_parse_name.3 \ 61 krb5_principal.3 \ 62 krb5_rcache.3 \ 63 krb5_rd_error.3 \ 64 krb5_rd_safe.3 \ 65 krb5_set_default_realm.3 \ 66 krb5_set_password.3 \ 67 krb5_storage.3 \ 68 krb5_string_to_key.3 \ 69 krb5_ticket.3 \ 70 krb5_timeofday.3 \ 71 krb5_unparse_name.3 \ 72 krb5_verify_init_creds.3 \ 73 krb5_verify_user.3 \ 74 krb5_warn.3 \ 75 verify_krb5_conf.8 76 77MAN+= krb5.conf.5 78MAN+= kerberos.8 79 80MLINKS= krb5_425_conv_principal.3 krb5_425_conv_principal_ext.3 \ 81 krb5_425_conv_principal.3 krb5_524_conv_principal.3 \ 82 krb5_address.3 krb5_addr2sockaddr.3 \ 83 krb5_address.3 krb5_address_compare.3 \ 84 krb5_address.3 krb5_address_order.3 \ 85 krb5_address.3 krb5_address_search.3 \ 86 krb5_address.3 krb5_addresses.3 \ 87 krb5_address.3 krb5_anyaddr.3 \ 88 krb5_address.3 krb5_append_addresses.3 \ 89 krb5_address.3 krb5_copy_address.3 \ 90 krb5_address.3 krb5_copy_addresses.3 \ 91 krb5_address.3 krb5_free_address.3 \ 92 krb5_address.3 krb5_free_addresses.3 \ 93 krb5_address.3 krb5_h_addr2addr.3 \ 94 krb5_address.3 krb5_h_addr2sockaddr.3 \ 95 krb5_address.3 krb5_make_addrport.3 \ 96 krb5_address.3 krb5_max_sockaddr_size.3 \ 97 krb5_address.3 krb5_parse_address.3 \ 98 krb5_address.3 krb5_print_address.3 \ 99 krb5_address.3 krb5_sockaddr2address.3 \ 100 krb5_address.3 krb5_sockaddr2port.3 \ 101 krb5_address.3 krb5_sockaddr_uninteresting.3 \ 102 krb5_appdefault.3 krb5_appdefault_boolean.3 \ 103 krb5_appdefault.3 krb5_appdefault_string.3 \ 104 krb5_appdefault.3 krb5_appdefault_time.3 \ 105 krb5_auth_context.3 krb5_auth_con_free.3 \ 106 krb5_auth_context.3 krb5_auth_con_genaddrs.3 \ 107 krb5_auth_context.3 krb5_auth_con_getaddrs.3 \ 108 krb5_auth_context.3 krb5_auth_con_getflags.3 \ 109 krb5_auth_context.3 krb5_auth_con_getkey.3 \ 110 krb5_auth_context.3 krb5_auth_con_getlocalsubkey.3 \ 111 krb5_auth_context.3 krb5_auth_con_getrcache.3 \ 112 krb5_auth_context.3 krb5_auth_con_getremotesubkey.3 \ 113 krb5_auth_context.3 krb5_auth_con_getuserkey.3 \ 114 krb5_auth_context.3 krb5_auth_con_init.3 \ 115 krb5_auth_context.3 krb5_auth_con_initivector.3 \ 116 krb5_auth_context.3 krb5_auth_con_setaddrs.3 \ 117 krb5_auth_context.3 krb5_auth_con_setaddrs_from_fd.3 \ 118 krb5_auth_context.3 krb5_auth_con_setflags.3 \ 119 krb5_auth_context.3 krb5_auth_con_setivector.3 \ 120 krb5_auth_context.3 krb5_auth_con_setkey.3 \ 121 krb5_auth_context.3 krb5_auth_con_setlocalsubkey.3 \ 122 krb5_auth_context.3 krb5_auth_con_setrcache.3 \ 123 krb5_auth_context.3 krb5_auth_con_setremotesubkey.3 \ 124 krb5_auth_context.3 krb5_auth_con_setuserkey.3 \ 125 krb5_auth_context.3 krb5_auth_getauthenticator.3 \ 126 krb5_auth_context.3 krb5_auth_getcksumtype.3 \ 127 krb5_auth_context.3 krb5_auth_getkeytype.3 \ 128 krb5_auth_context.3 krb5_auth_getlocalseqnumber.3 \ 129 krb5_auth_context.3 krb5_auth_getremoteseqnumber.3 \ 130 krb5_auth_context.3 krb5_auth_setcksumtype.3 \ 131 krb5_auth_context.3 krb5_auth_setkeytype.3 \ 132 krb5_auth_context.3 krb5_auth_setlocalseqnumber.3 \ 133 krb5_auth_context.3 krb5_auth_setremoteseqnumber.3 \ 134 krb5_ccache.3 krb5_cc_close.3 \ 135 krb5_ccache.3 krb5_cc_copy_cache.3 \ 136 krb5_ccache.3 krb5_cc_cursor.3 \ 137 krb5_ccache.3 krb5_cc_default.3 \ 138 krb5_ccache.3 krb5_cc_default_name.3 \ 139 krb5_ccache.3 krb5_cc_destroy.3 \ 140 krb5_ccache.3 krb5_cc_end_seq_get.3 \ 141 krb5_ccache.3 krb5_cc_gen_new.3 \ 142 krb5_ccache.3 krb5_cc_get_name.3 \ 143 krb5_ccache.3 krb5_cc_get_ops.3 \ 144 krb5_ccache.3 krb5_cc_get_principal.3 \ 145 krb5_ccache.3 krb5_cc_get_type.3 \ 146 krb5_ccache.3 krb5_cc_get_version.3 \ 147 krb5_ccache.3 krb5_cc_initialize.3 \ 148 krb5_ccache.3 krb5_cc_next_cred.3 \ 149 krb5_ccache.3 krb5_cc_ops.3 \ 150 krb5_ccache.3 krb5_cc_register.3 \ 151 krb5_ccache.3 krb5_cc_remove_cred.3 \ 152 krb5_ccache.3 krb5_cc_resolve.3 \ 153 krb5_ccache.3 krb5_cc_retrieve_cred.3 \ 154 krb5_ccache.3 krb5_cc_set_default_name.3 \ 155 krb5_ccache.3 krb5_cc_set_flags.3 \ 156 krb5_ccache.3 krb5_cc_store_cred.3 \ 157 krb5_ccache.3 krb5_fcc_ops.3 \ 158 krb5_ccache.3 krb5_mcc_ops.3 \ 159 krb5_config.3 krb5_config_get_bool_default.3 \ 160 krb5_config.3 krb5_config_get_int_default.3 \ 161 krb5_config.3 krb5_config_get_string_default.3 \ 162 krb5_config.3 krb5_config_get_time_default.3 \ 163 krb5_create_checksum.3 krb5_checksum_is_collision_proof.3 \ 164 krb5_create_checksum.3 krb5_checksum_is_keyed.3 \ 165 krb5_create_checksum.3 krb5_checksumsize.3 \ 166 krb5_create_checksum.3 krb5_verify_checksum.3 \ 167 krb5_crypto_init.3 krb5_crypto_destroy.3 \ 168 krb5_data.3 krb5_copy_data.3 \ 169 krb5_data.3 krb5_data_alloc.3 \ 170 krb5_data.3 krb5_data_copy.3 \ 171 krb5_data.3 krb5_data_free.3 \ 172 krb5_data.3 krb5_data_realloc.3 \ 173 krb5_data.3 krb5_data_zero.3 \ 174 krb5_data.3 krb5_free_data.3 \ 175 krb5_data.3 krb5_free_data_contents.3 \ 176 krb5_encrypt.3 krb5_decrypt.3 \ 177 krb5_encrypt.3 krb5_decrypt_EncryptedData.3 \ 178 krb5_encrypt.3 krb5_encrypt_EncryptedData.3 \ 179 krb5_get_all_client_addrs.3 krb5_get_all_server_addrs.3 \ 180 krb5_get_krbhst.3 krb5_free_krbhst.3 \ 181 krb5_get_krbhst.3 krb5_get_krb524hst.3 \ 182 krb5_get_krbhst.3 krb5_get_krb_admin_hst.3 \ 183 krb5_get_krbhst.3 krb5_get_krb_changepw_hst.3 \ 184 krb5_init_context.3 krb5_free_context.3 \ 185 krb5_keytab.3 krb5_keytab_entry.3 \ 186 krb5_keytab.3 krb5_kt_add_entry.3 \ 187 krb5_keytab.3 krb5_kt_close.3 \ 188 krb5_keytab.3 krb5_kt_compare.3 \ 189 krb5_keytab.3 krb5_kt_copy_entry_contents.3 \ 190 krb5_keytab.3 krb5_kt_cursor.3 \ 191 krb5_keytab.3 krb5_kt_default.3 \ 192 krb5_keytab.3 krb5_kt_default_name.3 \ 193 krb5_keytab.3 krb5_kt_end_seq_get.3 \ 194 krb5_keytab.3 krb5_kt_free_entry.3 \ 195 krb5_keytab.3 krb5_kt_get_entry.3 \ 196 krb5_keytab.3 krb5_kt_get_name.3 \ 197 krb5_keytab.3 krb5_kt_get_type.3 \ 198 krb5_keytab.3 krb5_kt_next_entry.3 \ 199 krb5_keytab.3 krb5_kt_ops.3 \ 200 krb5_keytab.3 krb5_kt_read_service_key.3 \ 201 krb5_keytab.3 krb5_kt_register.3 \ 202 krb5_keytab.3 krb5_kt_remove_entry.3 \ 203 krb5_keytab.3 krb5_kt_resolve.3 \ 204 krb5_keytab.3 krb5_kt_start_seq_get.3 \ 205 krb5_krbhst_init.3 krb5_krbhst_format_string.3 \ 206 krb5_krbhst_init.3 krb5_krbhst_free.3 \ 207 krb5_krbhst_init.3 krb5_krbhst_get_addrinfo.3 \ 208 krb5_krbhst_init.3 krb5_krbhst_next.3 \ 209 krb5_krbhst_init.3 krb5_krbhst_next_as_string.3 \ 210 krb5_krbhst_init.3 krb5_krbhst_reset.3 \ 211 krb5_openlog.3 krb5_addlog_dest.3 \ 212 krb5_openlog.3 krb5_addlog_func.3 \ 213 krb5_openlog.3 krb5_closelog.3 \ 214 krb5_openlog.3 krb5_initlog.3 \ 215 krb5_openlog.3 krb5_log.3 \ 216 krb5_openlog.3 krb5_log_msg.3 \ 217 krb5_openlog.3 krb5_vlog.3 \ 218 krb5_openlog.3 krb5_vlog_msg.3 \ 219 krb5_principal.3 krb5_get_default_principal.3 \ 220 krb5_principal.3 krb5_build_principal.3 \ 221 krb5_principal.3 krb5_build_principal_ext.3 \ 222 krb5_principal.3 krb5_build_principal_va.3 \ 223 krb5_principal.3 krb5_build_principal_va_ext.3 \ 224 krb5_principal.3 krb5_copy_principal.3 \ 225 krb5_principal.3 krb5_free_principal.3 \ 226 krb5_principal.3 krb5_make_principal.3 \ 227 krb5_principal.3 krb5_parse_name.3 \ 228 krb5_principal.3 krb5_parse_name_flags.3 \ 229 krb5_principal.3 krb5_parse_nametype.3 \ 230 krb5_principal.3 krb5_princ_realm.3 \ 231 krb5_principal.3 krb5_princ_set_realm.3 \ 232 krb5_principal.3 krb5_principal_compare.3 \ 233 krb5_principal.3 krb5_principal_compare_any_realm.3 \ 234 krb5_principal.3 krb5_principal_get_comp_string.3 \ 235 krb5_principal.3 krb5_principal_get_realm.3 \ 236 krb5_principal.3 krb5_principal_get_type.3 \ 237 krb5_principal.3 krb5_principal_match.3 \ 238 krb5_principal.3 krb5_principal_set_type.3 \ 239 krb5_principal.3 krb5_realm_compare.3 \ 240 krb5_principal.3 krb5_sname_to_principal.3 \ 241 krb5_principal.3 krb5_sock_to_principal.3 \ 242 krb5_principal.3 krb5_unparse_name.3 \ 243 krb5_principal.3 krb5_unparse_name_flags.3 \ 244 krb5_principal.3 krb5_unparse_name_fixed.3 \ 245 krb5_principal.3 krb5_unparse_name_fixed_flags.3 \ 246 krb5_principal.3 krb5_unparse_name_fixed_short.3 \ 247 krb5_principal.3 krb5_unparse_name_short.3 \ 248 krb5_set_default_realm.3 krb5_free_host_realm.3 \ 249 krb5_set_default_realm.3 krb5_get_default_realm.3 \ 250 krb5_set_default_realm.3 krb5_get_default_realms.3 \ 251 krb5_set_default_realm.3 krb5_get_host_realm.3 \ 252 krb5_timeofday.3 krb5_us_timeofday.3 \ 253 krb5_verify_user.3 krb5_verify_opt_init.3 \ 254 krb5_verify_user.3 krb5_verify_opt_set_flags.3 \ 255 krb5_verify_user.3 krb5_verify_opt_set_keytab.3 \ 256 krb5_verify_user.3 krb5_verify_opt_set_secure.3 \ 257 krb5_verify_user.3 krb5_verify_opt_set_service.3 \ 258 krb5_verify_user.3 krb5_verify_user_lrealm.3 \ 259 krb5_verify_user.3 krb5_verify_user_opt.3 \ 260 krb5_warn.3 krb5_err.3 \ 261 krb5_warn.3 krb5_errx.3 \ 262 krb5_warn.3 krb5_set_warn_dest.3 \ 263 krb5_warn.3 krb5_verr.3 \ 264 krb5_warn.3 krb5_verrx.3 \ 265 krb5_warn.3 krb5_vwarn.3 \ 266 krb5_warn.3 krb5_vwarnx.3 \ 267 krb5_warn.3 krb5_warnx.3 268 269SRCS= acache.c \ 270 acl.c \ 271 add_et_list.c \ 272 addr_families.c \ 273 aname_to_localname.c \ 274 appdefault.c \ 275 asn1_glue.c \ 276 auth_context.c \ 277 build_ap_req.c \ 278 build_auth.c \ 279 cache.c \ 280 changepw.c \ 281 codec.c \ 282 config_file.c \ 283 config_file_netinfo.c \ 284 constants.c \ 285 context.c \ 286 convert_creds.c \ 287 copy_host_realm.c \ 288 crc.c \ 289 creds.c \ 290 crypto.c \ 291 data.c \ 292 digest.c \ 293 eai_to_heim_errno.c \ 294 error_string.c \ 295 expand_hostname.c \ 296 fcache.c \ 297 free.c \ 298 free_host_realm.c \ 299 generate_seq_number.c \ 300 generate_subkey.c \ 301 get_addrs.c \ 302 get_cred.c \ 303 get_default_principal.c \ 304 get_default_realm.c \ 305 get_for_creds.c \ 306 get_host_realm.c \ 307 get_in_tkt.c \ 308 get_in_tkt_pw.c \ 309 get_in_tkt_with_keytab.c \ 310 get_in_tkt_with_skey.c \ 311 get_port.c \ 312 heim_threads.h \ 313 init_creds.c \ 314 init_creds_pw.c \ 315 kcm.c \ 316 kcm.h \ 317 keyblock.c \ 318 keytab.c \ 319 keytab_any.c \ 320 keytab_file.c \ 321 keytab_keyfile.c \ 322 keytab_krb4.c \ 323 keytab_memory.c \ 324 krb5_locl.h \ 325 krb5-v4compat.h \ 326 krbhst.c \ 327 kuserok.c \ 328 log.c \ 329 mcache.c \ 330 misc.c \ 331 mk_error.c \ 332 mk_priv.c \ 333 mk_rep.c \ 334 mk_req.c \ 335 mk_req_ext.c \ 336 mk_safe.c \ 337 mit_glue.c \ 338 n-fold.c \ 339 net_read.c \ 340 net_write.c \ 341 pac.c \ 342 padata.c \ 343 pkinit.c \ 344 principal.c \ 345 prog_setup.c \ 346 prompter_posix.c \ 347 rd_cred.c \ 348 rd_error.c \ 349 rd_priv.c \ 350 rd_rep.c \ 351 rd_req.c \ 352 rd_safe.c \ 353 read_message.c \ 354 recvauth.c \ 355 replay.c \ 356 send_to_kdc.c \ 357 sendauth.c \ 358 set_default_realm.c \ 359 sock_principal.c \ 360 store.c \ 361 store-int.h \ 362 store_emem.c \ 363 store_fd.c \ 364 store_mem.c \ 365 plugin.c \ 366 ticket.c \ 367 time.c \ 368 transited.c \ 369 v4_glue.c \ 370 verify_init.c \ 371 verify_user.c \ 372 version.c \ 373 warn.c \ 374 write_message.c 375 376SRCS+= heim_err.c \ 377 heim_err.h \ 378 hx509_err.c \ 379 hx509_err.h \ 380 k524_err.c \ 381 k524_err.h \ 382 krb5_err.c \ 383 krb5_err.h \ 384 krb_err.c \ 385 krb_err.h 386 387CFLAGS+=-I${KRB5DIR}/lib/krb5 -I${KRB5DIR}/lib/asn1 -I${KRB5DIR}/lib/roken -I. 388 389.include <bsd.lib.mk> 390 391.PATH: ${KRB5DIR}/lib/krb5 ${KRB5DIR}/lib/asn1 ${.CURDIR}/../../include 392