1 include $(top_srcdir)/Makefile.am.common
16 krb5-httpkadmind.conf \
17 krb5-pkinit-win.conf \
22 check_SCRIPTS = $(SCRIPT_TESTS)
46 TESTS = $(SCRIPT_TESTS)
56 pkinit_ticket_max_life_from_cert = 0
59 do_dlopen = -e 's,[@]DLOPEN[@],true,g'
61 do_dlopen = -e 's,[@]DLOPEN[@],false,g'
64 do_subst = $(heim_verbose)sed $(do_dlopen) \
65 -e 's,[@]env_setup[@],$(top_builddir)/tests/bin/setup-env,g' \
66 -e 's,[@]top_srcdir[@],$(top_srcdir),g' \
67 -e 's,[@]srcdir[@],$(srcdir),g' \
68 -e 's,[@]port[@],$(port),g' \
69 -e 's,[@]admport[@],$(admport),g' \
70 -e 's,[@]admport2[@],$(admport2),g' \
71 -e 's,[@]bx509port[@],$(restport),g' \
72 -e 's,[@]restport[@],$(restport),g' \
73 -e 's,[@]restport2[@],$(restport2),g' \
74 -e 's,[@]pwport[@],$(pwport),g' \
75 -e 's,[@]ipropport[@],$(ipropport),g' \
76 -e 's,[@]ipropport2[@],$(ipropport2),g' \
77 -e 's,[@]objdir[@],$(top_builddir)/tests/kdc,g' \
78 -e 's,[@]top_builddir[@],$(top_builddir),g' \
79 -e 's,[@]db_type[@],$(db_type),g' \
80 -e 's,[@]max_life_from_cert[@],$(pkinit_ticket_max_life_from_cert),g' \
81 -e 's,[@]ENABLE_AFS_STRING_TO_KEY[@],$(ENABLE_AFS_STRING_TO_KEY),' \
82 -e 's,[@]EGREP[@],$(EGREP),g'
86 LDADD = ../../lib/krb5/libkrb5.la $(LIB_roken)
88 check-authz: check-authz.in Makefile krb5-authz.conf krb5-authz2.conf
89 $(do_subst) < $(srcdir)/check-authz.in > check-authz.tmp && \
90 $(chmod) +x check-authz.tmp && \
91 mv check-authz.tmp check-authz
93 check-canon: check-canon.in Makefile krb5-canon.conf krb5-canon2.conf
94 $(do_subst) < $(srcdir)/check-canon.in > check-canon.tmp && \
95 $(chmod) +x check-canon.tmp && \
96 mv check-canon.tmp check-canon
98 check-cc: check-cc.in Makefile
99 $(do_subst) < $(srcdir)/check-cc.in > check-cc.tmp && \
100 $(chmod) +x check-cc.tmp && \
101 mv check-cc.tmp check-cc
103 check-delegation: check-delegation.in Makefile
104 $(do_subst) < $(srcdir)/check-delegation.in > check-delegation.tmp && \
105 $(chmod) +x check-delegation.tmp && \
106 mv check-delegation.tmp check-delegation
108 check-des: check-des.in Makefile krb5.conf
109 $(do_subst) < $(srcdir)/check-des.in > check-des.tmp && \
110 $(chmod) +x check-des.tmp && \
111 mv check-des.tmp check-des
113 check-hdb-mitdb: check-hdb-mitdb.in Makefile krb5-hdb-mitdb.conf
114 $(do_subst) < $(srcdir)/check-hdb-mitdb.in > check-hdb-mitdb.tmp && \
115 $(chmod) +x check-hdb-mitdb.tmp && \
116 mv check-hdb-mitdb.tmp check-hdb-mitdb
118 check-fast: check-fast.in Makefile
119 $(do_subst) < $(srcdir)/check-fast.in > check-fast.tmp && \
120 $(chmod) +x check-fast.tmp && \
121 mv check-fast.tmp check-fast
123 check-kdc: check-kdc.in Makefile
124 $(do_subst) < $(srcdir)/check-kdc.in > check-kdc.tmp && \
125 $(chmod) +x check-kdc.tmp && \
126 mv check-kdc.tmp check-kdc
128 check-kdc-weak: check-kdc-weak.in Makefile
129 $(do_subst) < $(srcdir)/check-kdc-weak.in > check-kdc-weak.tmp && \
130 $(chmod) +x check-kdc-weak.tmp && \
131 mv check-kdc-weak.tmp check-kdc-weak
133 check-tester: check-tester.in kdc-tester4.json Makefile
134 $(do_subst) < $(srcdir)/check-tester.in > check-tester.tmp && \
135 $(chmod) +x check-tester.tmp && \
136 mv check-tester.tmp check-tester
138 check-keys: check-keys.in Makefile
139 $(do_subst) < $(srcdir)/check-keys.in > check-keys.tmp && \
140 $(chmod) +x check-keys.tmp && \
141 mv check-keys.tmp check-keys
143 check-kinit: check-kinit.in Makefile
144 $(do_subst) < $(srcdir)/check-kinit.in > check-kinit.tmp && \
145 $(chmod) +x check-kinit.tmp && \
146 mv check-kinit.tmp check-kinit
148 check-kadmin: check-kadmin.in Makefile
149 $(do_subst) < $(srcdir)/check-kadmin.in > check-kadmin.tmp && \
150 $(chmod) +x check-kadmin.tmp && \
151 mv check-kadmin.tmp check-kadmin
153 check-uu: check-uu.in Makefile
154 $(do_subst) < $(srcdir)/check-uu.in > check-uu.tmp && \
155 $(chmod) +x check-uu.tmp && \
156 mv check-uu.tmp check-uu
158 check-pkinit: check-pkinit.in Makefile krb5-pkinit.conf krb5-pkinit2.conf
159 $(do_subst) < $(srcdir)/check-pkinit.in > check-pkinit.tmp && \
160 $(chmod) +x check-pkinit.tmp && \
161 mv check-pkinit.tmp check-pkinit
163 check-bx509: check-bx509.in Makefile krb5-bx509.conf
164 $(do_subst) < $(srcdir)/check-bx509.in > check-bx509.tmp && \
165 $(chmod) +x check-bx509.tmp && \
166 mv check-bx509.tmp check-bx509
168 check-httpkadmind: check-httpkadmind.in Makefile krb5-httpkadmind.conf
169 $(do_subst) < $(srcdir)/check-httpkadmind.in > check-httpkadmind.tmp && \
170 $(chmod) +x check-httpkadmind.tmp && \
171 mv check-httpkadmind.tmp check-httpkadmind
173 check-iprop: check-iprop.in Makefile krb5.conf krb5-master2.conf krb5-slave.conf krb5-slave2.conf
174 $(do_subst) < $(srcdir)/check-iprop.in > check-iprop.tmp && \
175 $(chmod) +x check-iprop.tmp && \
176 mv check-iprop.tmp check-iprop
178 check-digest: check-digest.in Makefile
179 $(do_subst) < $(srcdir)/check-digest.in > check-digest.tmp && \
180 $(chmod) +x check-digest.tmp && \
181 mv check-digest.tmp check-digest
183 check-referral: check-referral.in Makefile
184 $(do_subst) < $(srcdir)/check-referral.in > check-referral.tmp && \
185 $(chmod) +x check-referral.tmp && \
186 mv check-referral.tmp check-referral
188 check-kpasswdd: check-kpasswdd.in Makefile
189 $(do_subst) < $(srcdir)/check-kpasswdd.in > check-kpasswdd.tmp && \
190 $(chmod) +x check-kpasswdd.tmp && \
191 mv check-kpasswdd.tmp check-kpasswdd
193 kdc-tester4.json: kdc-tester4.json.in Makefile
194 $(do_subst) < $(srcdir)/kdc-tester4.json.in > kdc-tester4.json.tmp && \
195 mv kdc-tester4.json.tmp kdc-tester4.json
197 krb5.conf: krb5.conf.in Makefile
199 -e 's,[@]WEAK[@],false,g' \
201 -e 's,[@]messages[@],messages,g' \
202 -e 's,[@]ipropstats[@],iprop-stats,g' \
203 -e 's,[@]signalsocket[@],signal,g' \
204 -e 's,[@]kdc[@],,g' < $(srcdir)/krb5.conf.in > krb5.conf.tmp && \
205 mv krb5.conf.tmp krb5.conf
207 krb5-cccol.conf: krb5-cccol.conf.in Makefile
209 -e 's,[@]WEAK[@],false,g' \
211 -e 's,[@]kdc[@],,g' < $(srcdir)/krb5-cccol.conf.in > krb5-cccol.conf.tmp && \
212 mv krb5-cccol.conf.tmp krb5-cccol.conf
214 krb5-authz.conf: krb5-authz.conf.in Makefile
215 $(do_subst) < $(srcdir)/krb5-authz.conf.in > krb5-authz.conf.tmp && \
216 mv krb5-authz.conf.tmp krb5-authz.conf
218 krb5-authz2.conf: krb5-authz2.conf.in Makefile
219 $(do_subst) < $(srcdir)/krb5-authz2.conf.in > krb5-authz2.conf.tmp && \
220 mv krb5-authz2.conf.tmp krb5-authz2.conf
222 krb5-canon.conf: krb5-canon.conf.in Makefile
224 -e 's,[@]WEAK[@],false,g' \
226 -e 's,[@]kdc[@],,g' < $(srcdir)/krb5-canon.conf.in > krb5-canon.conf.tmp && \
227 mv krb5-canon.conf.tmp krb5-canon.conf
229 krb5-canon2.conf: krb5-canon2.conf.in Makefile
231 -e 's,[@]WEAK[@],false,g' \
233 -e 's,[@]kdc[@],,g' < $(srcdir)/krb5-canon2.conf.in > krb5-canon2.conf.tmp && \
234 mv krb5-canon2.conf.tmp krb5-canon2.conf
236 krb5-hdb-mitdb.conf: krb5-hdb-mitdb.conf.in Makefile
238 -e 's,[@]WEAK[@],false,g' \
240 -e 's,[@]kdc[@],,g' < $(srcdir)/krb5-hdb-mitdb.conf.in > krb5-hdb-mitdb.conf.tmp && \
241 mv krb5-hdb-mitdb.conf.tmp krb5-hdb-mitdb.conf
243 krb5-weak.conf: krb5.conf.in Makefile
245 -e 's,[@]WEAK[@],true,g' \
246 -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' \
247 -e 's,[@]messages[@],messages,g' \
248 -e 's,[@]signalsocket[@],signal,g' \
249 -e 's,[@]ipropstats[@],iprop-stats,g' \
250 -e 's,[@]kdc[@],,g' < $(srcdir)/krb5.conf.in > krb5-weak.conf.tmp && \
251 mv krb5-weak.conf.tmp krb5-weak.conf
253 krb5-slave.conf: krb5.conf.in Makefile
255 -e 's,[@]WEAK[@],true,g' \
257 -e 's,[@]messages[@],messages,g' \
258 -e 's,[@]signalsocket[@],signal2,g' \
259 -e 's,[@]ipropstats[@],iprop-stats,g' \
260 -e 's,[@]kdc[@],.slave,g' < $(srcdir)/krb5.conf.in > krb5-slave.conf.tmp && \
261 mv krb5-slave.conf.tmp krb5-slave.conf
263 krb5-master2.conf: krb5.conf.in Makefile
265 -e 's,[@]WEAK[@],true,g' \
267 -e 's,[@]messages[@],messages2,g' \
268 -e 's,[@]signalsocket[@],signal2,g' \
269 -e 's,[@]ipropstats[@],iprop-stats2,g' \
270 -e 's,[@]kdc[@],.slave,g' < $(srcdir)/krb5.conf.in > krb5-master2.conf.tmp && \
271 mv krb5-master2.conf.tmp krb5-master2.conf
273 krb5-slave2.conf: krb5.conf.in Makefile
275 -e 's,[@]WEAK[@],true,g' \
277 -e 's,[@]messages[@],messages2,g' \
278 -e 's,[@]signalsocket[@],signal3,g' \
279 -e 's,[@]ipropstats[@],iprop-stats2,g' \
280 -e 's,[@]kdc[@],.slave2,g' < $(srcdir)/krb5.conf.in > krb5-slave2.conf.tmp && \
281 mv krb5-slave2.conf.tmp krb5-slave2.conf
283 krb5-pkinit.conf: krb5-pkinit.conf.in Makefile
284 $(do_subst) -e 's,[@]w2k[@],no,g' < $(srcdir)/krb5-pkinit.conf.in > krb5-pkinit.conf.tmp && \
285 mv krb5-pkinit.conf.tmp krb5-pkinit.conf
287 krb5-pkinit2.conf : pkinit_ticket_max_life_from_cert = 30d
289 krb5-pkinit2.conf: krb5-pkinit.conf.in Makefile
290 $(do_subst) -e 's,[@]w2k[@],no,g' < $(srcdir)/krb5-pkinit.conf.in > krb5-pkinit2.conf.tmp && \
291 mv krb5-pkinit2.conf.tmp krb5-pkinit2.conf
293 krb5-bx509.conf: krb5-bx509.conf.in Makefile
294 $(do_subst) -e 's,[@]w2k[@],no,g' < $(srcdir)/krb5-bx509.conf.in > krb5-bx509.conf.tmp && \
295 mv krb5-bx509.conf.tmp krb5-bx509.conf
297 krb5-httpkadmind.conf: krb5-httpkadmind.conf.in Makefile
298 $(do_subst) -e 's,[@]w2k[@],no,g' < $(srcdir)/krb5-httpkadmind.conf.in > krb5-httpkadmind.conf.tmp && \
299 mv krb5-httpkadmind.conf.tmp krb5-httpkadmind.conf
301 krb5-pkinit-win.conf: krb5-pkinit.conf.in Makefile
302 $(do_subst) -e 's,[@]w2k[@],yes,g' < $(srcdir)/krb5-pkinit.conf.in > krb5-pkinit-win.conf.tmp && \
303 mv krb5-pkinit-win.conf.tmp krb5-pkinit-win.conf
306 rm -rf cc_dir simple_csr_authz
342 krb5-hdb-mitdb.conf \
344 krb5-pkinit-win.conf \
348 krb5-httpkadmind.conf \
388 check-delegation.in \
402 check-httpkadmind.in \
415 kdc-tester4.json.in \
416 krb5-pkinit.conf.in \
418 krb5-httpkadmind.conf.in \
421 krb5-authz2.conf.in \
423 krb5-canon2.conf.in \
424 krb5-hdb-mitdb.conf.in \