2011-10-05 09:23:29 +02:00
|
|
|
# $Id$
|
2000-01-09 21:58:00 +01:00
|
|
|
|
|
|
|
include $(top_srcdir)/Makefile.am.common
|
|
|
|
|
2011-10-05 09:23:29 +02:00
|
|
|
AM_CPPFLAGS += $(INCLUDE_hcrypto) -I$(srcdir)/../lib/krb5 \
|
|
|
|
$(INCLUDE_libintl) \
|
|
|
|
-DHEIMDAL_LOCALEDIR='"$(localedir)"'
|
2000-01-09 21:58:00 +01:00
|
|
|
|
2008-05-07 15:39:42 +02:00
|
|
|
man_MANS = \
|
|
|
|
kinit.1 \
|
|
|
|
klist.1 \
|
|
|
|
kdestroy.1 \
|
2011-10-05 09:23:29 +02:00
|
|
|
kswitch.1 \
|
|
|
|
kdigest.8 \
|
2008-05-07 15:39:42 +02:00
|
|
|
kgetcred.1 \
|
2011-10-05 09:23:29 +02:00
|
|
|
kimpersonate.8
|
2008-05-07 15:39:42 +02:00
|
|
|
|
2011-10-05 09:23:29 +02:00
|
|
|
bin_PROGRAMS = kinit kdestroy kgetcred kcc
|
2008-05-07 15:39:42 +02:00
|
|
|
libexec_PROGRAMS = kdigest kimpersonate
|
2000-01-09 21:58:00 +01:00
|
|
|
|
2011-10-05 09:23:29 +02:00
|
|
|
noinst_PROGRAMS = kverify kdecode_ticket generate-requests
|
2000-01-09 21:58:00 +01:00
|
|
|
|
2002-02-19 16:46:56 +01:00
|
|
|
kinit_LDADD = \
|
2000-01-09 21:58:00 +01:00
|
|
|
$(LIB_kafs) \
|
|
|
|
$(top_builddir)/lib/krb5/libkrb5.la \
|
2008-05-07 15:39:42 +02:00
|
|
|
$(top_builddir)/lib/ntlm/libheimntlm.la \
|
|
|
|
$(LIB_hcrypto) \
|
2000-01-09 21:58:00 +01:00
|
|
|
$(top_builddir)/lib/asn1/libasn1.la \
|
2011-10-05 09:23:29 +02:00
|
|
|
$(LIB_libintl) \
|
2000-01-09 21:58:00 +01:00
|
|
|
$(LIB_roken)
|
|
|
|
|
2002-02-19 16:46:56 +01:00
|
|
|
kdestroy_LDADD = $(kinit_LDADD)
|
2000-01-09 21:58:00 +01:00
|
|
|
|
2008-05-07 15:39:42 +02:00
|
|
|
kimpersonate_LDADD = $(kinit_LDADD)
|
|
|
|
|
2011-10-05 09:23:29 +02:00
|
|
|
kcc_LDADD = \
|
|
|
|
$(top_builddir)/lib/sl/libsl.la \
|
|
|
|
$(kinit_LDADD) \
|
|
|
|
$(LIB_readline)
|
|
|
|
|
|
|
|
dist_kcc_SOURCES = kcc.c klist.c kswitch.c copy_cred_cache.c
|
|
|
|
nodist_kcc_SOURCES = kcc-commands.c
|
|
|
|
|
|
|
|
$(kcc_OBJECTS): kcc-commands.h
|
|
|
|
|
2008-05-07 15:39:42 +02:00
|
|
|
dist_kdigest_SOURCES = kdigest.c
|
|
|
|
nodist_kdigest_SOURCES = kdigest-commands.c
|
|
|
|
|
|
|
|
kdigest_LDADD = \
|
|
|
|
$(top_builddir)/lib/ntlm/libheimntlm.la \
|
|
|
|
$(top_builddir)/lib/krb5/libkrb5.la \
|
|
|
|
$(LIB_hcrypto) \
|
|
|
|
$(top_builddir)/lib/asn1/libasn1.la \
|
|
|
|
$(top_builddir)/lib/sl/libsl.la \
|
|
|
|
$(LIB_roken)
|
|
|
|
|
|
|
|
$(kdigest_OBJECTS): kdigest-commands.h
|
|
|
|
|
2011-10-05 09:23:29 +02:00
|
|
|
CLEANFILES = \
|
|
|
|
kdigest-commands.h kdigest-commands.c \
|
|
|
|
kcc-commands.h kcc-commands.c
|
2008-05-07 15:39:42 +02:00
|
|
|
|
|
|
|
kdigest-commands.c kdigest-commands.h: kdigest-commands.in
|
|
|
|
$(SLC) $(srcdir)/kdigest-commands.in
|
|
|
|
|
2011-10-05 09:23:29 +02:00
|
|
|
kcc-commands.c kcc-commands.h: kcc-commands.in
|
|
|
|
$(SLC) $(srcdir)/kcc-commands.in
|
|
|
|
|
2000-01-09 21:58:00 +01:00
|
|
|
LDADD = \
|
|
|
|
$(top_builddir)/lib/krb5/libkrb5.la \
|
2008-05-07 15:39:42 +02:00
|
|
|
$(LIB_hcrypto) \
|
2001-02-13 17:46:19 +01:00
|
|
|
$(top_builddir)/lib/asn1/libasn1.la \
|
2000-01-09 21:58:00 +01:00
|
|
|
$(LIB_roken)
|
2002-02-19 16:46:56 +01:00
|
|
|
|
2011-10-05 09:23:29 +02:00
|
|
|
EXTRA_DIST = NTMakefile $(man_MANS) \
|
|
|
|
kcc-version.rc \
|
|
|
|
kdestroy-version.rc \
|
|
|
|
kdigest-version.rc \
|
|
|
|
kgetcred-version.rc \
|
|
|
|
kimpersonate-version.rc \
|
|
|
|
kinit-version.rc \
|
|
|
|
kuser_locl.h kcc-commands.in kdigest-commands.in copy_cred_cache.1
|
|
|
|
|
2002-02-19 16:46:56 +01:00
|
|
|
# make sure install-exec-hook doesn't have any commands in Makefile.am.common
|
|
|
|
install-exec-hook:
|
2011-10-05 09:23:29 +02:00
|
|
|
(cd $(DESTDIR)$(bindir) && rm -f klist && $(LN_S) kcc klist)
|
|
|
|
(cd $(DESTDIR)$(bindir) && rm -f kswitch && $(LN_S) kcc kswitch)
|
2008-05-07 15:39:42 +02:00
|
|
|
|