1 include $(top_srcdir)/Makefile.am.common
10 check_SCRIPTS = $(SCRIPT_TESTS)
27 TESTS = $(SCRIPT_TESTS)
34 do_dlopen = -e 's,[@]DLOPEN[@],true,g'
36 do_dlopen = -e 's,[@]DLOPEN[@],false,g'
39 do_subst = sed $(do_dlopen) \
40 -e 's,[@]env_setup[@],$(top_builddir)/tests/bin/setup-env,g' \
41 -e 's,[@]srcdir[@],$(srcdir),g' \
42 -e 's,[@]port[@],$(port),g' \
43 -e 's,[@]admport[@],$(admport),g' \
44 -e 's,[@]pwport[@],$(pwport),g' \
45 -e 's,[@]objdir[@],$(top_builddir)/tests/kdc,g' \
46 -e 's,[@]top_builddir[@],$(top_builddir),g' \
47 -e 's,[@]EGREP[@],$(EGREP),g'
49 LDADD = ../../lib/krb5/libkrb5.la $(LIB_roken)
51 check-cc: check-cc.in Makefile
52 $(do_subst) < $(srcdir)/check-cc.in > check-cc.tmp
54 mv check-cc.tmp check-cc
56 check-delegation: check-delegation.in Makefile
57 $(do_subst) < $(srcdir)/check-delegation.in > check-delegation.tmp
58 chmod +x check-delegation.tmp
59 mv check-delegation.tmp check-delegation
61 check-des: check-des.in Makefile krb5.conf
62 $(do_subst) < $(srcdir)/check-des.in > check-des.tmp
63 chmod +x check-des.tmp
64 mv check-des.tmp check-des
66 check-kdc: check-kdc.in Makefile
67 $(do_subst) < $(srcdir)/check-kdc.in > check-kdc.tmp
68 chmod +x check-kdc.tmp
69 mv check-kdc.tmp check-kdc
71 check-kdc-weak: check-kdc-weak.in Makefile
72 $(do_subst) < $(srcdir)/check-kdc-weak.in > check-kdc-weak.tmp
73 chmod +x check-kdc-weak.tmp
74 mv check-kdc-weak.tmp check-kdc-weak
76 check-keys: check-keys.in Makefile
77 $(do_subst) < $(srcdir)/check-keys.in > check-keys.tmp
78 chmod +x check-keys.tmp
79 mv check-keys.tmp check-keys
81 check-kadmin: check-kadmin.in Makefile
82 $(do_subst) < $(srcdir)/check-kadmin.in > check-kadmin.tmp
83 chmod +x check-kadmin.tmp
84 mv check-kadmin.tmp check-kadmin
86 check-uu: check-uu.in Makefile
87 $(do_subst) < $(srcdir)/check-uu.in > check-uu.tmp
89 mv check-uu.tmp check-uu
91 check-pkinit: check-pkinit.in Makefile krb5-pkinit.conf
92 $(do_subst) < $(srcdir)/check-pkinit.in > check-pkinit.tmp
93 chmod +x check-pkinit.tmp
94 mv check-pkinit.tmp check-pkinit
96 check-iprop: check-iprop.in Makefile krb5.conf krb5-slave.conf
97 $(do_subst) < $(srcdir)/check-iprop.in > check-iprop.tmp
98 chmod +x check-iprop.tmp
99 mv check-iprop.tmp check-iprop
101 check-digest: check-digest.in Makefile
102 $(do_subst) < $(srcdir)/check-digest.in > check-digest.tmp
103 chmod +x check-digest.tmp
104 mv check-digest.tmp check-digest
106 check-referral: check-referral.in Makefile
107 $(do_subst) < $(srcdir)/check-referral.in > check-referral.tmp
108 chmod +x check-referral.tmp
109 mv check-referral.tmp check-referral
111 check-kpasswdd: check-kpasswdd.in Makefile
112 $(do_subst) < $(srcdir)/check-kpasswdd.in > check-kpasswdd.tmp
113 chmod +x check-kpasswdd.tmp
114 mv check-kpasswdd.tmp check-kpasswdd
116 krb5.conf: krb5.conf.in Makefile
118 -e 's,[@]WEAK[@],false,g' \
120 -e 's,[@]kdc[@],,g' < $(srcdir)/krb5.conf.in > krb5.conf.tmp
121 mv krb5.conf.tmp krb5.conf
123 krb5-weak.conf: krb5.conf.in Makefile
125 -e 's,[@]WEAK[@],true,g' \
126 -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' \
127 -e 's,[@]kdc[@],,g' < $(srcdir)/krb5.conf.in > krb5-weak.conf.tmp
128 mv krb5-weak.conf.tmp krb5-weak.conf
130 krb5-slave.conf: krb5.conf.in Makefile
132 -e 's,[@]WEAK[@],true,g' \
134 -e 's,[@]kdc[@],.slave,g' < $(srcdir)/krb5.conf.in > krb5-slave.conf.tmp
135 mv krb5-slave.conf.tmp krb5-slave.conf
137 krb5-pkinit.conf: krb5-pkinit.conf.in Makefile
138 $(do_subst) -e 's,[@]w2k[@],no,g' < $(srcdir)/krb5-pkinit.conf.in > krb5-pkinit.conf.tmp
139 mv krb5-pkinit.conf.tmp krb5-pkinit.conf
141 krb5-pkinit-win.conf: krb5-pkinit.conf.in Makefile
142 $(do_subst) -e 's,[@]w2k[@],yes,g' < $(srcdir)/krb5-pkinit.conf.in > krb5-pkinit-win.conf.tmp
143 mv krb5-pkinit-win.conf.tmp krb5-pkinit-win.conf
164 krb5-pkinit-win.conf \
194 check-delegation.in \
209 krb5-pkinit.conf.in \