3 include $(top_srcdir)/Makefile.am.common
5 AM_CPPFLAGS += $(INCLUDE_hcrypto) -I$(srcdir)/../lib/krb5 \
7 -DHEIMDAL_LOCALEDIR='"$(localedir)"'
17 SLC = $(top_builddir)/lib/sl/slc
19 bin_PROGRAMS = kinit klist kdestroy kgetcred kswitch
20 libexec_PROGRAMS = kdigest kimpersonate
22 noinst_PROGRAMS = kverify kdecode_ticket generate-requests copy_cred_cache
26 $(top_builddir)/lib/krb5/libkrb5.la \
27 $(top_builddir)/lib/ntlm/libheimntlm.la \
29 $(top_builddir)/lib/asn1/libasn1.la \
33 kdestroy_LDADD = $(kinit_LDADD)
35 klist_LDADD = $(kinit_LDADD)
37 kimpersonate_LDADD = $(kinit_LDADD)
39 dist_kdigest_SOURCES = kdigest.c
40 nodist_kdigest_SOURCES = kdigest-commands.c
43 $(top_builddir)/lib/ntlm/libheimntlm.la \
44 $(top_builddir)/lib/krb5/libkrb5.la \
46 $(top_builddir)/lib/asn1/libasn1.la \
47 $(top_builddir)/lib/sl/libsl.la \
50 $(kdigest_OBJECTS): kdigest-commands.h
52 CLEANFILES = kdigest-commands.h kdigest-commands.c
54 kdigest-commands.c kdigest-commands.h: kdigest-commands.in
55 $(SLC) $(srcdir)/kdigest-commands.in
58 $(top_builddir)/lib/krb5/libkrb5.la \
60 $(top_builddir)/lib/asn1/libasn1.la \
63 # make sure install-exec-hook doesn't have any commands in Makefile.am.common
65 (cd $(DESTDIR)$(bindir) && rm -f kauth && $(LN_S) kinit kauth)
67 EXTRA_DIST = $(man_MANS) kuser_locl.h kdigest-commands.in copy_cred_cache.1