indent
[heimdal.git] / kuser / Makefile.am
blob11a3149b6fbd8ae59b52af0b4cf6e9e84f25eeeb
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         kswitch.1 \
14         kdigest.8 \
15         kgetcred.1 \
16         kimpersonate.8
18 bin_PROGRAMS = kinit klist kdestroy kgetcred kswitch
19 libexec_PROGRAMS = kdigest kimpersonate
21 noinst_PROGRAMS = kverify kdecode_ticket generate-requests copy_cred_cache
23 kinit_LDADD = \
24         $(LIB_kafs) \
25         $(top_builddir)/lib/krb5/libkrb5.la \
26         $(top_builddir)/lib/ntlm/libheimntlm.la \
27         $(LIB_hcrypto) \
28         $(top_builddir)/lib/asn1/libasn1.la \
29         $(LIB_libintl) \
30         $(LIB_roken)
32 kdestroy_LDADD  = $(kinit_LDADD)
34 klist_LDADD     = $(kinit_LDADD)
36 kimpersonate_LDADD = $(kinit_LDADD)
38 dist_kdigest_SOURCES = kdigest.c
39 nodist_kdigest_SOURCES = kdigest-commands.c
41 kdigest_LDADD = \
42         $(top_builddir)/lib/ntlm/libheimntlm.la \
43         $(top_builddir)/lib/krb5/libkrb5.la \
44         $(LIB_hcrypto) \
45         $(top_builddir)/lib/asn1/libasn1.la \
46         $(top_builddir)/lib/sl/libsl.la \
47         $(LIB_roken)
49 $(kdigest_OBJECTS): kdigest-commands.h
51 CLEANFILES = kdigest-commands.h kdigest-commands.c
53 kdigest-commands.c kdigest-commands.h: kdigest-commands.in
54         $(SLC) $(srcdir)/kdigest-commands.in
56 LDADD = \
57         $(top_builddir)/lib/krb5/libkrb5.la \
58         $(LIB_hcrypto) \
59         $(top_builddir)/lib/asn1/libasn1.la \
60         $(LIB_roken)
62 # make sure install-exec-hook doesn't have any commands in Makefile.am.common
63 install-exec-hook:
64         (cd $(DESTDIR)$(bindir) && rm -f kauth && $(LN_S) kinit kauth)
66 EXTRA_DIST = $(man_MANS) kuser_locl.h kdigest-commands.in copy_cred_cache.1