add heim_string_create_with_bytes
[heimdal.git] / tests / kdc / Makefile.am
blobe324129df0a49f7edf63f0ad61bdd54819f43a59
1 include $(top_srcdir)/Makefile.am.common
3 noinst_DATA = \
4         krb5.conf \
5         krb5-canon.conf \
6         krb5-canon2.conf \
7         krb5-hdb-mitdb.conf \
8         krb5-weak.conf \
9         krb5-pkinit.conf \
10         krb5-pkinit-win.conf \
11         krb5-slave.conf
13 check_SCRIPTS = $(SCRIPT_TESTS) 
15 SCRIPT_TESTS = \
16         check-canon \
17         check-cc \
18         check-delegation \
19         check-des \
20         check-digest \
21         check-fast \
22         check-kadmin \
23         check-hdb-mitdb \
24         check-kdc \
25         check-kdc-weak \
26         check-keys \
27         check-kpasswdd \
28         check-pkinit \
29         check-iprop \
30         check-referral \
31         check-uu
33 TESTS = $(SCRIPT_TESTS)
35 port = 49188
36 admport = 49189
37 pwport = 49190
39 if HAVE_DLOPEN
40 do_dlopen = -e 's,[@]DLOPEN[@],true,g'
41 else
42 do_dlopen = -e 's,[@]DLOPEN[@],false,g'
43 endif
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
64         chmod +x 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
138         $(do_subst) \
139            -e 's,[@]WEAK[@],false,g' \
140            -e 's,[@]dk[@],,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
145         $(do_subst) \
146            -e 's,[@]WEAK[@],false,g' \
147            -e 's,[@]dk[@],,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
152         $(do_subst) \
153            -e 's,[@]WEAK[@],false,g' \
154            -e 's,[@]dk[@],,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
159         $(do_subst) \
160            -e 's,[@]WEAK[@],false,g' \
161            -e 's,[@]dk[@],,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
166         $(do_subst) \
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
173         $(do_subst) \
174            -e 's,[@]WEAK[@],true,g' \
175            -e 's,[@]dk[@],,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
187 CLEANFILES= \
188         $(TESTS) \
189         iprop-stats \
190         barpassword \
191         cache.krb5 \
192         cdigest-reply \
193         *.tmp \
194         client-cache \
195         current-db* \
196         current*.log \
197         iprop.keytab \
198         digest-reply \
199         foopassword \
200         krb5.conf \
201         krb5-canon.conf \
202         krb5-canon2.conf \
203         krb5-weak.conf \
204         krb5.conf.keys \
205         krb5-cc.conf \
206         krb5-slave.conf \
207         krb5-pkinit.conf \
208         krb5-pkinit-win.conf \
209         signal \
210         leaks-log \
211         malloc-log \
212         malloc-log-master \
213         malloc-log-slave \
214         messages.log \
215         o2cache.krb5 \
216         o2digest-reply \
217         ocache.krb5 \
218         s2digest-reply \
219         sdigest-init \
220         sdigest-reply \
221         server.keytab \
222         req-pkinit.der \
223         req-pkinit2.der \
224         req-kdc.der \
225         pkinit.crt \
226         pkinit2.crt \
227         pkinit3.crt \
228         pkinit4.crt \
229         kdc.crt \
230         ca.crt \
231         uuserver.log \
232         tempfile \
233         test-rc-file.rc
235 EXTRA_DIST = \
236         NTMakefile \
237         check-canon.in \
238         check-cc.in \
239         check-delegation.in \
240         check-des.in \
241         check-digest.in \
242         check-iprop.in \
243         check-kadmin.in \
244         check-hdb-mitdb.in \
245         check-kdc.in \
246         check-kdc-weak.in \
247         check-keys.in \
248         check-kpasswdd.in \
249         check-pkinit.in \
250         check-referral.in \
251         check-uu.in \
252         donotexists.txt \
253         heimdal.acl \
254         iprop-acl \
255         krb5-pkinit.conf.in \
256         krb5.conf.in \
257         krb5-canon.conf.in \
258         krb5-canon2.conf.in \
259         krb5-hdb-mitdb.conf.in \
260         krb5.conf.keys.in \
261         ntlm-user-file.txt \
262         leaks-kill.sh \
263         pki-mapping \
264         uuserver.txt \
265         wait-kdc.sh