3 include $(top_srcdir)/Makefile.am.common
9 AM_CPPFLAGS += -I$(srcdir)/../lib/krb5 \
11 -DHEIMDAL_LOCALEDIR='"$(localedir)"'
22 bin_PROGRAMS = kinit kdestroy kgetcred heimtools
23 libexec_PROGRAMS = kdigest kimpersonate
25 noinst_PROGRAMS = kverify kdecode_ticket generate-requests
29 $(top_builddir)/lib/krb5/libkrb5.la \
30 $(top_builddir)/lib/ntlm/libheimntlm.la \
32 $(top_builddir)/lib/asn1/libasn1.la \
36 kdestroy_LDADD = $(kinit_LDADD)
38 kimpersonate_LDADD = $(kinit_LDADD)
41 $(top_builddir)/lib/sl/libsl.la \
45 dist_heimtools_SOURCES = heimtools.c klist.c kswitch.c copy_cred_cache.c
46 nodist_heimtools_SOURCES = heimtools-commands.c
48 $(heimtools_OBJECTS): heimtools-commands.h
50 dist_kdigest_SOURCES = kdigest.c
51 nodist_kdigest_SOURCES = kdigest-commands.c
54 $(top_builddir)/lib/ntlm/libheimntlm.la \
55 $(top_builddir)/lib/krb5/libkrb5.la \
57 $(top_builddir)/lib/asn1/libasn1.la \
58 $(top_builddir)/lib/sl/libsl.la \
61 $(kdigest_OBJECTS): kdigest-commands.h
64 kdigest-commands.h kdigest-commands.c \
65 heimtools-commands.h heimtools-commands.c
67 kdigest-commands.c kdigest-commands.h: kdigest-commands.in
68 $(SLC) $(srcdir)/kdigest-commands.in
70 heimtools-commands.c heimtools-commands.h: heimtools-commands.in
71 $(SLC) $(srcdir)/heimtools-commands.in
74 $(top_builddir)/lib/krb5/libkrb5.la \
76 $(top_builddir)/lib/asn1/libasn1.la \
79 EXTRA_DIST = NTMakefile $(man_MANS) \
80 heimtools-version.rc \
87 kimpersonate-version.rc \
89 kuser_locl.h heimtools-commands.in kdigest-commands.in copy_cred_cache.1
91 # make sure install-exec-hook doesn't have any commands in Makefile.am.common
93 (cd $(DESTDIR)$(bindir) && rm -f klist && $(LN_S) heimtools klist)
94 (cd $(DESTDIR)$(bindir) && rm -f kswitch && $(LN_S) heimtools kswitch)