Remove building with NOCRYPTO option
[minix.git] / crypto / external / bsd / heimdal / dist / tests / kdc / Makefile.am
blobecf74e5d190cdde0b81b9aed032a3bf53c96208f
1 include $(top_srcdir)/Makefile.am.common
3 noinst_DATA = \
4         krb5.conf \
5         krb5-weak.conf \
6         krb5-pkinit.conf \
7         krb5-pkinit-win.conf \
8         krb5-slave.conf
10 check_SCRIPTS = $(SCRIPT_TESTS) 
12 SCRIPT_TESTS = \
13         check-cc \
14         check-delegation \
15         check-des \
16         check-digest \
17         check-kadmin \
18         check-kdc \
19         check-kdc-weak \
20         check-keys \
21         check-kpasswdd \
22         check-pkinit \
23         check-iprop \
24         check-referral \
25         check-uu
27 TESTS = $(SCRIPT_TESTS)
29 port = 49188
30 admport = 49189
31 pwport = 49190
33 if HAVE_DLOPEN
34 do_dlopen = -e 's,[@]DLOPEN[@],true,g'
35 else
36 do_dlopen = -e 's,[@]DLOPEN[@],false,g'
37 endif
39 do_subst = sed $(do_dlopen) \
40         -e 's,[@]env_setup[@],$(top_builddir)/tests/bin/setup-env,g' \
41         -e 's,[@]srcdir[@],$(srcdir),g' \
42         -e 's,[@]port[@],$(port),g' \
43         -e 's,[@]admport[@],$(admport),g' \
44         -e 's,[@]pwport[@],$(pwport),g' \
45         -e 's,[@]objdir[@],$(top_builddir)/tests/kdc,g' \
46         -e 's,[@]top_builddir[@],$(top_builddir),g' \
47         -e 's,[@]EGREP[@],$(EGREP),g' 
49 LDADD = ../../lib/krb5/libkrb5.la $(LIB_roken)
51 check-cc: check-cc.in Makefile
52         $(do_subst) < $(srcdir)/check-cc.in > check-cc.tmp
53         chmod +x check-cc.tmp
54         mv check-cc.tmp check-cc
56 check-delegation: check-delegation.in Makefile
57         $(do_subst) < $(srcdir)/check-delegation.in > check-delegation.tmp
58         chmod +x check-delegation.tmp
59         mv check-delegation.tmp check-delegation
61 check-des: check-des.in Makefile krb5.conf
62         $(do_subst) < $(srcdir)/check-des.in > check-des.tmp
63         chmod +x check-des.tmp
64         mv check-des.tmp check-des
66 check-kdc: check-kdc.in Makefile
67         $(do_subst) < $(srcdir)/check-kdc.in > check-kdc.tmp
68         chmod +x check-kdc.tmp
69         mv check-kdc.tmp check-kdc
71 check-kdc-weak: check-kdc-weak.in Makefile
72         $(do_subst) < $(srcdir)/check-kdc-weak.in > check-kdc-weak.tmp
73         chmod +x check-kdc-weak.tmp
74         mv check-kdc-weak.tmp check-kdc-weak
76 check-keys: check-keys.in Makefile
77         $(do_subst) < $(srcdir)/check-keys.in > check-keys.tmp
78         chmod +x check-keys.tmp
79         mv check-keys.tmp check-keys
81 check-kadmin: check-kadmin.in Makefile
82         $(do_subst) < $(srcdir)/check-kadmin.in > check-kadmin.tmp
83         chmod +x check-kadmin.tmp
84         mv check-kadmin.tmp check-kadmin
86 check-uu: check-uu.in Makefile
87         $(do_subst) < $(srcdir)/check-uu.in > check-uu.tmp
88         chmod +x check-uu.tmp
89         mv check-uu.tmp check-uu
91 check-pkinit: check-pkinit.in Makefile krb5-pkinit.conf
92         $(do_subst) < $(srcdir)/check-pkinit.in > check-pkinit.tmp
93         chmod +x check-pkinit.tmp
94         mv check-pkinit.tmp check-pkinit
96 check-iprop: check-iprop.in Makefile krb5.conf krb5-slave.conf
97         $(do_subst) < $(srcdir)/check-iprop.in > check-iprop.tmp
98         chmod +x check-iprop.tmp
99         mv check-iprop.tmp check-iprop
101 check-digest: check-digest.in Makefile
102         $(do_subst) < $(srcdir)/check-digest.in > check-digest.tmp
103         chmod +x check-digest.tmp
104         mv check-digest.tmp check-digest
106 check-referral: check-referral.in Makefile
107         $(do_subst) < $(srcdir)/check-referral.in > check-referral.tmp
108         chmod +x check-referral.tmp
109         mv check-referral.tmp check-referral
111 check-kpasswdd: check-kpasswdd.in Makefile
112         $(do_subst) < $(srcdir)/check-kpasswdd.in > check-kpasswdd.tmp
113         chmod +x check-kpasswdd.tmp
114         mv check-kpasswdd.tmp check-kpasswdd
116 krb5.conf: krb5.conf.in Makefile
117         $(do_subst) \
118            -e 's,[@]WEAK[@],false,g' \
119            -e 's,[@]dk[@],,g' \
120            -e 's,[@]kdc[@],,g' < $(srcdir)/krb5.conf.in > krb5.conf.tmp
121         mv krb5.conf.tmp krb5.conf
123 krb5-weak.conf: krb5.conf.in Makefile
124         $(do_subst) \
125            -e 's,[@]WEAK[@],true,g' \
126            -e 's,[@]dk[@],default_keys = aes256-cts-hmac-sha1-96:pw-salt arcfour-hmac-md5:pw-salt des3-cbc-sha1:pw-salt des:pw-salt,g' \
127            -e 's,[@]kdc[@],,g' < $(srcdir)/krb5.conf.in > krb5-weak.conf.tmp
128         mv krb5-weak.conf.tmp krb5-weak.conf
130 krb5-slave.conf: krb5.conf.in Makefile
131         $(do_subst) \
132            -e 's,[@]WEAK[@],true,g' \
133            -e 's,[@]dk[@],,g' \
134            -e 's,[@]kdc[@],.slave,g' < $(srcdir)/krb5.conf.in > krb5-slave.conf.tmp
135         mv krb5-slave.conf.tmp krb5-slave.conf
137 krb5-pkinit.conf: krb5-pkinit.conf.in Makefile
138         $(do_subst) -e 's,[@]w2k[@],no,g' < $(srcdir)/krb5-pkinit.conf.in > krb5-pkinit.conf.tmp
139         mv krb5-pkinit.conf.tmp krb5-pkinit.conf
141 krb5-pkinit-win.conf: krb5-pkinit.conf.in Makefile
142         $(do_subst) -e 's,[@]w2k[@],yes,g' < $(srcdir)/krb5-pkinit.conf.in > krb5-pkinit-win.conf.tmp
143         mv krb5-pkinit-win.conf.tmp krb5-pkinit-win.conf
145 CLEANFILES= \
146         $(TESTS) \
147         iprop-stats \
148         barpassword \
149         cache.krb5 \
150         cdigest-reply \
151         *.tmp \
152         client-cache \
153         current-db* \
154         current*.log \
155         iprop.keytab \
156         digest-reply \
157         foopassword \
158         krb5.conf \
159         krb5-weak.conf \
160         krb5.conf.keys \
161         krb5-cc.conf \
162         krb5-slave.conf \
163         krb5-pkinit.conf \
164         krb5-pkinit-win.conf \
165         signal \
166         leaks-log \
167         malloc-log \
168         malloc-log-master \
169         malloc-log-slave \
170         messages.log \
171         o2cache.krb5 \
172         o2digest-reply \
173         ocache.krb5 \
174         s2digest-reply \
175         sdigest-init \
176         sdigest-reply \
177         server.keytab \
178         req-pkinit.der \
179         req-pkinit2.der \
180         req-kdc.der \
181         pkinit.crt \
182         pkinit2.crt \
183         pkinit3.crt \
184         pkinit4.crt \
185         kdc.crt \
186         ca.crt \
187         uuserver.log \
188         tempfile \
189         test-rc-file.rc
191 EXTRA_DIST = \
192         NTMakefile \
193         check-cc.in \
194         check-delegation.in \
195         check-des.in \
196         check-digest.in \
197         check-iprop.in \
198         check-kadmin.in \
199         check-kdc.in \
200         check-kdc-weak.in \
201         check-keys.in \
202         check-kpasswdd.in \
203         check-pkinit.in \
204         check-referral.in \
205         check-uu.in \
206         donotexists.txt \
207         heimdal.acl \
208         iprop-acl \
209         krb5-pkinit.conf.in \
210         krb5.conf.in \
211         krb5.conf.keys.in \
212         ntlm-user-file.txt \
213         leaks-kill.sh \
214         pki-mapping \
215         uuserver.txt \
216         wait-kdc.sh