heimdal: Match windows and return KRB5KDC_ERR_CLIENT_REVOKED when the account is...
[heimdal.git] / kuser / Makefile.am
blob8ad4c3488054cd32566f7dd6f39f8fc292341f27
1 # $Id$
3 include $(top_srcdir)/Makefile.am.common
5 if !NO_AFS
6 afs_lib = $(LIB_kafs)
7 endif
9 AM_CPPFLAGS += -I$(srcdir)/../lib/krb5 \
10         $(INCLUDE_libintl) \
11         -DHEIMDAL_LOCALEDIR='"$(localedir)"'
13 man_MANS = \
14         kinit.1 \
15         klist.1 \
16         kdestroy.1 \
17         kswitch.1 \
18         kdigest.8 \
19         kgetcred.1 \
20         kimpersonate.8 \
21         kx509.1
23 bin_PROGRAMS = kinit kdestroy kgetcred heimtools
24 libexec_PROGRAMS = kdigest kimpersonate
26 noinst_PROGRAMS = kverify kdecode_ticket generate-requests
28 kinit_LDADD = \
29         $(afs_lib) \
30         $(top_builddir)/lib/krb5/libkrb5.la \
31         $(top_builddir)/lib/ntlm/libheimntlm.la \
32         $(LIB_hcrypto) \
33         $(top_builddir)/lib/asn1/libasn1.la \
34         $(LIB_libintl) \
35         $(LIB_roken)
37 kdestroy_LDADD  = $(kinit_LDADD)
39 kimpersonate_LDADD = $(kinit_LDADD)
41 LIB_hx509 = ../lib/hx509/libhx509.la
43 heimtools_LDADD = \
44         $(top_builddir)/lib/sl/libsl.la \
45         $(kinit_LDADD) \
46         $(LIB_readline) \
47         $(LIB_hx509)
49 dist_heimtools_SOURCES = heimtools.c klist.c kx509.c kswitch.c copy_cred_cache.c
50 nodist_heimtools_SOURCES = heimtools-commands.c
52 $(heimtools_OBJECTS): heimtools-commands.h
54 dist_kdigest_SOURCES = kdigest.c
55 nodist_kdigest_SOURCES = kdigest-commands.c
57 kdigest_LDADD = \
58         $(top_builddir)/lib/ntlm/libheimntlm.la \
59         $(top_builddir)/lib/krb5/libkrb5.la \
60         $(LIB_hcrypto) \
61         $(top_builddir)/lib/asn1/libasn1.la \
62         $(top_builddir)/lib/sl/libsl.la \
63         $(LIB_roken)
65 $(kdigest_OBJECTS): kdigest-commands.h
67 CLEANFILES = \
68         kdigest-commands.h kdigest-commands.c \
69         heimtools-commands.h heimtools-commands.c
71 kdigest-commands.c kdigest-commands.h: kdigest-commands.in
72         $(SLC) $(srcdir)/kdigest-commands.in
74 heimtools-commands.c heimtools-commands.h: heimtools-commands.in
75         $(SLC) $(srcdir)/heimtools-commands.in
77 LDADD = \
78         $(top_builddir)/lib/krb5/libkrb5.la \
79         $(LIB_hcrypto) \
80         $(top_builddir)/lib/asn1/libasn1.la \
81         $(LIB_roken)
83 EXTRA_DIST = NTMakefile $(man_MANS) \
84         heimtools-version.rc \
85         kcpytkt.c \
86         kdeltkt.c \
87         kvno.c \
88         kdestroy-version.rc \
89         kdigest-version.rc \
90         kgetcred-version.rc \
91         kimpersonate-version.rc \
92         kinit-version.rc \
93         kuser_locl.h heimtools-commands.in kdigest-commands.in copy_cred_cache.1
95 # make sure install-exec-hook doesn't have any commands in Makefile.am.common
96 install-exec-hook:
97         (cd $(DESTDIR)$(bindir) && rm -f klist && $(LN_S) heimtools klist)
98         (cd $(DESTDIR)$(bindir) && rm -f kx509 && $(LN_S) heimtools kx509)
99         (cd $(DESTDIR)$(bindir) && rm -f kswitch && $(LN_S) heimtools kswitch)