| 1 |
# $Id$ |
| 2 |
|
| 3 |
include $(top_srcdir)/Makefile.am.common |
| 4 |
|
| 5 |
if !NO_AFS |
| 6 |
afs_lib = $(LIB_kafs) |
| 7 |
endif |
| 8 |
|
| 9 |
AM_CPPFLAGS += -I$(srcdir)/../lib/krb5 \ |
| 10 |
$(INCLUDE_libintl) \ |
| 11 |
-DHEIMDAL_LOCALEDIR='"$(localedir)"' |
| 12 |
|
| 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 |
|
| 22 |
bin_PROGRAMS = kinit kdestroy kgetcred heimtools |
| 23 |
libexec_PROGRAMS = kdigest kimpersonate |
| 24 |
|
| 25 |
noinst_PROGRAMS = kverify kdecode_ticket generate-requests |
| 26 |
|
| 27 |
kinit_LDADD = \ |
| 28 |
$(afs_lib) \ |
| 29 |
$(top_builddir)/lib/krb5/libkrb5.la \ |
| 30 |
$(top_builddir)/lib/ntlm/libheimntlm.la \ |
| 31 |
$(LIB_hcrypto) \ |
| 32 |
$(top_builddir)/lib/asn1/libasn1.la \ |
| 33 |
$(LIB_libintl) \ |
| 34 |
$(LIB_roken) |
| 35 |
|
| 36 |
kdestroy_LDADD = $(kinit_LDADD) |
| 37 |
|
| 38 |
kimpersonate_LDADD = $(kinit_LDADD) |
| 39 |
|
| 40 |
heimtools_LDADD = \ |
| 41 |
$(top_builddir)/lib/sl/libsl.la \ |
| 42 |
$(kinit_LDADD) \ |
| 43 |
$(LIB_readline) |
| 44 |
|
| 45 |
dist_heimtools_SOURCES = heimtools.c klist.c kswitch.c copy_cred_cache.c |
| 46 |
nodist_heimtools_SOURCES = heimtools-commands.c |
| 47 |
|
| 48 |
$(heimtools_OBJECTS): heimtools-commands.h |
| 49 |
|
| 50 |
dist_kdigest_SOURCES = kdigest.c |
| 51 |
nodist_kdigest_SOURCES = kdigest-commands.c |
| 52 |
|
| 53 |
kdigest_LDADD = \ |
| 54 |
$(top_builddir)/lib/ntlm/libheimntlm.la \ |
| 55 |
$(top_builddir)/lib/krb5/libkrb5.la \ |
| 56 |
$(LIB_hcrypto) \ |
| 57 |
$(top_builddir)/lib/asn1/libasn1.la \ |
| 58 |
$(top_builddir)/lib/sl/libsl.la \ |
| 59 |
$(LIB_roken) |
| 60 |
|
| 61 |
$(kdigest_OBJECTS): kdigest-commands.h |
| 62 |
|
| 63 |
CLEANFILES = \ |
| 64 |
kdigest-commands.h kdigest-commands.c \ |
| 65 |
heimtools-commands.h heimtools-commands.c |
| 66 |
|
| 67 |
kdigest-commands.c kdigest-commands.h: kdigest-commands.in |
| 68 |
$(SLC) $(srcdir)/kdigest-commands.in |
| 69 |
|
| 70 |
heimtools-commands.c heimtools-commands.h: heimtools-commands.in |
| 71 |
$(SLC) $(srcdir)/heimtools-commands.in |
| 72 |
|
| 73 |
LDADD = \ |
| 74 |
$(top_builddir)/lib/krb5/libkrb5.la \ |
| 75 |
$(LIB_hcrypto) \ |
| 76 |
$(top_builddir)/lib/asn1/libasn1.la \ |
| 77 |
$(LIB_roken) |
| 78 |
|
| 79 |
EXTRA_DIST = NTMakefile $(man_MANS) \ |
| 80 |
heimtools-version.rc \ |
| 81 |
kcpytkt.c \ |
| 82 |
kdeltkt.c \ |
| 83 |
kvno.c \ |
| 84 |
kdestroy-version.rc \ |
| 85 |
kdigest-version.rc \ |
| 86 |
kgetcred-version.rc \ |
| 87 |
kimpersonate-version.rc \ |
| 88 |
kinit-version.rc \ |
| 89 |
kuser_locl.h heimtools-commands.in kdigest-commands.in copy_cred_cache.1 |
| 90 |
|
| 91 |
# make sure install-exec-hook doesn't have any commands in Makefile.am.common |
| 92 |
install-exec-hook: |
| 93 |
(cd $(DESTDIR)$(bindir) && rm -f klist && $(LN_S) heimtools klist) |
| 94 |
(cd $(DESTDIR)$(bindir) && rm -f kswitch && $(LN_S) heimtools kswitch) |
| 95 |
|