2000-02-24 11:19:29 +00:00

149 lines
2.8 KiB
Makefile

# $Id: Makefile.am,v 1.97 2000/02/13 20:35:49 assar Exp $
include $(top_srcdir)/Makefile.am.common
INCLUDES += $(INCLUDE_krb4)
bin_PROGRAMS = verify_krb5_conf
noinst_PROGRAMS = dump_config
check_PROGRAMS = n-fold-test string-to-key-test
TESTS = n-fold-test string-to-key-test
if KRB4
KRB4LIB = $(LIB_krb4)
keytab_krb4_c = keytab_krb4.c
endif
LDADD = libkrb5.la \
$(KRB4LIB) \
$(top_builddir)/lib/des/libdes.la \
$(top_builddir)/lib/asn1/libasn1.la \
$(LIB_roken)
lib_LTLIBRARIES = libkrb5.la
ERR_FILES = krb5_err.c heim_err.c
libkrb5_la_SOURCES = \
add_et_list.c \
addr_families.c \
address.c \
aname_to_localname.c \
asn1_glue.c \
auth_context.c \
build_ap_req.c \
build_auth.c \
cache.c \
changepw.c \
codec.c \
config_file.c \
config_file_netinfo.c \
convert_creds.c \
constants.c \
context.c \
copy_host_realm.c \
crc.c \
creds.c \
crypto.c \
data.c \
expand_hostname.c \
fcache.c \
free.c \
free_host_realm.c \
generate_seq_number.c \
generate_subkey.c \
get_addrs.c \
get_cred.c \
get_default_principal.c \
get_default_realm.c \
get_for_creds.c \
get_host_realm.c \
get_in_tkt.c \
get_in_tkt_pw.c \
get_in_tkt_with_keytab.c \
get_in_tkt_with_skey.c \
get_port.c \
init_creds.c \
init_creds_pw.c \
keyblock.c \
keytab.c \
keytab_file.c \
keytab_memory.c \
$(keytab_krb4_c) \
keytab_keyfile.c \
krbhst.c \
kuserok.c \
log.c \
mcache.c \
misc.c \
mk_error.c \
mk_priv.c \
mk_rep.c \
mk_req.c \
mk_req_ext.c \
mk_safe.c \
net_read.c \
net_write.c \
n-fold.c \
padata.c \
principal.c \
prog_setup.c \
prompter_posix.c \
rd_cred.c \
rd_error.c \
rd_priv.c \
rd_rep.c \
rd_req.c \
rd_safe.c \
read_message.c \
recvauth.c \
send_to_kdc.c \
sendauth.c \
set_default_realm.c \
sock_principal.c \
store.c \
store_emem.c \
store_fd.c \
store_mem.c \
ticket.c \
time.c \
transited.c \
verify_init.c \
verify_user.c \
version.c \
warn.c \
write_message.c \
$(ERR_FILES)
EXTRA_libkrb5_la_SOURCES = keytab_krb4.c
libkrb5_la_LDFLAGS = -version-info 9:0:0
$(libkrb5_la_OBJECTS): $(srcdir)/krb5-protos.h $(srcdir)/krb5-private.h
$(srcdir)/krb5-protos.h:
cd $(srcdir); perl ../../cf/make-proto.pl -o krb5-protos.h $(libkrb5_la_SOURCES) || rm -f krb5-protos.h
$(srcdir)/krb5-private.h:
cd $(srcdir); perl ../../cf/make-proto.pl -p krb5-private.h $(libkrb5_la_SOURCES) || rm -f krb5-private.h
libkrb5_la_LIBADD = ../com_err/error.lo ../com_err/com_err.lo
man_MANS = krb5.conf.5 krb5_warn.3 krb5_openlog.3 \
krb5_425_conv_principal.3 krb5_build_principal.3 krb5_free_principal.3 \
krb5_parse_name.3 krb5_sname_to_principal.3 krb5_unparse_name.3
include_HEADERS = krb5.h krb5-protos.h krb5-private.h krb5_err.h heim_err.h
CLEANFILES = krb5_err.c krb5_err.h heim_err.c heim_err.h
$(libkrb5_la_OBJECTS): krb5_err.h heim_err.h
# to help stupid solaris make
krb5_err.h: krb5_err.et
heim_err.h: heim_err.et