make quiet
[heimdal.git] / tests / kdc / Makefile.am
blobe5364b370f10a607819461ea913510cb05155c37
1 include $(top_srcdir)/Makefile.am.common
3 noinst_DATA = \
4         an2ln-db.txt \
5         kdc-tester4.json \
6         krb5.conf \
7         krb5-authz.conf \
8         krb5-authz2.conf \
9         krb5-canon.conf \
10         krb5-canon2.conf \
11         krb5-hdb-mitdb.conf \
12         krb5-weak.conf \
13         krb5-pkinit.conf \
14         krb5-pkinit-win.conf \
15         krb5-slave.conf
17 check_SCRIPTS = $(SCRIPT_TESTS) 
19 SCRIPT_TESTS = \
20         check-authz \
21         check-canon \
22         check-cc \
23         check-delegation \
24         check-des \
25         check-digest \
26         check-fast \
27         check-kadmin \
28         check-hdb-mitdb \
29         check-kdc \
30         check-kdc-weak \
31         check-keys \
32         check-kpasswdd \
33         check-pkinit \
34         check-iprop \
35         check-referral \
36         check-tester \
37         check-uu
39 TESTS = $(SCRIPT_TESTS)
41 port = 49188
42 admport = 49189
43 pwport = 49190
45 if HAVE_DLOPEN
46 do_dlopen = -e 's,[@]DLOPEN[@],true,g'
47 else
48 do_dlopen = -e 's,[@]DLOPEN[@],false,g'
49 endif
51 do_subst = $(heim_verbose)sed $(do_dlopen) \
52         -e 's,[@]env_setup[@],$(top_builddir)/tests/bin/setup-env,g' \
53         -e 's,[@]top_srcdir[@],$(top_srcdir),g' \
54         -e 's,[@]srcdir[@],$(srcdir),g' \
55         -e 's,[@]port[@],$(port),g' \
56         -e 's,[@]admport[@],$(admport),g' \
57         -e 's,[@]pwport[@],$(pwport),g' \
58         -e 's,[@]objdir[@],$(top_builddir)/tests/kdc,g' \
59         -e 's,[@]top_builddir[@],$(top_builddir),g' \
60         -e 's,[@]EGREP[@],$(EGREP),g' 
62 LDADD = ../../lib/krb5/libkrb5.la $(LIB_roken)
64 check-authz: check-authz.in Makefile krb5-authz.conf krb5-authz2.conf
65         $(do_subst) < $(srcdir)/check-authz.in > check-authz.tmp && \
66         chmod +x check-authz.tmp && \
67         mv check-authz.tmp check-authz
69 check-canon: check-canon.in Makefile krb5-canon.conf krb5-canon2.conf
70         $(do_subst) < $(srcdir)/check-canon.in > check-canon.tmp && \
71         chmod +x check-canon.tmp && \
72         mv check-canon.tmp check-canon
74 check-cc: check-cc.in Makefile
75         $(do_subst) < $(srcdir)/check-cc.in > check-cc.tmp && \
76         chmod +x check-cc.tmp && \
77         mv check-cc.tmp check-cc
79 check-delegation: check-delegation.in Makefile
80         $(do_subst) < $(srcdir)/check-delegation.in > check-delegation.tmp && \
81         chmod +x check-delegation.tmp && \
82         mv check-delegation.tmp check-delegation
84 check-des: check-des.in Makefile krb5.conf
85         $(do_subst) < $(srcdir)/check-des.in > check-des.tmp && \
86         chmod +x check-des.tmp && \
87         mv check-des.tmp check-des
89 check-hdb-mitdb: check-hdb-mitdb.in Makefile krb5-hdb-mitdb.conf
90         $(do_subst) < $(srcdir)/check-hdb-mitdb.in > check-hdb-mitdb.tmp && \
91         chmod +x check-hdb-mitdb.tmp && \
92         mv check-hdb-mitdb.tmp check-hdb-mitdb
94 check-fast: check-fast.in Makefile
95         $(do_subst) < $(srcdir)/check-fast.in > check-fast.tmp && \
96         chmod +x check-fast.tmp && \
97         mv check-fast.tmp check-fast
99 check-kdc: check-kdc.in Makefile
100         $(do_subst) < $(srcdir)/check-kdc.in > check-kdc.tmp && \
101         chmod +x check-kdc.tmp && \
102         mv check-kdc.tmp check-kdc
104 check-kdc-weak: check-kdc-weak.in Makefile
105         $(do_subst) < $(srcdir)/check-kdc-weak.in > check-kdc-weak.tmp && \
106         chmod +x check-kdc-weak.tmp && \
107         mv check-kdc-weak.tmp check-kdc-weak
109 check-tester: check-tester.in kdc-tester4.json Makefile
110         $(do_subst) < $(srcdir)/check-tester.in > check-tester.tmp && \
111         chmod +x check-tester.tmp && \
112         mv check-tester.tmp check-tester
114 check-keys: check-keys.in Makefile
115         $(do_subst) < $(srcdir)/check-keys.in > check-keys.tmp && \
116         chmod +x check-keys.tmp && \
117         mv check-keys.tmp check-keys
119 check-kinit: check-kinit.in Makefile
120         $(do_subst) < $(srcdir)/check-kinit.in > check-kinit.tmp && \
121         chmod +x check-kinit.tmp && \
122         mv check-kinit.tmp check-kinit
124 check-kadmin: check-kadmin.in Makefile
125         $(do_subst) < $(srcdir)/check-kadmin.in > check-kadmin.tmp && \
126         chmod +x check-kadmin.tmp && \
127         mv check-kadmin.tmp check-kadmin
129 check-uu: check-uu.in Makefile
130         $(do_subst) < $(srcdir)/check-uu.in > check-uu.tmp && \
131         chmod +x check-uu.tmp && \
132         mv check-uu.tmp check-uu
134 check-pkinit: check-pkinit.in Makefile krb5-pkinit.conf
135         $(do_subst) < $(srcdir)/check-pkinit.in > check-pkinit.tmp && \
136         chmod +x check-pkinit.tmp && \
137         mv check-pkinit.tmp check-pkinit
139 check-iprop: check-iprop.in Makefile krb5.conf krb5-slave.conf
140         $(do_subst) < $(srcdir)/check-iprop.in > check-iprop.tmp && \
141         chmod +x check-iprop.tmp && \
142         mv check-iprop.tmp check-iprop
144 check-digest: check-digest.in Makefile
145         $(do_subst) < $(srcdir)/check-digest.in > check-digest.tmp && \
146         chmod +x check-digest.tmp && \
147         mv check-digest.tmp check-digest
149 check-referral: check-referral.in Makefile
150         $(do_subst) < $(srcdir)/check-referral.in > check-referral.tmp && \
151         chmod +x check-referral.tmp && \
152         mv check-referral.tmp check-referral
154 check-kpasswdd: check-kpasswdd.in Makefile
155         $(do_subst) < $(srcdir)/check-kpasswdd.in > check-kpasswdd.tmp && \
156         chmod +x check-kpasswdd.tmp && \
157         mv check-kpasswdd.tmp check-kpasswdd
159 kdc-tester4.json: kdc-tester4.json.in Makefile
160         $(do_subst) < $(srcdir)/kdc-tester4.json.in > kdc-tester4.json.tmp && \
161         mv kdc-tester4.json.tmp kdc-tester4.json
163 krb5.conf: krb5.conf.in Makefile
164         $(do_subst) \
165            -e 's,[@]WEAK[@],false,g' \
166            -e 's,[@]dk[@],,g' \
167            -e 's,[@]kdc[@],,g' < $(srcdir)/krb5.conf.in > krb5.conf.tmp && \
168         mv krb5.conf.tmp krb5.conf
170 krb5-authz.conf: krb5-authz.conf.in Makefile
171         $(do_subst) < $(srcdir)/krb5-authz.conf.in > krb5-authz.conf.tmp && \
172         mv krb5-authz.conf.tmp krb5-authz.conf
174 krb5-authz2.conf: krb5-authz2.conf.in Makefile
175         $(do_subst) < $(srcdir)/krb5-authz2.conf.in > krb5-authz2.conf.tmp && \
176         mv krb5-authz2.conf.tmp krb5-authz2.conf
178 krb5-canon.conf: krb5-canon.conf.in Makefile
179         $(do_subst) \
180            -e 's,[@]WEAK[@],false,g' \
181            -e 's,[@]dk[@],,g' \
182            -e 's,[@]kdc[@],,g' < $(srcdir)/krb5-canon.conf.in > krb5-canon.conf.tmp && \
183         mv krb5-canon.conf.tmp krb5-canon.conf
185 krb5-canon2.conf: krb5-canon2.conf.in Makefile
186         $(do_subst) \
187            -e 's,[@]WEAK[@],false,g' \
188            -e 's,[@]dk[@],,g' \
189            -e 's,[@]kdc[@],,g' < $(srcdir)/krb5-canon2.conf.in > krb5-canon2.conf.tmp && \
190         mv krb5-canon2.conf.tmp krb5-canon2.conf
192 krb5-hdb-mitdb.conf: krb5-hdb-mitdb.conf.in Makefile
193         $(do_subst) \
194            -e 's,[@]WEAK[@],false,g' \
195            -e 's,[@]dk[@],,g' \
196            -e 's,[@]kdc[@],,g' < $(srcdir)/krb5-hdb-mitdb.conf.in > krb5-hdb-mitdb.conf.tmp && \
197         mv krb5-hdb-mitdb.conf.tmp krb5-hdb-mitdb.conf
199 krb5-weak.conf: krb5.conf.in Makefile
200         $(do_subst) \
201            -e 's,[@]WEAK[@],true,g' \
202            -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' \
203            -e 's,[@]kdc[@],,g' < $(srcdir)/krb5.conf.in > krb5-weak.conf.tmp && \
204         mv krb5-weak.conf.tmp krb5-weak.conf
206 krb5-slave.conf: krb5.conf.in Makefile
207         $(do_subst) \
208            -e 's,[@]WEAK[@],true,g' \
209            -e 's,[@]dk[@],,g' \
210            -e 's,[@]kdc[@],.slave,g' < $(srcdir)/krb5.conf.in > krb5-slave.conf.tmp && \
211         mv krb5-slave.conf.tmp krb5-slave.conf
213 krb5-pkinit.conf: krb5-pkinit.conf.in Makefile
214         $(do_subst) -e 's,[@]w2k[@],no,g' < $(srcdir)/krb5-pkinit.conf.in > krb5-pkinit.conf.tmp && \
215         mv krb5-pkinit.conf.tmp krb5-pkinit.conf
217 krb5-pkinit-win.conf: krb5-pkinit.conf.in Makefile
218         $(do_subst) -e 's,[@]w2k[@],yes,g' < $(srcdir)/krb5-pkinit.conf.in > krb5-pkinit-win.conf.tmp && \
219         mv krb5-pkinit-win.conf.tmp krb5-pkinit-win.conf
221 CLEANFILES= \
222         $(TESTS) \
223         *.tmp \
224         acache.krb5 \
225         barpassword \
226         ca.crt \
227         cache.krb5 \
228         cdigest-reply \
229         client-cache \
230         current*.log \
231         current-db* \
232         digest-reply \
233         foopassword \
234         foopassword.rkpty \
235         iprop-stats \
236         iprop.keytab \
237         ipropd.dumpfile \
238         kdc-tester4.json \
239         kdc.crt \
240         krb5-authz.conf \
241         krb5-authz2.conf \
242         krb5-canon.conf \
243         krb5-canon2.conf \
244         krb5-cc.conf \
245         krb5-hdb-mitdb.conf \
246         krb5-pkinit-win.conf \
247         krb5-pkinit.conf \
248         krb5-slave.conf \
249         krb5-weak.conf \
250         krb5.conf \
251         krb5.conf.keys \
252         leaks-log \
253         localname \
254         malloc-log \
255         malloc-log-master \
256         malloc-log-slave \
257         messages.log \
258         o2cache.krb5 \
259         o2digest-reply \
260         ocache.krb5 \
261         out-log \
262         pkinit.crt \
263         pkinit2.crt \
264         pkinit3.crt \
265         pkinit4.crt \
266         req-kdc.der \
267         req-pkinit.der \
268         req-pkinit2.der \
269         s2digest-reply \
270         sdigest-init \
271         sdigest-reply \
272         server.keytab \
273         signal \
274         tempfile \
275         test-rc-file.rc \
276         uuserver.log
278 EXTRA_DIST = \
279         NTMakefile \
280         an2ln-db.txt \
281         check-authz.in \
282         check-canon.in \
283         check-cc.in \
284         check-delegation.in \
285         check-des.in \
286         check-digest.in \
287         check-iprop.in \
288         check-kadmin.in \
289         check-hdb-mitdb.in \
290         check-kdc.in \
291         check-kdc-weak.in \
292         check-keys.in \
293         check-kpasswdd.in \
294         check-pkinit.in \
295         check-referral.in \
296         check-tester.in \
297         check-uu.in \
298         donotexists.txt \
299         heimdal.acl \
300         iprop-acl \
301         kdc-tester1.json \
302         kdc-tester2.json \
303         kdc-tester3.json \
304         kdc-tester4.json.in \
305         krb5-pkinit.conf.in \
306         krb5.conf.in \
307         krb5-authz.conf.in \
308         krb5-authz2.conf.in \
309         krb5-canon.conf.in \
310         krb5-canon2.conf.in \
311         krb5-hdb-mitdb.conf.in \
312         krb5.conf.keys.in \
313         k5login/foo \
314         ntlm-user-file.txt \
315         leaks-kill.sh \
316         pki-mapping \
317         uuserver.txt \
318         wait-kdc.sh