1 include $(top_srcdir)/Makefile.am.common
10 krb5-pkinit-win.conf \
13 check_SCRIPTS = $(SCRIPT_TESTS)
34 TESTS = $(SCRIPT_TESTS)
41 do_dlopen = -e 's,[@]DLOPEN[@],true,g'
43 do_dlopen = -e 's,[@]DLOPEN[@],false,g'
46 do_subst = sed $(do_dlopen) \
47 -e 's,[@]env_setup[@],$(top_builddir)/tests/bin/setup-env,g' \
48 -e 's,[@]srcdir[@],$(srcdir),g' \
49 -e 's,[@]port[@],$(port),g' \
50 -e 's,[@]admport[@],$(admport),g' \
51 -e 's,[@]pwport[@],$(pwport),g' \
52 -e 's,[@]objdir[@],$(top_builddir)/tests/kdc,g' \
53 -e 's,[@]top_builddir[@],$(top_builddir),g' \
54 -e 's,[@]EGREP[@],$(EGREP),g'
56 LDADD = ../../lib/krb5/libkrb5.la $(LIB_roken)
58 check-canon: check-canon.in Makefile krb5-canon.conf krb5-canon2.conf
59 $(do_subst) < $(srcdir)/check-canon.in > check-canon.tmp
60 chmod +x check-canon.tmp
61 mv check-canon.tmp check-canon
63 check-cc: check-cc.in Makefile
64 $(do_subst) < $(srcdir)/check-cc.in > check-cc.tmp
66 mv check-cc.tmp check-cc
68 check-delegation: check-delegation.in Makefile
69 $(do_subst) < $(srcdir)/check-delegation.in > check-delegation.tmp
70 chmod +x check-delegation.tmp
71 mv check-delegation.tmp check-delegation
73 check-des: check-des.in Makefile krb5.conf
74 $(do_subst) < $(srcdir)/check-des.in > check-des.tmp
75 chmod +x check-des.tmp
76 mv check-des.tmp check-des
78 check-hdb-mitdb: check-hdb-mitdb.in Makefile krb5-hdb-mitdb.conf
79 $(do_subst) < $(srcdir)/check-hdb-mitdb.in > check-hdb-mitdb.tmp
80 chmod +x check-hdb-mitdb.tmp
81 mv check-hdb-mitdb.tmp check-hdb-mitdb
83 check-fast: check-fast.in Makefile
84 $(do_subst) < $(srcdir)/check-fast.in > check-fast.tmp
85 chmod +x check-fast.tmp
86 mv check-fast.tmp check-fast
88 check-kdc: check-kdc.in Makefile
89 $(do_subst) < $(srcdir)/check-kdc.in > check-kdc.tmp
90 chmod +x check-kdc.tmp
91 mv check-kdc.tmp check-kdc
93 check-kdc-weak: check-kdc-weak.in Makefile
94 $(do_subst) < $(srcdir)/check-kdc-weak.in > check-kdc-weak.tmp
95 chmod +x check-kdc-weak.tmp
96 mv check-kdc-weak.tmp check-kdc-weak
98 check-tester: check-tester.in Makefile
99 $(do_subst) < $(srcdir)/check-tester.in > check-tester.tmp
100 chmod +x check-tester.tmp
101 mv check-tester.tmp check-tester
103 check-keys: check-keys.in Makefile
104 $(do_subst) < $(srcdir)/check-keys.in > check-keys.tmp
105 chmod +x check-keys.tmp
106 mv check-keys.tmp check-keys
108 check-kadmin: check-kadmin.in Makefile
109 $(do_subst) < $(srcdir)/check-kadmin.in > check-kadmin.tmp
110 chmod +x check-kadmin.tmp
111 mv check-kadmin.tmp check-kadmin
113 check-uu: check-uu.in Makefile
114 $(do_subst) < $(srcdir)/check-uu.in > check-uu.tmp
115 chmod +x check-uu.tmp
116 mv check-uu.tmp check-uu
118 check-pkinit: check-pkinit.in Makefile krb5-pkinit.conf
119 $(do_subst) < $(srcdir)/check-pkinit.in > check-pkinit.tmp
120 chmod +x check-pkinit.tmp
121 mv check-pkinit.tmp check-pkinit
123 check-iprop: check-iprop.in Makefile krb5.conf krb5-slave.conf
124 $(do_subst) < $(srcdir)/check-iprop.in > check-iprop.tmp
125 chmod +x check-iprop.tmp
126 mv check-iprop.tmp check-iprop
128 check-digest: check-digest.in Makefile
129 $(do_subst) < $(srcdir)/check-digest.in > check-digest.tmp
130 chmod +x check-digest.tmp
131 mv check-digest.tmp check-digest
133 check-referral: check-referral.in Makefile
134 $(do_subst) < $(srcdir)/check-referral.in > check-referral.tmp
135 chmod +x check-referral.tmp
136 mv check-referral.tmp check-referral
138 check-kpasswdd: check-kpasswdd.in Makefile
139 $(do_subst) < $(srcdir)/check-kpasswdd.in > check-kpasswdd.tmp
140 chmod +x check-kpasswdd.tmp
141 mv check-kpasswdd.tmp check-kpasswdd
143 krb5.conf: krb5.conf.in Makefile
145 -e 's,[@]WEAK[@],false,g' \
147 -e 's,[@]kdc[@],,g' < $(srcdir)/krb5.conf.in > krb5.conf.tmp
148 mv krb5.conf.tmp krb5.conf
150 krb5-canon.conf: krb5-canon.conf.in Makefile
152 -e 's,[@]WEAK[@],false,g' \
154 -e 's,[@]kdc[@],,g' < $(srcdir)/krb5-canon.conf.in > krb5-canon.conf.tmp
155 mv krb5-canon.conf.tmp krb5-canon.conf
157 krb5-canon2.conf: krb5-canon2.conf.in Makefile
159 -e 's,[@]WEAK[@],false,g' \
161 -e 's,[@]kdc[@],,g' < $(srcdir)/krb5-canon2.conf.in > krb5-canon2.conf.tmp
162 mv krb5-canon2.conf.tmp krb5-canon2.conf
164 krb5-hdb-mitdb.conf: krb5-hdb-mitdb.conf.in Makefile
166 -e 's,[@]WEAK[@],false,g' \
168 -e 's,[@]kdc[@],,g' < $(srcdir)/krb5-hdb-mitdb.conf.in > krb5-hdb-mitdb.conf.tmp
169 mv krb5-hdb-mitdb.conf.tmp krb5-hdb-mitdb.conf
171 krb5-weak.conf: krb5.conf.in Makefile
173 -e 's,[@]WEAK[@],true,g' \
174 -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' \
175 -e 's,[@]kdc[@],,g' < $(srcdir)/krb5.conf.in > krb5-weak.conf.tmp
176 mv krb5-weak.conf.tmp krb5-weak.conf
178 krb5-slave.conf: krb5.conf.in Makefile
180 -e 's,[@]WEAK[@],true,g' \
182 -e 's,[@]kdc[@],.slave,g' < $(srcdir)/krb5.conf.in > krb5-slave.conf.tmp
183 mv krb5-slave.conf.tmp krb5-slave.conf
185 krb5-pkinit.conf: krb5-pkinit.conf.in Makefile
186 $(do_subst) -e 's,[@]w2k[@],no,g' < $(srcdir)/krb5-pkinit.conf.in > krb5-pkinit.conf.tmp
187 mv krb5-pkinit.conf.tmp krb5-pkinit.conf
189 krb5-pkinit-win.conf: krb5-pkinit.conf.in Makefile
190 $(do_subst) -e 's,[@]w2k[@],yes,g' < $(srcdir)/krb5-pkinit.conf.in > krb5-pkinit-win.conf.tmp
191 mv krb5-pkinit-win.conf.tmp krb5-pkinit-win.conf
214 krb5-pkinit-win.conf \
245 check-delegation.in \
262 krb5-pkinit.conf.in \
265 krb5-canon2.conf.in \
266 krb5-hdb-mitdb.conf.in \