1# $Id: Makefile.am 22285 2007-12-13 20:40:57Z lha $ 2 3include $(top_srcdir)/Makefile.am.common 4 5AM_CPPFLAGS += $(INCLUDE_hcrypto) -I$(srcdir)/../lib/krb5 6 7man_MANS = \ 8 kinit.1 \ 9 klist.1 \ 10 kdestroy.1 \ 11 kgetcred.1 \ 12 kimpersonate.1 13 14SLC = $(top_builddir)/lib/sl/slc 15 16bin_PROGRAMS = kinit klist kdestroy kgetcred 17libexec_PROGRAMS = kdigest kimpersonate 18 19noinst_PROGRAMS = kverify kdecode_ticket generate-requests copy_cred_cache 20 21kinit_LDADD = \ 22 $(LIB_kafs) \ 23 $(top_builddir)/lib/krb5/libkrb5.la \ 24 $(top_builddir)/lib/ntlm/libheimntlm.la \ 25 $(LIB_hcrypto) \ 26 $(top_builddir)/lib/asn1/libasn1.la \ 27 $(LIB_roken) 28 29kdestroy_LDADD = $(kinit_LDADD) 30 31klist_LDADD = $(kinit_LDADD) 32 33kimpersonate_LDADD = $(kinit_LDADD) 34 35dist_kdigest_SOURCES = kdigest.c 36nodist_kdigest_SOURCES = kdigest-commands.c 37 38kdigest_LDADD = \ 39 $(top_builddir)/lib/ntlm/libheimntlm.la \ 40 $(top_builddir)/lib/krb5/libkrb5.la \ 41 $(LIB_hcrypto) \ 42 $(top_builddir)/lib/asn1/libasn1.la \ 43 $(top_builddir)/lib/sl/libsl.la \ 44 $(LIB_roken) 45 46$(kdigest_OBJECTS): kdigest-commands.h 47 48CLEANFILES = kdigest-commands.h kdigest-commands.c 49 50kdigest-commands.c kdigest-commands.h: kdigest-commands.in 51 $(SLC) $(srcdir)/kdigest-commands.in 52 53LDADD = \ 54 $(top_builddir)/lib/krb5/libkrb5.la \ 55 $(LIB_hcrypto) \ 56 $(top_builddir)/lib/asn1/libasn1.la \ 57 $(LIB_roken) 58 59# make sure install-exec-hook doesn't have any commands in Makefile.am.common 60install-exec-hook: 61 (cd $(DESTDIR)$(bindir) && rm -f kauth && $(LN_S) kinit kauth) 62 63EXTRA_DIST = $(man_MANS) kuser_locl.h kdigest-commands.in copy_cred_cache.1 64 65