Indent the patch from Andrew and make it compile again
[heimdal.git] / kuser / Makefile.am
blob3439beb5d6a93038ada742202faf25974262c3b2
1 # $Id$
3 include $(top_srcdir)/Makefile.am.common
5 AM_CPPFLAGS += $(INCLUDE_hcrypto) -I$(srcdir)/../lib/krb5 \
6         $(INCLUDE_libintl) \
7         -DHEIMDAL_LOCALEDIR='"$(localedir)"'
9 man_MANS = \
10         kinit.1 \
11         klist.1 \
12         kdestroy.1 \
13         kdigest.1 \
14         kgetcred.1 \
15         kimpersonate.1
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
24 kinit_LDADD = \
25         $(LIB_kafs) \
26         $(top_builddir)/lib/krb5/libkrb5.la \
27         $(top_builddir)/lib/ntlm/libheimntlm.la \
28         $(LIB_hcrypto) \
29         $(top_builddir)/lib/asn1/libasn1.la \
30         $(LIB_libintl) \
31         $(LIB_roken)
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
42 kdigest_LDADD = \
43         $(top_builddir)/lib/ntlm/libheimntlm.la \
44         $(top_builddir)/lib/krb5/libkrb5.la \
45         $(LIB_hcrypto) \
46         $(top_builddir)/lib/asn1/libasn1.la \
47         $(top_builddir)/lib/sl/libsl.la \
48         $(LIB_roken)
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
57 LDADD = \
58         $(top_builddir)/lib/krb5/libkrb5.la \
59         $(LIB_hcrypto) \
60         $(top_builddir)/lib/asn1/libasn1.la \
61         $(LIB_roken)
63 # make sure install-exec-hook doesn't have any commands in Makefile.am.common
64 install-exec-hook:
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