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 heimtools
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_heimtools_SOURCES = heimtools.c klist.c kswitch.c copy_cred_cache.c
42 nodist_heimtools_SOURCES = heimtools-commands.c
44 $(heimtools_OBJECTS): heimtools-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 heimtools-commands.h heimtools-commands.c
63 kdigest-commands.c kdigest-commands.h: kdigest-commands.in
64 $(SLC) $(srcdir)/kdigest-commands.in
66 heimtools-commands.c heimtools-commands.h: heimtools-commands.in
67 $(SLC) $(srcdir)/heimtools-commands.in
70 $(top_builddir)/lib/krb5/libkrb5.la \
72 $(top_builddir)/lib/asn1/libasn1.la \
75 EXTRA_DIST = NTMakefile $(man_MANS) \
76 heimtools-version.rc \
80 kimpersonate-version.rc \
82 kuser_locl.h heimtools-commands.in kdigest-commands.in copy_cred_cache.1
84 # make sure install-exec-hook doesn't have any commands in Makefile.am.common
86 (cd $(DESTDIR)$(bindir) && rm -f klist && $(LN_S) heimtools klist)
87 (cd $(DESTDIR)$(bindir) && rm -f kswitch && $(LN_S) heimtools kswitch)