diff options
Diffstat (limited to 'crypto/heimdal/lib/krb5/Makefile.am')
-rw-r--r-- | crypto/heimdal/lib/krb5/Makefile.am | 162 |
1 files changed, 132 insertions, 30 deletions
diff --git a/crypto/heimdal/lib/krb5/Makefile.am b/crypto/heimdal/lib/krb5/Makefile.am index 7ca638b..ced9616 100644 --- a/crypto/heimdal/lib/krb5/Makefile.am +++ b/crypto/heimdal/lib/krb5/Makefile.am @@ -1,41 +1,71 @@ -# $Id: Makefile.am,v 1.156.2.4 2004/06/21 10:52:01 lha Exp $ +# $Id: Makefile.am 22501 2008-01-21 15:43:21Z lha $ include $(top_srcdir)/Makefile.am.common -INCLUDES += $(INCLUDE_krb4) $(INCLUDE_des) -I../com_err -I$(srcdir)/../com_err +AM_CPPFLAGS += $(INCLUDE_krb4) $(INCLUDE_hcrypto) -I../com_err -I$(srcdir)/../com_err bin_PROGRAMS = verify_krb5_conf -noinst_PROGRAMS = dump_config test_get_addrs krbhst-test test_alname +noinst_PROGRAMS = \ + krbhst-test \ + test_alname \ + test_crypto \ + test_get_addrs \ + test_kuserok \ + test_renew \ + test_forward TESTS = \ aes-test \ - n-fold-test \ - string-to-key-test \ derived-key-test \ - store-test \ + n-fold-test \ + name-45-test \ parse-name-test \ + store-test \ + string-to-key-test \ + test_acl \ + test_addr \ test_cc \ - name-45-test + test_config \ + test_prf \ + test_store \ + test_crypto_wrapping \ + test_keytab \ + test_mem \ + test_pac \ + test_plugin \ + test_princ \ + test_pkinit_dh2key \ + test_time -check_PROGRAMS = $(TESTS) +check_PROGRAMS = $(TESTS) test_hostname LDADD = libkrb5.la \ - $(LIB_des) \ + $(LIB_hcrypto) \ $(top_builddir)/lib/asn1/libasn1.la \ $(LIB_roken) +if PKINIT +LIB_pkinit = ../hx509/libhx509.la +endif + libkrb5_la_LIBADD = \ - ../com_err/error.lo ../com_err/com_err.lo \ - $(LIB_des) \ + $(LIB_pkinit) \ + $(LIB_com_err) \ + $(LIB_hcrypto) \ $(top_builddir)/lib/asn1/libasn1.la \ - $(LIB_roken) + $(LIBADD_roken) \ + $(LIB_door_create) \ + $(LIB_dlopen) lib_LTLIBRARIES = libkrb5.la -ERR_FILES = krb5_err.c heim_err.c k524_err.c +ERR_FILES = krb5_err.c krb_err.c heim_err.c k524_err.c -libkrb5_la_SOURCES = \ +libkrb5_la_CPPFLAGS = -DBUILD_KRB5_LIB $(AM_CPPFLAGS) + +dist_libkrb5_la_SOURCES = \ + acache.c \ acl.c \ add_et_list.c \ addr_families.c \ @@ -57,7 +87,9 @@ libkrb5_la_SOURCES = \ crc.c \ creds.c \ crypto.c \ + doxygen.c \ data.c \ + digest.c \ eai_to_heim_errno.c \ error_string.c \ expand_hostname.c \ @@ -77,15 +109,20 @@ libkrb5_la_SOURCES = \ get_in_tkt_with_keytab.c \ get_in_tkt_with_skey.c \ get_port.c \ + heim_threads.h \ init_creds.c \ init_creds_pw.c \ + kcm.c \ + kcm.h \ keyblock.c \ keytab.c \ keytab_any.c \ keytab_file.c \ - keytab_memory.c \ keytab_keyfile.c \ keytab_krb4.c \ + keytab_memory.c \ + krb5_locl.h \ + krb5-v4compat.h \ krbhst.c \ kuserok.c \ log.c \ @@ -97,10 +134,13 @@ libkrb5_la_SOURCES = \ mk_req.c \ mk_req_ext.c \ mk_safe.c \ + mit_glue.c \ net_read.c \ net_write.c \ n-fold.c \ + pac.c \ padata.c \ + pkinit.c \ principal.c \ prog_setup.c \ prompter_posix.c \ @@ -122,75 +162,137 @@ libkrb5_la_SOURCES = \ store_emem.c \ store_fd.c \ store_mem.c \ + plugin.c \ ticket.c \ time.c \ transited.c \ + v4_glue.c \ verify_init.c \ verify_user.c \ version.c \ warn.c \ - write_message.c \ + write_message.c + +nodist_libkrb5_la_SOURCES = \ $(ERR_FILES) -libkrb5_la_LDFLAGS = -version-info 20:0:3 +libkrb5_la_LDFLAGS = -version-info 24:0:0 + +if versionscript +libkrb5_la_LDFLAGS += $(LDFLAGS_VERSION_SCRIPT)$(srcdir)/version-script.map +endif -$(libkrb5_la_OBJECTS): $(srcdir)/krb5-protos.h $(srcdir)/krb5-private.h +$(libkrb5_la_OBJECTS) $(verify_krb5_conf_OBJECTS): $(srcdir)/krb5-protos.h $(srcdir)/krb5-private.h $(srcdir)/krb5-protos.h: - cd $(srcdir) && perl ../../cf/make-proto.pl -q -P comment -o krb5-protos.h $(libkrb5_la_SOURCES) || rm -f krb5-protos.h + cd $(srcdir) && perl ../../cf/make-proto.pl -E KRB5_LIB_FUNCTION -q -P comment -o krb5-protos.h $(dist_libkrb5_la_SOURCES) || rm -f krb5-protos.h $(srcdir)/krb5-private.h: - cd $(srcdir) && perl ../../cf/make-proto.pl -q -P comment -p krb5-private.h $(libkrb5_la_SOURCES) || rm -f krb5-private.h - -#libkrb5_la_LIBADD = ../com_err/error.lo ../com_err/com_err.lo + cd $(srcdir) && perl ../../cf/make-proto.pl -q -P comment -p krb5-private.h $(dist_libkrb5_la_SOURCES) || rm -f krb5-private.h man_MANS = \ kerberos.8 \ krb5.3 \ krb5.conf.5 \ + krb524_convert_creds_kdc.3 \ krb5_425_conv_principal.3 \ + krb5_acl_match_file.3 \ krb5_address.3 \ krb5_aname_to_localname.3 \ krb5_appdefault.3 \ krb5_auth_context.3 \ - krb5_build_principal.3 \ + krb5_c_make_checksum.3 \ krb5_ccache.3 \ + krb5_check_transited.3 \ + krb5_compare_creds.3 \ krb5_config.3 \ krb5_context.3 \ krb5_create_checksum.3 \ + krb5_creds.3 \ krb5_crypto_init.3 \ krb5_data.3 \ + krb5_digest.3 \ + krb5_eai_to_heim_errno.3 \ krb5_encrypt.3 \ - krb5_free_addresses.3 \ - krb5_free_principal.3 \ + krb5_expand_hostname.3 \ + krb5_find_padata.3 \ + krb5_generate_random_block.3 \ krb5_get_all_client_addrs.3 \ + krb5_get_credentials.3 \ + krb5_get_creds.3 \ + krb5_get_forwarded_creds.3 \ + krb5_get_in_cred.3 \ + krb5_get_init_creds.3 \ krb5_get_krbhst.3 \ + krb5_getportbyname.3 \ krb5_init_context.3 \ + krb5_is_thread_safe.3 \ + krb5_keyblock.3 \ krb5_keytab.3 \ krb5_krbhst_init.3 \ krb5_kuserok.3 \ + krb5_mk_req.3 \ + krb5_mk_safe.3 \ krb5_openlog.3 \ krb5_parse_name.3 \ - krb5_principal_get_realm.3 \ + krb5_principal.3 \ + krb5_rcache.3 \ + krb5_rd_error.3 \ + krb5_rd_safe.3 \ krb5_set_default_realm.3 \ krb5_set_password.3 \ - krb5_sname_to_principal.3 \ + krb5_storage.3 \ + krb5_string_to_key.3 \ + krb5_ticket.3 \ krb5_timeofday.3 \ krb5_unparse_name.3 \ + krb5_verify_init_creds.3 \ krb5_verify_user.3 \ krb5_warn.3 \ verify_krb5_conf.8 -include_HEADERS = krb5.h krb5-protos.h krb5-private.h krb5_err.h heim_err.h k524_err.h +dist_include_HEADERS = \ + krb5.h \ + krb5-protos.h \ + krb5-private.h \ + krb5_ccapi.h + +nodist_include_HEADERS = krb5_err.h heim_err.h k524_err.h -CLEANFILES = krb5_err.c krb5_err.h heim_err.c heim_err.h k524_err.c k524_err.h +# XXX use nobase_include_HEADERS = krb5/locate_plugin.h +krb5dir = $(includedir)/krb5 +krb5_HEADERS = locate_plugin.h -$(libkrb5_la_OBJECTS): krb5_err.h heim_err.h k524_err.h +build_HEADERZ = \ + heim_threads.h \ + $(krb5_HEADERS) \ + krb_err.h + +CLEANFILES = \ + krb5_err.c krb5_err.h \ + krb_err.c krb_err.h \ + heim_err.c heim_err.h \ + k524_err.c k524_err.h + +$(libkrb5_la_OBJECTS): krb5_err.h krb_err.h heim_err.h k524_err.h + +EXTRA_DIST = \ + krb5_err.et \ + krb_err.et \ + heim_err.et \ + k524_err.et \ + $(man_MANS) \ + version-script.map \ + krb5.moduli + +#sysconf_DATA = krb5.moduli # to help stupid solaris make krb5_err.h: krb5_err.et +krb_err.h: krb_err.et + heim_err.h: heim_err.et k524_err.h: k524_err.et |