test SDB: cache
[heimdal.git] / tests / kdc / Makefile.am
blob2ba8777f807f1e8ab46d3e4949fafbec089bb563
1 # $Id$
3 include $(top_srcdir)/Makefile.am.common
5 noinst_DATA = \
6         krb5.conf \
7         krb5-pkinit.conf \
8         krb5-pkinit-win.conf \
9         krb5-slave.conf
11 check_PROGRAMS = ap-req
12 check_SCRIPTS = $(SCRIPT_TESTS) 
14 SCRIPT_TESTS = \
15         check-cc \
16         check-digest \
17         check-kadmin \
18         check-kdc \
19         check-keys \
20         check-kpasswdd \
21         check-pkinit \
22         check-iprop \
23         check-referral \
24         check-uu
26 TESTS = $(SCRIPT_TESTS)
28 port = 49188
29 admport = 49189
30 pwport = 49190
32 if HAVE_DLOPEN
33 do_dlopen = -e 's,[@]DLOPEN[@],true,g'
34 else
35 do_dlopen = -e 's,[@]DLOPEN[@],false,g'
36 endif
38 do_subst = sed $(do_dlopen) \
39         -e 's,[@]srcdir[@],$(srcdir),g' \
40         -e 's,[@]port[@],$(port),g' \
41         -e 's,[@]admport[@],$(admport),g' \
42         -e 's,[@]pwport[@],$(pwport),g' \
43         -e 's,[@]objdir[@],$(top_builddir)/tests/kdc,g' \
44         -e 's,[@]EGREP[@],$(EGREP),g' 
46 LDADD = ../../lib/krb5/libkrb5.la $(LIB_roken)
48 check-kdc: check-kdc.in Makefile
49         $(do_subst) < $(srcdir)/check-kdc.in > check-kdc.tmp
50         chmod +x check-kdc.tmp
51         mv check-kdc.tmp check-kdc
53 check-keys: check-keys.in Makefile
54         $(do_subst) < $(srcdir)/check-keys.in > check-keys.tmp
55         chmod +x check-keys.tmp
56         mv check-keys.tmp check-keys
58 check-kadmin: check-kadmin.in Makefile
59         $(do_subst) < $(srcdir)/check-kadmin.in > check-kadmin.tmp
60         chmod +x check-kadmin.tmp
61         mv check-kadmin.tmp check-kadmin
63 check-uu: check-uu.in Makefile
64         $(do_subst) < $(srcdir)/check-uu.in > check-uu.tmp
65         chmod +x check-uu.tmp
66         mv check-uu.tmp check-uu
68 check-pkinit: check-pkinit.in Makefile krb5-pkinit.conf
69         $(do_subst) < $(srcdir)/check-pkinit.in > check-pkinit.tmp
70         chmod +x check-pkinit.tmp
71         mv check-pkinit.tmp check-pkinit
73 check-iprop: check-iprop.in Makefile krb5.conf krb5-slave.conf
74         $(do_subst) < $(srcdir)/check-iprop.in > check-iprop.tmp
75         chmod +x check-iprop.tmp
76         mv check-iprop.tmp check-iprop
78 check-digest: check-digest.in Makefile
79         $(do_subst) < $(srcdir)/check-digest.in > check-digest.tmp
80         chmod +x check-digest.tmp
81         mv check-digest.tmp check-digest
83 check-referral: check-referral.in Makefile
84         $(do_subst) < $(srcdir)/check-referral.in > check-referral.tmp
85         chmod +x check-referral.tmp
86         mv check-referral.tmp check-referral
88 check-kpasswdd: check-kpasswdd.in Makefile
89         $(do_subst) < $(srcdir)/check-kpasswdd.in > check-kpasswdd.tmp
90         chmod +x check-kpasswdd.tmp
91         mv check-kpasswdd.tmp check-kpasswdd
93 check-cc: check-cc.in Makefile
94         $(do_subst) < $(srcdir)/check-cc.in > check-cc.tmp
95         chmod +x check-cc.tmp
96         mv check-cc.tmp check-cc
98 krb5.conf: krb5.conf.in Makefile
99         $(do_subst) \
100            -e 's,[@]kdc[@],,g' < $(srcdir)/krb5.conf.in > krb5.conf.tmp
101         mv krb5.conf.tmp krb5.conf
103 krb5-slave.conf: krb5.conf.in Makefile
104         $(do_subst) \
105            -e 's,[@]kdc[@],.slave,g' < $(srcdir)/krb5.conf.in > krb5-slave.conf.tmp
106         mv krb5-slave.conf.tmp krb5-slave.conf
108 krb5-pkinit.conf: krb5-pkinit.conf.in Makefile
109         $(do_subst) -e 's,[@]w2k[@],no,g' < $(srcdir)/krb5-pkinit.conf.in > krb5-pkinit.conf.tmp
110         mv krb5-pkinit.conf.tmp krb5-pkinit.conf
112 krb5-pkinit-win.conf: krb5-pkinit.conf.in Makefile
113         $(do_subst) -e 's,[@]w2k[@],yes,g' < $(srcdir)/krb5-pkinit.conf.in > krb5-pkinit-win.conf.tmp
114         mv krb5-pkinit-win.conf.tmp krb5-pkinit-win.conf
116 CLEANFILES= \
117         $(TESTS) \
118         iprop-stats \
119         barpassword \
120         cache.krb5 \
121         cdigest-reply \
122         *.tmp \
123         client-cache \
124         current-db* \
125         current*.log \
126         iprop.keytab \
127         digest-reply \
128         foopassword \
129         krb5.conf \
130         krb5.conf.keys \
131         krb5-cc.conf \
132         krb5-slave.conf \
133         krb5-pkinit.conf \
134         krb5-pkinit-win.conf \
135         signal \
136         messages.log \
137         o2cache.krb5 \
138         o2digest-reply \
139         ocache.krb5 \
140         s2digest-reply \
141         sdigest-init \
142         sdigest-reply \
143         server.keytab \
144         req-pkinit.der \
145         req-pkinit2.der \
146         req-kdc.der \
147         pkinit.crt \
148         pkinit2.crt \
149         pkinit3.crt \
150         kdc.crt \
151         ca.crt \
152         uuserver.log \
153         tempfile \
154         test-rc-file.rc
156 EXTRA_DIST = \
157         check-cc.in \
158         check-digest.in \
159         check-iprop.in \
160         check-kadmin.in \
161         check-kdc.in \
162         check-keys.in \
163         check-kpasswdd.in \
164         check-pkinit.in \
165         check-referral.in \
166         check-uu.in \
167         donotexists.txt \
168         heimdal.acl \
169         iprop-acl \
170         krb5-pkinit.conf.in \
171         krb5.conf.in \
172         krb5.conf.keys.in \
173         ntlm-user-file.txt \
174         pki-mapping \
175         uuserver.txt \
176         wait-kdc.sh