No empty .Rs/.Re
[netbsd-mini2440.git] / crypto / dist / heimdal / tests / kdc / Makefile.am
blobc96faeb527620a05631997fe06aa094ca57a66f0
1 # $Heimdal: Makefile.am 22447 2008-01-15 06:05:17Z lha $
2 # $NetBSD$
4 include $(top_srcdir)/Makefile.am.common
6 noinst_DATA = \
7         krb5.conf \
8         krb5-pkinit.conf \
9         krb5-pkinit-win.conf \
10         krb5-slave.conf
12 check_PROGRAMS = ap-req
13 check_SCRIPTS = $(SCRIPT_TESTS) 
15 SCRIPT_TESTS = \
16         check-digest \
17         check-kadmin \
18         check-kdc \
19         check-keys \
20         check-pkinit \
21         check-iprop \
22         check-referral \
23         check-uu
25 TESTS = $(SCRIPT_TESTS)
27 port = 49188
28 admport = 49189
30 if HAVE_DLOPEN
31 do_dlopen = -e 's,[@]DLOPEN[@],true,g'
32 else
33 do_dlopen = -e 's,[@]DLOPEN[@],false,g'
34 endif
36 do_subst = sed $(do_dlopen) \
37         -e 's,[@]srcdir[@],$(srcdir),g' \
38         -e 's,[@]port[@],$(port),g' \
39         -e 's,[@]admport[@],$(admport),g' \
40         -e 's,[@]objdir[@],$(top_builddir)/tests/kdc,g' \
41         -e 's,[@]EGREP[@],$(EGREP),g' 
43 LDADD = ../../lib/krb5/libkrb5.la $(LIB_roken)
45 check-kdc: check-kdc.in Makefile
46         $(do_subst) < $(srcdir)/check-kdc.in > check-kdc.tmp
47         chmod +x check-kdc.tmp
48         mv check-kdc.tmp check-kdc
50 check-keys: check-keys.in Makefile
51         $(do_subst) < $(srcdir)/check-keys.in > check-keys.tmp
52         chmod +x check-keys.tmp
53         mv check-keys.tmp check-keys
55 check-kadmin: check-kadmin.in Makefile
56         $(do_subst) < $(srcdir)/check-kadmin.in > check-kadmin.tmp
57         chmod +x check-kadmin.tmp
58         mv check-kadmin.tmp check-kadmin
60 check-uu: check-uu.in Makefile
61         $(do_subst) < $(srcdir)/check-uu.in > check-uu.tmp
62         chmod +x check-uu.tmp
63         mv check-uu.tmp check-uu
65 check-pkinit: check-pkinit.in Makefile krb5-pkinit.conf
66         $(do_subst) < $(srcdir)/check-pkinit.in > check-pkinit.tmp
67         chmod +x check-pkinit.tmp
68         mv check-pkinit.tmp check-pkinit
70 check-iprop: check-iprop.in Makefile krb5.conf krb5-slave.conf
71         $(do_subst) < $(srcdir)/check-iprop.in > check-iprop.tmp
72         chmod +x check-iprop.tmp
73         mv check-iprop.tmp check-iprop
75 check-digest: check-digest.in Makefile
76         $(do_subst) < $(srcdir)/check-digest.in > check-digest.tmp
77         chmod +x check-digest.tmp
78         mv check-digest.tmp check-digest
80 check-referral: check-referral.in Makefile
81         $(do_subst) < $(srcdir)/check-referral.in > check-referral.tmp
82         chmod +x check-referral.tmp
83         mv check-referral.tmp check-referral
85 krb5.conf: krb5.conf.in Makefile
86         $(do_subst) \
87            -e 's,[@]kdc[@],,g' < $(srcdir)/krb5.conf.in > krb5.conf.tmp
88         mv krb5.conf.tmp krb5.conf
90 krb5-slave.conf: krb5.conf.in Makefile
91         $(do_subst) \
92            -e 's,[@]kdc[@],.slave,g' < $(srcdir)/krb5.conf.in > krb5-slave.conf.tmp
93         mv krb5-slave.conf.tmp krb5-slave.conf
95 krb5-pkinit.conf: krb5-pkinit.conf.in Makefile
96         $(do_subst) -e 's,[@]w2k[@],no,g' < $(srcdir)/krb5-pkinit.conf.in > krb5-pkinit.conf.tmp
97         mv krb5-pkinit.conf.tmp krb5-pkinit.conf
99 krb5-pkinit-win.conf: krb5-pkinit.conf.in Makefile
100         $(do_subst) -e 's,[@]w2k[@],yes,g' < $(srcdir)/krb5-pkinit.conf.in > krb5-pkinit-win.conf.tmp
101         mv krb5-pkinit-win.conf.tmp krb5-pkinit-win.conf
103 CLEANFILES= \
104         $(TESTS) \
105         iprop-stats \
106         barpassword \
107         cache.krb5 \
108         cdigest-reply \
109         *.tmp \
110         client-cache \
111         current-db* \
112         current*.log \
113         iprop.keytab \
114         digest-reply \
115         foopassword \
116         krb5.conf \
117         krb5-slave.conf \
118         krb5-pkinit.conf \
119         krb5-pkinit-win.conf \
120         krb5.conf.keys \
121         signal \
122         messages.log \
123         o2cache.krb5 \
124         o2digest-reply \
125         ocache.krb5 \
126         s2digest-reply \
127         sdigest-init \
128         sdigest-reply \
129         server.keytab \
130         req-pkinit.der \
131         req-pkinit2.der \
132         req-kdc.der \
133         pkinit.crt \
134         pkinit2.crt \
135         pkinit3.crt \
136         kdc.crt \
137         ca.crt \
138         uuserver.log \
139         tempfile \
140         test-rc-file.rc
142 EXTRA_DIST = \
143         check-kadmin.in \
144         check-kdc.in \
145         check-keys.in \
146         check-referral.in \
147         check-uu.in \
148         check-pkinit.in \
149         check-iprop.in \
150         check-digest.in \
151         heimdal.acl \
152         krb5.conf.in \
153         krb5.conf.keys.in \
154         krb5-pkinit.conf.in \
155         iprop-acl \
156         wait-kdc.sh \
157         pki-mapping \
158         ntlm-user-file.txt \
159         uuserver.txt \
160         donotexists.txt