Makefile.am revision 1.1.1.2
1# Id 2 3include $(top_srcdir)/Makefile.am.common 4 5AM_CPPFLAGS += $(INCLUDE_krb4) $(INCLUDE_hcrypto) -I../com_err -I$(srcdir)/../com_err $(INCLUDE_sqlite3) $(INCLUDE_libintl) 6 7bin_PROGRAMS = verify_krb5_conf 8 9noinst_PROGRAMS = \ 10 krbhst-test \ 11 test_gic \ 12 test_alname \ 13 test_crypto \ 14 test_rfc3961 \ 15 test_get_addrs \ 16 test_kuserok \ 17 test_renew \ 18 test_forward 19 20noinst_LTLIBRARIES = \ 21 librfc3961.la 22 23TESTS = \ 24 aes-test \ 25 derived-key-test \ 26 n-fold-test \ 27 parse-name-test \ 28 store-test \ 29 string-to-key-test \ 30 test_acl \ 31 test_addr \ 32 test_cc \ 33 test_config \ 34 test_fx \ 35 test_prf \ 36 test_store \ 37 test_crypto_wrapping \ 38 test_keytab \ 39 test_mem \ 40 test_pac \ 41 test_plugin \ 42 test_princ \ 43 test_pkinit_dh2key \ 44 test_pknistkdf \ 45 test_time 46 47check_DATA = test_config_strings.out 48 49check_PROGRAMS = $(TESTS) test_hostname test_ap-req 50 51LDADD = libkrb5.la \ 52 $(LIB_hcrypto) \ 53 $(top_builddir)/lib/asn1/libasn1.la \ 54 $(top_builddir)/lib/wind/libwind.la \ 55 $(LIB_roken) 56 57if PKINIT 58LIB_pkinit = ../hx509/libhx509.la 59endif 60 61if have_scc 62use_sqlite = $(LIB_sqlite3) 63endif 64 65libkrb5_la_LIBADD = \ 66 $(top_builddir)/lib/asn1/libasn1.la \ 67 $(top_builddir)/lib/ipc/libheim-ipcc.la \ 68 $(top_builddir)/lib/wind/libwind.la \ 69 $(top_builddir)/base/libheimbase.la \ 70 $(LIB_pkinit) \ 71 $(use_sqlite) \ 72 $(LIB_com_err) \ 73 $(LIB_hcrypto) \ 74 $(LIB_libintl) \ 75 $(LIBADD_roken) \ 76 $(PTHREAD_LIBADD) \ 77 $(LIB_door_create) \ 78 $(LIB_dlopen) 79 80librfc3961_la_LIBADD = \ 81 $(top_builddir)/lib/asn1/libasn1.la \ 82 $(top_builddir)/lib/ipc/libheim-ipcc.la \ 83 $(top_builddir)/lib/wind/libwind.la \ 84 $(LIB_pkinit) \ 85 $(use_sqlite) \ 86 $(LIB_com_err) \ 87 $(LIB_hcrypto) \ 88 $(LIB_libintl) \ 89 $(LIBADD_roken) \ 90 $(PTHREAD_LIBADD) \ 91 $(LIB_door_create) \ 92 $(LIB_dlopen) 93 94lib_LTLIBRARIES = libkrb5.la 95 96ERR_FILES = krb5_err.c krb_err.c heim_err.c k524_err.c 97 98libkrb5_la_CPPFLAGS = \ 99 -DBUILD_KRB5_LIB \ 100 $(AM_CPPFLAGS) \ 101 -DHEIMDAL_LOCALEDIR='"$(localedir)"' 102 103librfc3961_la_CPPFLAGS = \ 104 -DBUILD_KRB5_LIB \ 105 $(AM_CPPFLAGS) 106 107dist_libkrb5_la_SOURCES = \ 108 acache.c \ 109 acl.c \ 110 add_et_list.c \ 111 addr_families.c \ 112 aname_to_localname.c \ 113 appdefault.c \ 114 asn1_glue.c \ 115 auth_context.c \ 116 build_ap_req.c \ 117 build_auth.c \ 118 cache.c \ 119 changepw.c \ 120 codec.c \ 121 config_file.c \ 122 convert_creds.c \ 123 constants.c \ 124 context.c \ 125 copy_host_realm.c \ 126 crc.c \ 127 creds.c \ 128 crypto.c \ 129 crypto.h \ 130 crypto-aes.c \ 131 crypto-algs.c \ 132 crypto-arcfour.c \ 133 crypto-des.c \ 134 crypto-des-common.c \ 135 crypto-des3.c \ 136 crypto-evp.c \ 137 crypto-null.c \ 138 crypto-pk.c \ 139 crypto-rand.c \ 140 doxygen.c \ 141 data.c \ 142 deprecated.c \ 143 digest.c \ 144 eai_to_heim_errno.c \ 145 error_string.c \ 146 expand_hostname.c \ 147 expand_path.c \ 148 fcache.c \ 149 free.c \ 150 free_host_realm.c \ 151 generate_seq_number.c \ 152 generate_subkey.c \ 153 get_addrs.c \ 154 get_cred.c \ 155 get_default_principal.c \ 156 get_default_realm.c \ 157 get_for_creds.c \ 158 get_host_realm.c \ 159 get_in_tkt.c \ 160 get_port.c \ 161 init_creds.c \ 162 init_creds_pw.c \ 163 kcm.c \ 164 kcm.h \ 165 keyblock.c \ 166 keytab.c \ 167 keytab_any.c \ 168 keytab_file.c \ 169 keytab_keyfile.c \ 170 keytab_memory.c \ 171 krb5_locl.h \ 172 krb5-v4compat.h \ 173 krbhst.c \ 174 kuserok.c \ 175 log.c \ 176 mcache.c \ 177 misc.c \ 178 mk_error.c \ 179 mk_priv.c \ 180 mk_rep.c \ 181 mk_req.c \ 182 mk_req_ext.c \ 183 mk_safe.c \ 184 mit_glue.c \ 185 net_read.c \ 186 net_write.c \ 187 n-fold.c \ 188 pac.c \ 189 padata.c \ 190 pcache.c \ 191 pkinit.c \ 192 principal.c \ 193 prog_setup.c \ 194 prompter_posix.c \ 195 rd_cred.c \ 196 rd_error.c \ 197 rd_priv.c \ 198 rd_rep.c \ 199 rd_req.c \ 200 rd_safe.c \ 201 read_message.c \ 202 recvauth.c \ 203 replay.c \ 204 salt.c \ 205 salt-aes.c \ 206 salt-arcfour.c \ 207 salt-des.c \ 208 salt-des3.c \ 209 scache.c \ 210 send_to_kdc.c \ 211 sendauth.c \ 212 set_default_realm.c \ 213 sock_principal.c \ 214 store.c \ 215 store-int.c \ 216 store-int.h \ 217 store_emem.c \ 218 store_fd.c \ 219 store_mem.c \ 220 plugin.c \ 221 ticket.c \ 222 time.c \ 223 transited.c \ 224 verify_init.c \ 225 verify_user.c \ 226 version.c \ 227 warn.c \ 228 write_message.c 229 230nodist_libkrb5_la_SOURCES = \ 231 $(ERR_FILES) 232 233libkrb5_la_LDFLAGS = -version-info 26:0:0 234 235if versionscript 236libkrb5_la_LDFLAGS += $(LDFLAGS_VERSION_SCRIPT)$(srcdir)/version-script.map 237endif 238 239$(libkrb5_la_OBJECTS) $(verify_krb5_conf_OBJECTS): $(srcdir)/krb5-protos.h $(srcdir)/krb5-private.h 240 241librfc3961_la_SOURCES = \ 242 crc.c \ 243 crypto.c \ 244 crypto.h \ 245 crypto-aes.c \ 246 crypto-algs.c \ 247 crypto-arcfour.c \ 248 crypto-des.c \ 249 crypto-des-common.c \ 250 crypto-des3.c \ 251 crypto-evp.c \ 252 crypto-null.c \ 253 crypto-pk.c \ 254 crypto-rand.c \ 255 crypto-stubs.c \ 256 data.c \ 257 error_string.c \ 258 keyblock.c \ 259 n-fold.c \ 260 salt.c \ 261 salt-aes.c \ 262 salt-arcfour.c \ 263 salt-des.c \ 264 salt-des3.c \ 265 store-int.c \ 266 warn.c 267 268test_rfc3961_LDADD = \ 269 librfc3961.la \ 270 $(top_builddir)/lib/asn1/libasn1.la \ 271 $(top_builddir)/lib/wind/libwind.la \ 272 $(LIB_hcrypto) \ 273 $(LIB_roken) 274 275$(srcdir)/krb5-protos.h: 276 cd $(srcdir) && perl ../../cf/make-proto.pl -E KRB5_LIB -q -P comment -o krb5-protos.h $(dist_libkrb5_la_SOURCES) || rm -f krb5-protos.h 277 278$(srcdir)/krb5-private.h: 279 cd $(srcdir) && perl ../../cf/make-proto.pl -q -P comment -p krb5-private.h $(dist_libkrb5_la_SOURCES) || rm -f krb5-private.h 280 281man_MANS = \ 282 kerberos.8 \ 283 krb5.conf.5 \ 284 krb524_convert_creds_kdc.3 \ 285 krb5_425_conv_principal.3 \ 286 krb5_acl_match_file.3 \ 287 krb5_aname_to_localname.3 \ 288 krb5_appdefault.3 \ 289 krb5_auth_context.3 \ 290 krb5_c_make_checksum.3 \ 291 krb5_check_transited.3 \ 292 krb5_create_checksum.3 \ 293 krb5_creds.3 \ 294 krb5_digest.3 \ 295 krb5_eai_to_heim_errno.3 \ 296 krb5_encrypt.3 \ 297 krb5_find_padata.3 \ 298 krb5_generate_random_block.3 \ 299 krb5_get_all_client_addrs.3 \ 300 krb5_get_credentials.3 \ 301 krb5_get_creds.3 \ 302 krb5_get_forwarded_creds.3 \ 303 krb5_get_in_cred.3 \ 304 krb5_get_init_creds.3 \ 305 krb5_get_krbhst.3 \ 306 krb5_getportbyname.3 \ 307 krb5_init_context.3 \ 308 krb5_is_thread_safe.3 \ 309 krb5_krbhst_init.3 \ 310 krb5_mk_req.3 \ 311 krb5_mk_safe.3 \ 312 krb5_openlog.3 \ 313 krb5_parse_name.3 \ 314 krb5_principal.3 \ 315 krb5_rcache.3 \ 316 krb5_rd_error.3 \ 317 krb5_rd_safe.3 \ 318 krb5_set_default_realm.3 \ 319 krb5_set_password.3 \ 320 krb5_string_to_key.3 \ 321 krb5_timeofday.3 \ 322 krb5_verify_init_creds.3 \ 323 krb5_verify_user.3 \ 324 verify_krb5_conf.8 325 326dist_include_HEADERS = \ 327 krb5.h \ 328 krb5-protos.h \ 329 krb5-private.h \ 330 krb5_ccapi.h 331 332nodist_include_HEADERS = krb5_err.h heim_err.h k524_err.h 333 334# XXX use nobase_include_HEADERS = krb5/locate_plugin.h 335krb5dir = $(includedir)/krb5 336krb5_HEADERS = locate_plugin.h send_to_kdc_plugin.h ccache_plugin.h 337 338build_HEADERZ = \ 339 $(krb5_HEADERS) \ 340 krb_err.h 341 342CLEANFILES = \ 343 test_config_strings.out \ 344 test-store-data \ 345 krb5_err.c krb5_err.h \ 346 krb_err.c krb_err.h \ 347 heim_err.c heim_err.h \ 348 k524_err.c k524_err.h 349 350$(libkrb5_la_OBJECTS): krb5_err.h krb_err.h heim_err.h k524_err.h crypto.h 351 352test_config_strings.out: test_config_strings.cfg 353 $(CP) $(srcdir)/test_config_strings.cfg test_config_strings.out 354 355EXTRA_DIST = \ 356 krb5_err.et \ 357 krb_err.et \ 358 heim_err.et \ 359 k524_err.et \ 360 $(man_MANS) \ 361 version-script.map \ 362 test_config_strings.cfg \ 363 krb5.moduli 364 365#sysconf_DATA = krb5.moduli 366 367# to help stupid solaris make 368 369krb5_err.h: krb5_err.et 370 371krb_err.h: krb_err.et 372 373heim_err.h: heim_err.et 374 375k524_err.h: k524_err.et 376