1# $Id: Makefile.am,v 1.156.2.4 2004/06/21 10:52:01 lha Exp $ 2 3include $(top_srcdir)/Makefile.am.common 4 5INCLUDES += $(INCLUDE_krb4) $(INCLUDE_des) -I../com_err -I$(srcdir)/../com_err 6 7bin_PROGRAMS = verify_krb5_conf 8 9noinst_PROGRAMS = dump_config test_get_addrs krbhst-test test_alname 10 11TESTS = \ 12 aes-test \ 13 n-fold-test \ 14 string-to-key-test \ 15 derived-key-test \ 16 store-test \ 17 parse-name-test \ 18 test_cc \ 19 name-45-test 20 21check_PROGRAMS = $(TESTS) 22 23LDADD = libkrb5.la \ 24 $(LIB_des) \ 25 $(top_builddir)/lib/asn1/libasn1.la \ 26 $(LIB_roken) 27 28libkrb5_la_LIBADD = \ 29 ../com_err/error.lo ../com_err/com_err.lo \ 30 $(LIB_des) \ 31 $(top_builddir)/lib/asn1/libasn1.la \ 32 $(LIB_roken) 33 34lib_LTLIBRARIES = libkrb5.la 35 36ERR_FILES = krb5_err.c heim_err.c k524_err.c 37 38libkrb5_la_SOURCES = \ 39 acl.c \ 40 add_et_list.c \ 41 addr_families.c \ 42 aname_to_localname.c \ 43 appdefault.c \ 44 asn1_glue.c \ 45 auth_context.c \ 46 build_ap_req.c \ 47 build_auth.c \ 48 cache.c \ 49 changepw.c \ 50 codec.c \ 51 config_file.c \ 52 config_file_netinfo.c \ 53 convert_creds.c \ 54 constants.c \ 55 context.c \ 56 copy_host_realm.c \ 57 crc.c \ 58 creds.c \ 59 crypto.c \ 60 data.c \ 61 eai_to_heim_errno.c \ 62 error_string.c \ 63 expand_hostname.c \ 64 fcache.c \ 65 free.c \ 66 free_host_realm.c \ 67 generate_seq_number.c \ 68 generate_subkey.c \ 69 get_addrs.c \ 70 get_cred.c \ 71 get_default_principal.c \ 72 get_default_realm.c \ 73 get_for_creds.c \ 74 get_host_realm.c \ 75 get_in_tkt.c \ 76 get_in_tkt_pw.c \ 77 get_in_tkt_with_keytab.c \ 78 get_in_tkt_with_skey.c \ 79 get_port.c \ 80 init_creds.c \ 81 init_creds_pw.c \ 82 keyblock.c \ 83 keytab.c \ 84 keytab_any.c \ 85 keytab_file.c \ 86 keytab_memory.c \ 87 keytab_keyfile.c \ 88 keytab_krb4.c \ 89 krbhst.c \ 90 kuserok.c \ 91 log.c \ 92 mcache.c \ 93 misc.c \ 94 mk_error.c \ 95 mk_priv.c \ 96 mk_rep.c \ 97 mk_req.c \ 98 mk_req_ext.c \ 99 mk_safe.c \ 100 net_read.c \ 101 net_write.c \ 102 n-fold.c \ 103 padata.c \ 104 principal.c \ 105 prog_setup.c \ 106 prompter_posix.c \ 107 rd_cred.c \ 108 rd_error.c \ 109 rd_priv.c \ 110 rd_rep.c \ 111 rd_req.c \ 112 rd_safe.c \ 113 read_message.c \ 114 recvauth.c \ 115 replay.c \ 116 send_to_kdc.c \ 117 sendauth.c \ 118 set_default_realm.c \ 119 sock_principal.c \ 120 store.c \ 121 store-int.h \ 122 store_emem.c \ 123 store_fd.c \ 124 store_mem.c \ 125 ticket.c \ 126 time.c \ 127 transited.c \ 128 verify_init.c \ 129 verify_user.c \ 130 version.c \ 131 warn.c \ 132 write_message.c \ 133 $(ERR_FILES) 134 135libkrb5_la_LDFLAGS = -version-info 20:0:3 136 137$(libkrb5_la_OBJECTS): $(srcdir)/krb5-protos.h $(srcdir)/krb5-private.h 138 139$(srcdir)/krb5-protos.h: 140 cd $(srcdir) && perl ../../cf/make-proto.pl -q -P comment -o krb5-protos.h $(libkrb5_la_SOURCES) || rm -f krb5-protos.h 141 142$(srcdir)/krb5-private.h: 143 cd $(srcdir) && perl ../../cf/make-proto.pl -q -P comment -p krb5-private.h $(libkrb5_la_SOURCES) || rm -f krb5-private.h 144 145#libkrb5_la_LIBADD = ../com_err/error.lo ../com_err/com_err.lo 146 147man_MANS = \ 148 kerberos.8 \ 149 krb5.3 \ 150 krb5.conf.5 \ 151 krb5_425_conv_principal.3 \ 152 krb5_address.3 \ 153 krb5_aname_to_localname.3 \ 154 krb5_appdefault.3 \ 155 krb5_auth_context.3 \ 156 krb5_build_principal.3 \ 157 krb5_ccache.3 \ 158 krb5_config.3 \ 159 krb5_context.3 \ 160 krb5_create_checksum.3 \ 161 krb5_crypto_init.3 \ 162 krb5_data.3 \ 163 krb5_encrypt.3 \ 164 krb5_free_addresses.3 \ 165 krb5_free_principal.3 \ 166 krb5_get_all_client_addrs.3 \ 167 krb5_get_krbhst.3 \ 168 krb5_init_context.3 \ 169 krb5_keytab.3 \ 170 krb5_krbhst_init.3 \ 171 krb5_kuserok.3 \ 172 krb5_openlog.3 \ 173 krb5_parse_name.3 \ 174 krb5_principal_get_realm.3 \ 175 krb5_set_default_realm.3 \ 176 krb5_set_password.3 \ 177 krb5_sname_to_principal.3 \ 178 krb5_timeofday.3 \ 179 krb5_unparse_name.3 \ 180 krb5_verify_user.3 \ 181 krb5_warn.3 \ 182 verify_krb5_conf.8 183 184include_HEADERS = krb5.h krb5-protos.h krb5-private.h krb5_err.h heim_err.h k524_err.h 185 186CLEANFILES = krb5_err.c krb5_err.h heim_err.c heim_err.h k524_err.c k524_err.h 187 188$(libkrb5_la_OBJECTS): krb5_err.h heim_err.h k524_err.h 189 190# to help stupid solaris make 191 192krb5_err.h: krb5_err.et 193 194heim_err.h: heim_err.et 195 196k524_err.h: k524_err.et 197