]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - crypto/heimdal/tests/gss/Makefile.am
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.2.git] / crypto / heimdal / tests / gss / Makefile.am
1 # $Id: Makefile.am 20513 2007-04-22 10:23:27Z lha $
2
3 include $(top_srcdir)/Makefile.am.common
4
5 noinst_DATA = krb5.conf
6
7 SCRIPT_TESTS = 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 = sed -e 's,[@]srcdir[@],$(srcdir),g' \
16         -e 's,[@]port[@],$(port),g' \
17         -e 's,[@]objdir[@],$(top_builddir)/tests/gss,g'
18
19 check-gss: check-gss.in Makefile
20         $(do_subst) < $(srcdir)/check-gss.in > check-gss.tmp
21         chmod +x check-gss.tmp
22         mv check-gss.tmp check-gss
23
24 check-gssmask: check-gssmask.in Makefile
25         $(do_subst) < $(srcdir)/check-gssmask.in > check-gssmask.tmp
26         chmod +x check-gssmask.tmp
27         mv check-gssmask.tmp check-gssmask
28
29 check-context: check-context.in Makefile
30         $(do_subst) < $(srcdir)/check-context.in > check-context.tmp
31         chmod +x check-context.tmp
32         mv check-context.tmp check-context
33
34 check-spnego: check-spnego.in Makefile
35         $(do_subst) < $(srcdir)/check-spnego.in > check-spnego.tmp
36         chmod +x check-spnego.tmp
37         mv check-spnego.tmp check-spnego
38
39 check-basic: check-basic.in Makefile
40         $(do_subst) < $(srcdir)/check-basic.in > check-basic.tmp
41         chmod +x check-basic.tmp
42         mv check-basic.tmp check-basic
43
44 check-ntlm: check-ntlm.in Makefile
45         $(do_subst) < $(srcdir)/check-ntlm.in > check-ntlm.tmp
46         chmod +x check-ntlm.tmp
47         mv check-ntlm.tmp check-ntlm
48
49 krb5.conf: krb5.conf.in Makefile
50         $(do_subst) < $(srcdir)/krb5.conf.in > krb5.conf.tmp
51         mv krb5.conf.tmp krb5.conf
52
53 CLEANFILES= \
54         $(TESTS) \
55         foopassword \
56         barpassword \
57         krb5ccfile \
58         krb5ccfile-ds \
59         server.keytab \
60         krb5.conf \
61         current-db* \
62         *.log \
63         check-basic.tmp \
64         check-gss.tmp \
65         check-gssmask.tmp \
66         check-spnego.tmp \
67         check-ntlm.tmp \
68         check-context.tmp
69
70 EXTRA_DIST = \
71         check-basic.in \
72         check-gss.in \
73         check-gssmask.in \
74         check-spnego.in \
75         check-ntlm.in \
76         check-context.in \
77         ntlm-user-file.txt \
78         krb5.conf.in