| 1 |
# $Id$ |
| 2 |
|
| 3 |
include $(top_srcdir)/Makefile.am.common |
| 4 |
|
| 5 |
noinst_DATA = krb5.conf |
| 6 |
|
| 7 |
SCRIPT_TESTS = check-basic check-gss check-gssmask check-context check-spnego check-ntlm |
| 8 |
|
| 9 |
TESTS = $(SCRIPT_TESTS) |
| 10 |
|
| 11 |
check_SCRIPTS = $(SCRIPT_TESTS) |
| 12 |
|
| 13 |
port = 49188 |
| 14 |
|
| 15 |
do_subst = $(heim_verbose)sed -e 's,[@]srcdir[@],$(srcdir),g' \ |
| 16 |
-e 's,[@]env_setup[@],$(top_builddir)/tests/bin/setup-env,g' \ |
| 17 |
-e 's,[@]port[@],$(port),g' \ |
| 18 |
-e 's,[@]objdir[@],$(top_builddir)/tests/gss,g' |
| 19 |
|
| 20 |
check-gss: check-gss.in Makefile |
| 21 |
$(do_subst) < $(srcdir)/check-gss.in > check-gss.tmp && \ |
| 22 |
chmod +x check-gss.tmp && \ |
| 23 |
mv check-gss.tmp check-gss |
| 24 |
|
| 25 |
check-gssmask: check-gssmask.in Makefile |
| 26 |
$(do_subst) < $(srcdir)/check-gssmask.in > check-gssmask.tmp && \ |
| 27 |
chmod +x check-gssmask.tmp && \ |
| 28 |
mv check-gssmask.tmp check-gssmask |
| 29 |
|
| 30 |
check-context: check-context.in Makefile |
| 31 |
$(do_subst) < $(srcdir)/check-context.in > check-context.tmp && \ |
| 32 |
chmod +x check-context.tmp && \ |
| 33 |
mv check-context.tmp check-context |
| 34 |
|
| 35 |
check-spnego: check-spnego.in Makefile |
| 36 |
$(do_subst) < $(srcdir)/check-spnego.in > check-spnego.tmp && \ |
| 37 |
chmod +x check-spnego.tmp && \ |
| 38 |
mv check-spnego.tmp check-spnego |
| 39 |
|
| 40 |
check-basic: check-basic.in Makefile |
| 41 |
$(do_subst) < $(srcdir)/check-basic.in > check-basic.tmp && \ |
| 42 |
chmod +x check-basic.tmp && \ |
| 43 |
mv check-basic.tmp check-basic |
| 44 |
|
| 45 |
check-ntlm: check-ntlm.in Makefile |
| 46 |
$(do_subst) < $(srcdir)/check-ntlm.in > check-ntlm.tmp && \ |
| 47 |
chmod +x check-ntlm.tmp && \ |
| 48 |
mv check-ntlm.tmp check-ntlm |
| 49 |
|
| 50 |
krb5.conf: krb5.conf.in Makefile |
| 51 |
$(do_subst) < $(srcdir)/krb5.conf.in > krb5.conf.tmp && \ |
| 52 |
mv krb5.conf.tmp krb5.conf |
| 53 |
|
| 54 |
CLEANFILES= \ |
| 55 |
$(TESTS) \ |
| 56 |
foopassword \ |
| 57 |
barpassword \ |
| 58 |
krb5ccfile \ |
| 59 |
krb5ccfile-ds \ |
| 60 |
server.keytab \ |
| 61 |
krb5.conf \ |
| 62 |
current-db* \ |
| 63 |
*.log \ |
| 64 |
tempfile \ |
| 65 |
check-basic.tmp \ |
| 66 |
check-gss.tmp \ |
| 67 |
check-gssmask.tmp \ |
| 68 |
check-spnego.tmp \ |
| 69 |
check-ntlm.tmp \ |
| 70 |
check-context.tmp |
| 71 |
|
| 72 |
EXTRA_DIST = \ |
| 73 |
NTMakefile \ |
| 74 |
check-basic.in \ |
| 75 |
check-gss.in \ |
| 76 |
check-gssmask.in \ |
| 77 |
check-spnego.in \ |
| 78 |
check-ntlm.in \ |
| 79 |
check-context.in \ |
| 80 |
ntlm-user-file.txt \ |
| 81 |
krb5.conf.in |