1# $Id: Makefile.am,v 1.95 2000/01/08 17:03:51 assar Exp $ 2 3include $(top_srcdir)/Makefile.am.common 4 5INCLUDES += $(INCLUDE_krb4) 6 7bin_PROGRAMS = verify_krb5_conf 8 9noinst_PROGRAMS = dump_config 10 11check_PROGRAMS = n-fold-test string-to-key-test 12TESTS = n-fold-test string-to-key-test 13 14if KRB4 15KRB4LIB = $(LIB_krb4) 16keytab_krb4_c = keytab_krb4.c 17endif 18 19LDADD = libkrb5.la \ 20 $(KRB4LIB) \ 21 $(top_builddir)/lib/des/libdes.la \ 22 $(top_builddir)/lib/asn1/libasn1.la \ 23 $(LIB_roken) 24 25lib_LTLIBRARIES = libkrb5.la 26 27ERR_FILES = krb5_err.c heim_err.c 28 29libkrb5_la_SOURCES = \ 30 add_et_list.c \ 31 addr_families.c \ 32 address.c \ 33 aname_to_localname.c \ 34 asn1_glue.c \ 35 auth_context.c \ 36 build_ap_req.c \ 37 build_auth.c \ 38 cache.c \ 39 changepw.c \ 40 codec.c \ 41 config_file.c \ 42 config_file_netinfo.c \ 43 convert_creds.c \ 44 constants.c \ 45 context.c \ 46 copy_host_realm.c \ 47 crc.c \ 48 creds.c \ 49 crypto.c \ 50 data.c \ 51 expand_hostname.c \ 52 fcache.c \ 53 free.c \ 54 free_host_realm.c \ 55 generate_seq_number.c \ 56 generate_subkey.c \ 57 get_addrs.c \ 58 get_cred.c \ 59 get_default_principal.c \ 60 get_default_realm.c \ 61 get_for_creds.c \ 62 get_host_realm.c \ 63 get_in_tkt.c \ 64 get_in_tkt_pw.c \ 65 get_in_tkt_with_keytab.c \ 66 get_in_tkt_with_skey.c \ 67 get_port.c \ 68 init_creds.c \ 69 init_creds_pw.c \ 70 keyblock.c \ 71 keytab.c \ 72 keytab_file.c \ 73 keytab_memory.c \ 74 $(keytab_krb4_c) \ 75 keytab_keyfile.c \ 76 krbhst.c \ 77 kuserok.c \ 78 log.c \ 79 mcache.c \ 80 misc.c \ 81 mk_error.c \ 82 mk_priv.c \ 83 mk_rep.c \ 84 mk_req.c \ 85 mk_req_ext.c \ 86 mk_safe.c \ 87 net_read.c \ 88 net_write.c \ 89 n-fold.c \ 90 padata.c \ 91 principal.c \ 92 prog_setup.c \ 93 prompter_posix.c \ 94 rd_cred.c \ 95 rd_error.c \ 96 rd_priv.c \ 97 rd_rep.c \ 98 rd_req.c \ 99 rd_safe.c \ 100 read_message.c \ 101 recvauth.c \ 102 send_to_kdc.c \ 103 sendauth.c \ 104 set_default_realm.c \ 105 sock_principal.c \ 106 store.c \ 107 store_emem.c \ 108 store_fd.c \ 109 store_mem.c \ 110 ticket.c \ 111 time.c \ 112 transited.c \ 113 verify_init.c \ 114 verify_user.c \ 115 version.c \ 116 warn.c \ 117 write_message.c \ 118 $(ERR_FILES) 119 120EXTRA_libkrb5_la_SOURCES = keytab_krb4.c 121 122libkrb5_la_LDFLAGS = -version-info 7:1:0 123 124$(libkrb5_la_OBJECTS): $(srcdir)/krb5-protos.h $(srcdir)/krb5-private.h 125 126$(srcdir)/krb5-protos.h: 127 cd $(srcdir); perl ../../cf/make-proto.pl -o krb5-protos.h $(libkrb5_la_SOURCES) || rm -f krb5-protos.h 128 129$(srcdir)/krb5-private.h: 130 cd $(srcdir); perl ../../cf/make-proto.pl -p krb5-private.h $(libkrb5_la_SOURCES) || rm -f krb5-private.h 131 132libkrb5_la_LIBADD = ../com_err/error.lo ../com_err/com_err.lo 133 134man_MANS = krb5.conf.5 krb5_warn.3 krb5_openlog.3 \ 135 krb5_425_conv_principal.3 krb5_build_principal.3 krb5_free_principal.3 \ 136 krb5_parse_name.3 krb5_sname_to_principal.3 krb5_unparse_name.3 137 138include_HEADERS = krb5.h krb5-protos.h krb5-private.h krb5_err.h heim_err.h 139 140CLEANFILES = krb5_err.c krb5_err.h heim_err.c heim_err.h 141 142$(libkrb5_la_OBJECTS): krb5_err.h heim_err.h 143 144# to help stupid solaris make 145 146krb5_err.h: krb5_err.et 147 148heim_err.h: heim_err.et 149