3 include $(top_srcdir)/Makefile.am.common
5 AM_CPPFLAGS += $(INCLUDE_hcrypto) -I$(srcdir)/../lib/krb5 \
7 -DHEIMDAL_LOCALEDIR='"$(localedir)"'
18 bin_PROGRAMS = kinit kdestroy kgetcred kcc
19 libexec_PROGRAMS = kdigest kimpersonate
21 noinst_PROGRAMS = kverify kdecode_ticket generate-requests
25 $(top_builddir)/lib/krb5/libkrb5.la \
26 $(top_builddir)/lib/ntlm/libheimntlm.la \
28 $(top_builddir)/lib/asn1/libasn1.la \
32 kdestroy_LDADD = $(kinit_LDADD)
34 kimpersonate_LDADD = $(kinit_LDADD)
37 $(top_builddir)/lib/sl/libsl.la \
41 dist_kcc_SOURCES = kcc.c klist.c kswitch.c copy_cred_cache.c
42 nodist_kcc_SOURCES = kcc-commands.c
44 $(kcc_OBJECTS): kcc-commands.h
46 dist_kdigest_SOURCES = kdigest.c
47 nodist_kdigest_SOURCES = kdigest-commands.c
50 $(top_builddir)/lib/ntlm/libheimntlm.la \
51 $(top_builddir)/lib/krb5/libkrb5.la \
53 $(top_builddir)/lib/asn1/libasn1.la \
54 $(top_builddir)/lib/sl/libsl.la \
57 $(kdigest_OBJECTS): kdigest-commands.h
60 kdigest-commands.h kdigest-commands.c \
61 kcc-commands.h kcc-commands.c
63 kdigest-commands.c kdigest-commands.h: kdigest-commands.in
64 $(SLC) $(srcdir)/kdigest-commands.in
66 kcc-commands.c kcc-commands.h: kcc-commands.in
67 $(SLC) $(srcdir)/kcc-commands.in
70 $(top_builddir)/lib/krb5/libkrb5.la \
72 $(top_builddir)/lib/asn1/libasn1.la \
75 EXTRA_DIST = $(man_MANS) \
76 kuser_locl.h kcc-commands.in kdigest-commands.in copy_cred_cache.1
78 # make sure install-exec-hook doesn't have any commands in Makefile.am.common
80 (cd $(DESTDIR)$(bindir) && rm -f klist && $(LN_S) kcc klist)
81 (cd $(DESTDIR)$(bindir) && rm -f kswitch && $(LN_S) kcc kswitch)