summaryrefslogtreecommitdiff
path: root/source4/heimdal/tests/gss/Makefile.am
blob: ca40ae26bd2dbace94b127f68cb39e840a968127 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
# $Id$

include $(top_srcdir)/Makefile.am.common

noinst_DATA = krb5.conf new_clients_k5.conf mech

SCRIPT_TESTS = check-basic check-gss check-gssmask check-context check-spnego check-ntlm check-negoex

TESTS = $(SCRIPT_TESTS)

check_SCRIPTS = $(SCRIPT_TESTS)

port = 49188

do_subst = srcdirabs=`cd "$(srcdir)"; pwd`; objdirabs=`pwd`; sed \
	-e 's,[@]srcdir[@],$(srcdir),g' \
	-e "s,[@]srcdirabs[@],$${srcdirabs},g" \
	-e 's,[@]env_setup[@],$(top_builddir)/tests/bin/setup-env,g' \
	-e 's,[@]port[@],$(port),g' \
	-e 's,[@]objdir[@],$(top_builddir)/tests/gss,g' \
	-e "s,[@]objdirabs[@],$${objdirabs},g"

check-gss: check-gss.in Makefile
	$(do_subst) < $(srcdir)/check-gss.in > check-gss.tmp && \
	chmod +x check-gss.tmp && \
	mv check-gss.tmp check-gss

check-gssmask: check-gssmask.in Makefile
	$(do_subst) < $(srcdir)/check-gssmask.in > check-gssmask.tmp && \
	chmod +x check-gssmask.tmp && \
	mv check-gssmask.tmp check-gssmask

check-context: check-context.in Makefile
	$(do_subst) < $(srcdir)/check-context.in > check-context.tmp && \
	chmod +x check-context.tmp && \
	mv check-context.tmp check-context

check-spnego: check-spnego.in Makefile
	$(do_subst) < $(srcdir)/check-spnego.in > check-spnego.tmp && \
	chmod +x check-spnego.tmp && \
	mv check-spnego.tmp check-spnego

check-basic: check-basic.in Makefile
	$(do_subst) < $(srcdir)/check-basic.in > check-basic.tmp && \
	chmod +x check-basic.tmp && \
	mv check-basic.tmp check-basic

check-ntlm: check-ntlm.in Makefile
	$(do_subst) < $(srcdir)/check-ntlm.in > check-ntlm.tmp && \
	chmod +x check-ntlm.tmp && \
	mv check-ntlm.tmp check-ntlm

check-negoex: check-negoex.in Makefile
	$(do_subst) < $(srcdir)/check-negoex.in > check-negoex.tmp && \
	chmod +x check-negoex.tmp && \
	mv check-negoex.tmp check-negoex

krb5.conf: krb5.conf.in Makefile
	$(do_subst) < $(srcdir)/krb5.conf.in > krb5.conf.tmp && \
	mv krb5.conf.tmp krb5.conf

new_clients_k5.conf: new_clients_k5.conf.in Makefile
	$(do_subst) < $(srcdir)/new_clients_k5.conf.in > new_clients_k5.conf.tmp && \
	mv new_clients_k5.conf.tmp new_clients_k5.conf

mech: mech.in Makefile
	$(do_subst) < $(srcdir)/mech.in > mech.tmp && \
	mv mech.tmp mech

CLEANFILES= \
	$(TESTS) \
	foopassword \
	barpassword \
	krb5ccfile \
	krb5ccfile-ds \
	server.keytab \
	krb5.conf \
	new_clients_k5.conf \
	mech \
	current-db* \
	*.log \
	tempfile \
	check-basic.tmp \
	check-gss.tmp \
	check-gssmask.tmp \
	check-spnego.tmp \
	check-ntlm.tmp \
	check-context.tmp

EXTRA_DIST = \
	NTMakefile \
	check-basic.in \
	check-gss.in \
	check-gssmask.in \
	check-spnego.in \
	check-ntlm.in \
	check-context.in \
	ntlm-user-file.txt \
	krb5.conf.in \
	new_clients_k5.conf.in \
	mech.in