1 include $(top_srcdir)/Makefile.am.common
10 krb5-pkinit-win.conf \
13 check_SCRIPTS = $(SCRIPT_TESTS)
33 TESTS = $(SCRIPT_TESTS)
40 do_dlopen = -e 's,[@]DLOPEN[@],true,g'
42 do_dlopen = -e 's,[@]DLOPEN[@],false,g'
45 do_subst = sed $(do_dlopen) \
46 -e 's,[@]env_setup[@],$(top_builddir)/tests/bin/setup-env,g' \
47 -e 's,[@]srcdir[@],$(srcdir),g' \
48 -e 's,[@]port[@],$(port),g' \
49 -e 's,[@]admport[@],$(admport),g' \
50 -e 's,[@]pwport[@],$(pwport),g' \
51 -e 's,[@]objdir[@],$(top_builddir)/tests/kdc,g' \
52 -e 's,[@]top_builddir[@],$(top_builddir),g' \
53 -e 's,[@]EGREP[@],$(EGREP),g'
55 LDADD = ../../lib/krb5/libkrb5.la $(LIB_roken)
57 check-canon: check-canon.in Makefile krb5-canon.conf krb5-canon2.conf
58 $(do_subst) < $(srcdir)/check-canon.in > check-canon.tmp
59 chmod +x check-canon.tmp
60 mv check-canon.tmp check-canon
62 check-cc: check-cc.in Makefile
63 $(do_subst) < $(srcdir)/check-cc.in > check-cc.tmp
65 mv check-cc.tmp check-cc
67 check-delegation: check-delegation.in Makefile
68 $(do_subst) < $(srcdir)/check-delegation.in > check-delegation.tmp
69 chmod +x check-delegation.tmp
70 mv check-delegation.tmp check-delegation
72 check-des: check-des.in Makefile krb5.conf
73 $(do_subst) < $(srcdir)/check-des.in > check-des.tmp
74 chmod +x check-des.tmp
75 mv check-des.tmp check-des
77 check-hdb-mitdb: check-hdb-mitdb.in Makefile krb5-hdb-mitdb.conf
78 $(do_subst) < $(srcdir)/check-hdb-mitdb.in > check-hdb-mitdb.tmp
79 chmod +x check-hdb-mitdb.tmp
80 mv check-hdb-mitdb.tmp check-hdb-mitdb
82 check-fast: check-fast.in Makefile
83 $(do_subst) < $(srcdir)/check-fast.in > check-fast.tmp
84 chmod +x check-fast.tmp
85 mv check-fast.tmp check-fast
87 check-kdc: check-kdc.in Makefile
88 $(do_subst) < $(srcdir)/check-kdc.in > check-kdc.tmp
89 chmod +x check-kdc.tmp
90 mv check-kdc.tmp check-kdc
92 check-kdc-weak: check-kdc-weak.in Makefile
93 $(do_subst) < $(srcdir)/check-kdc-weak.in > check-kdc-weak.tmp
94 chmod +x check-kdc-weak.tmp
95 mv check-kdc-weak.tmp check-kdc-weak
97 check-keys: check-keys.in Makefile
98 $(do_subst) < $(srcdir)/check-keys.in > check-keys.tmp
99 chmod +x check-keys.tmp
100 mv check-keys.tmp check-keys
102 check-kadmin: check-kadmin.in Makefile
103 $(do_subst) < $(srcdir)/check-kadmin.in > check-kadmin.tmp
104 chmod +x check-kadmin.tmp
105 mv check-kadmin.tmp check-kadmin
107 check-uu: check-uu.in Makefile
108 $(do_subst) < $(srcdir)/check-uu.in > check-uu.tmp
109 chmod +x check-uu.tmp
110 mv check-uu.tmp check-uu
112 check-pkinit: check-pkinit.in Makefile krb5-pkinit.conf
113 $(do_subst) < $(srcdir)/check-pkinit.in > check-pkinit.tmp
114 chmod +x check-pkinit.tmp
115 mv check-pkinit.tmp check-pkinit
117 check-iprop: check-iprop.in Makefile krb5.conf krb5-slave.conf
118 $(do_subst) < $(srcdir)/check-iprop.in > check-iprop.tmp
119 chmod +x check-iprop.tmp
120 mv check-iprop.tmp check-iprop
122 check-digest: check-digest.in Makefile
123 $(do_subst) < $(srcdir)/check-digest.in > check-digest.tmp
124 chmod +x check-digest.tmp
125 mv check-digest.tmp check-digest
127 check-referral: check-referral.in Makefile
128 $(do_subst) < $(srcdir)/check-referral.in > check-referral.tmp
129 chmod +x check-referral.tmp
130 mv check-referral.tmp check-referral
132 check-kpasswdd: check-kpasswdd.in Makefile
133 $(do_subst) < $(srcdir)/check-kpasswdd.in > check-kpasswdd.tmp
134 chmod +x check-kpasswdd.tmp
135 mv check-kpasswdd.tmp check-kpasswdd
137 krb5.conf: krb5.conf.in Makefile
139 -e 's,[@]WEAK[@],false,g' \
141 -e 's,[@]kdc[@],,g' < $(srcdir)/krb5.conf.in > krb5.conf.tmp
142 mv krb5.conf.tmp krb5.conf
144 krb5-canon.conf: krb5-canon.conf.in Makefile
146 -e 's,[@]WEAK[@],false,g' \
148 -e 's,[@]kdc[@],,g' < $(srcdir)/krb5-canon.conf.in > krb5-canon.conf.tmp
149 mv krb5-canon.conf.tmp krb5-canon.conf
151 krb5-canon2.conf: krb5-canon2.conf.in Makefile
153 -e 's,[@]WEAK[@],false,g' \
155 -e 's,[@]kdc[@],,g' < $(srcdir)/krb5-canon2.conf.in > krb5-canon2.conf.tmp
156 mv krb5-canon2.conf.tmp krb5-canon2.conf
158 krb5-hdb-mitdb.conf: krb5-hdb-mitdb.conf.in Makefile
160 -e 's,[@]WEAK[@],false,g' \
162 -e 's,[@]kdc[@],,g' < $(srcdir)/krb5-hdb-mitdb.conf.in > krb5-hdb-mitdb.conf.tmp
163 mv krb5-hdb-mitdb.conf.tmp krb5-hdb-mitdb.conf
165 krb5-weak.conf: krb5.conf.in Makefile
167 -e 's,[@]WEAK[@],true,g' \
168 -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' \
169 -e 's,[@]kdc[@],,g' < $(srcdir)/krb5.conf.in > krb5-weak.conf.tmp
170 mv krb5-weak.conf.tmp krb5-weak.conf
172 krb5-slave.conf: krb5.conf.in Makefile
174 -e 's,[@]WEAK[@],true,g' \
176 -e 's,[@]kdc[@],.slave,g' < $(srcdir)/krb5.conf.in > krb5-slave.conf.tmp
177 mv krb5-slave.conf.tmp krb5-slave.conf
179 krb5-pkinit.conf: krb5-pkinit.conf.in Makefile
180 $(do_subst) -e 's,[@]w2k[@],no,g' < $(srcdir)/krb5-pkinit.conf.in > krb5-pkinit.conf.tmp
181 mv krb5-pkinit.conf.tmp krb5-pkinit.conf
183 krb5-pkinit-win.conf: krb5-pkinit.conf.in Makefile
184 $(do_subst) -e 's,[@]w2k[@],yes,g' < $(srcdir)/krb5-pkinit.conf.in > krb5-pkinit-win.conf.tmp
185 mv krb5-pkinit-win.conf.tmp krb5-pkinit-win.conf
208 krb5-pkinit-win.conf \
239 check-delegation.in \
255 krb5-pkinit.conf.in \
258 krb5-canon2.conf.in \
259 krb5-hdb-mitdb.conf.in \