3 include $(top_srcdir)/Makefile.am.common
12 check_SCRIPTS = $(SCRIPT_TESTS)
29 TESTS = $(SCRIPT_TESTS)
36 do_dlopen = -e 's,[@]DLOPEN[@],true,g'
38 do_dlopen = -e 's,[@]DLOPEN[@],false,g'
41 do_subst = sed $(do_dlopen) \
42 -e 's,[@]srcdir[@],$(srcdir),g' \
43 -e 's,[@]port[@],$(port),g' \
44 -e 's,[@]admport[@],$(admport),g' \
45 -e 's,[@]pwport[@],$(pwport),g' \
46 -e 's,[@]objdir[@],$(top_builddir)/tests/kdc,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
68 -e 's,[@]KDCCONF[@],krb5.conf,g' \
69 < $(srcdir)/check-kdc.in > check-kdc.tmp
70 chmod +x check-kdc.tmp
71 mv check-kdc.tmp check-kdc
73 check-kdc-weak: check-kdc.in Makefile
75 -e 's,[@]KDCCONF[@],krb5-weak.conf,g' \
76 < $(srcdir)/check-kdc.in > check-kdc-weak.tmp
77 chmod +x check-kdc-weak.tmp
78 mv check-kdc-weak.tmp check-kdc-weak
80 check-keys: check-keys.in Makefile
81 $(do_subst) < $(srcdir)/check-keys.in > check-keys.tmp
82 chmod +x check-keys.tmp
83 mv check-keys.tmp check-keys
85 check-kadmin: check-kadmin.in Makefile
86 $(do_subst) < $(srcdir)/check-kadmin.in > check-kadmin.tmp
87 chmod +x check-kadmin.tmp
88 mv check-kadmin.tmp check-kadmin
90 check-uu: check-uu.in Makefile
91 $(do_subst) < $(srcdir)/check-uu.in > check-uu.tmp
93 mv check-uu.tmp check-uu
95 check-pkinit: check-pkinit.in Makefile krb5-pkinit.conf
96 $(do_subst) < $(srcdir)/check-pkinit.in > check-pkinit.tmp
97 chmod +x check-pkinit.tmp
98 mv check-pkinit.tmp check-pkinit
100 check-iprop: check-iprop.in Makefile krb5.conf krb5-slave.conf
101 $(do_subst) < $(srcdir)/check-iprop.in > check-iprop.tmp
102 chmod +x check-iprop.tmp
103 mv check-iprop.tmp check-iprop
105 check-digest: check-digest.in Makefile
106 $(do_subst) < $(srcdir)/check-digest.in > check-digest.tmp
107 chmod +x check-digest.tmp
108 mv check-digest.tmp check-digest
110 check-referral: check-referral.in Makefile
111 $(do_subst) < $(srcdir)/check-referral.in > check-referral.tmp
112 chmod +x check-referral.tmp
113 mv check-referral.tmp check-referral
115 check-kpasswdd: check-kpasswdd.in Makefile
116 $(do_subst) < $(srcdir)/check-kpasswdd.in > check-kpasswdd.tmp
117 chmod +x check-kpasswdd.tmp
118 mv check-kpasswdd.tmp check-kpasswdd
120 krb5.conf: krb5.conf.in Makefile
122 -e 's,[@]WEAK[@],false,g' \
124 -e 's,[@]kdc[@],,g' < $(srcdir)/krb5.conf.in > krb5.conf.tmp
125 mv krb5.conf.tmp krb5.conf
127 krb5-weak.conf: krb5.conf.in Makefile
129 -e 's,[@]WEAK[@],true,g' \
130 -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' \
131 -e 's,[@]kdc[@],,g' < $(srcdir)/krb5.conf.in > krb5-weak.conf.tmp
132 mv krb5-weak.conf.tmp krb5-weak.conf
134 krb5-slave.conf: krb5.conf.in Makefile
136 -e 's,[@]WEAK[@],true,g' \
138 -e 's,[@]kdc[@],.slave,g' < $(srcdir)/krb5.conf.in > krb5-slave.conf.tmp
139 mv krb5-slave.conf.tmp krb5-slave.conf
141 krb5-pkinit.conf: krb5-pkinit.conf.in Makefile
142 $(do_subst) -e 's,[@]w2k[@],no,g' < $(srcdir)/krb5-pkinit.conf.in > krb5-pkinit.conf.tmp
143 mv krb5-pkinit.conf.tmp krb5-pkinit.conf
145 krb5-pkinit-win.conf: krb5-pkinit.conf.in Makefile
146 $(do_subst) -e 's,[@]w2k[@],yes,g' < $(srcdir)/krb5-pkinit.conf.in > krb5-pkinit-win.conf.tmp
147 mv krb5-pkinit-win.conf.tmp krb5-pkinit-win.conf
168 krb5-pkinit-win.conf \
194 check-delegation.in \
208 krb5-pkinit.conf.in \