1 include $(top_srcdir)/Makefile.am.common
14 krb5-pkinit-win.conf \
17 check_SCRIPTS = $(SCRIPT_TESTS)
39 TESTS = $(SCRIPT_TESTS)
46 do_dlopen = -e 's,[@]DLOPEN[@],true,g'
48 do_dlopen = -e 's,[@]DLOPEN[@],false,g'
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
165 -e 's,[@]WEAK[@],false,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
180 -e 's,[@]WEAK[@],false,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
187 -e 's,[@]WEAK[@],false,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
194 -e 's,[@]WEAK[@],false,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
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
208 -e 's,[@]WEAK[@],true,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
245 krb5-hdb-mitdb.conf \
246 krb5-pkinit-win.conf \
284 check-delegation.in \
304 kdc-tester4.json.in \
305 krb5-pkinit.conf.in \
308 krb5-authz2.conf.in \
310 krb5-canon2.conf.in \
311 krb5-hdb-mitdb.conf.in \