1 # $Heimdal: Makefile.am 22285 2007-12-13 20:40:57Z lha $
4 include $(top_srcdir)/Makefile.am.common
6 AM_CPPFLAGS += $(INCLUDE_hcrypto) -I$(srcdir)/../lib/krb5
15 SLC = $(top_builddir)/lib/sl/slc
17 bin_PROGRAMS = kinit klist kdestroy kgetcred
18 libexec_PROGRAMS = kdigest kimpersonate
20 noinst_PROGRAMS = kverify kdecode_ticket generate-requests copy_cred_cache
24 $(top_builddir)/lib/krb5/libkrb5.la \
25 $(top_builddir)/lib/ntlm/libheimntlm.la \
27 $(top_builddir)/lib/asn1/libasn1.la \
30 kdestroy_LDADD = $(kinit_LDADD)
32 klist_LDADD = $(kinit_LDADD)
34 kimpersonate_LDADD = $(kinit_LDADD)
36 dist_kdigest_SOURCES = kdigest.c
37 nodist_kdigest_SOURCES = kdigest-commands.c
40 $(top_builddir)/lib/ntlm/libheimntlm.la \
41 $(top_builddir)/lib/krb5/libkrb5.la \
43 $(top_builddir)/lib/asn1/libasn1.la \
44 $(top_builddir)/lib/sl/libsl.la \
47 $(kdigest_OBJECTS): kdigest-commands.h
49 CLEANFILES = kdigest-commands.h kdigest-commands.c
51 kdigest-commands.c kdigest-commands.h: kdigest-commands.in
52 $(SLC) $(srcdir)/kdigest-commands.in
55 $(top_builddir)/lib/krb5/libkrb5.la \
57 $(top_builddir)/lib/asn1/libasn1.la \
60 # make sure install-exec-hook doesn't have any commands in Makefile.am.common
62 (cd $(DESTDIR)$(bindir) && rm -f kauth && $(LN_S) kinit kauth)
64 EXTRA_DIST = $(man_MANS) kuser_locl.h kdigest-commands.in copy_cred_cache.1