add newline at end
[heimdal.git] / tests / kdc / Makefile.am
blob490473ac04dc3111193250569450907479677fdc
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-digest \
16         check-kadmin \
17         check-kdc \
18         check-keys \
19         check-pkinit \
20         check-iprop \
21         check-referral \
22         check-uu
24 TESTS = $(SCRIPT_TESTS)
26 port = 49188
27 admport = 49189
29 do_subst = sed -e 's,[@]srcdir[@],$(srcdir),g' \
30         -e 's,[@]port[@],$(port),g' \
31         -e 's,[@]admport[@],$(admport),g' \
32         -e 's,[@]objdir[@],$(top_builddir)/tests/kdc,g' \
33         -e 's,[@]EGREP[@],$(EGREP),g' 
35 LDADD = ../../lib/krb5/libkrb5.la $(LIB_roken)
37 check-kdc: check-kdc.in Makefile
38         $(do_subst) < $(srcdir)/check-kdc.in > check-kdc.tmp
39         chmod +x check-kdc.tmp
40         mv check-kdc.tmp check-kdc
42 check-keys: check-keys.in Makefile
43         $(do_subst) < $(srcdir)/check-keys.in > check-keys.tmp
44         chmod +x check-keys.tmp
45         mv check-keys.tmp check-keys
47 check-kadmin: check-kadmin.in Makefile
48         $(do_subst) < $(srcdir)/check-kadmin.in > check-kadmin.tmp
49         chmod +x check-kadmin.tmp
50         mv check-kadmin.tmp check-kadmin
52 check-uu: check-uu.in Makefile
53         $(do_subst) < $(srcdir)/check-uu.in > check-uu.tmp
54         chmod +x check-uu.tmp
55         mv check-uu.tmp check-uu
57 check-pkinit: check-pkinit.in Makefile krb5-pkinit.conf
58         $(do_subst) < $(srcdir)/check-pkinit.in > check-pkinit.tmp
59         chmod +x check-pkinit.tmp
60         mv check-pkinit.tmp check-pkinit
62 check-iprop: check-iprop.in Makefile krb5.conf krb5-slave.conf
63         $(do_subst) < $(srcdir)/check-iprop.in > check-iprop.tmp
64         chmod +x check-iprop.tmp
65         mv check-iprop.tmp check-iprop
67 check-digest: check-digest.in Makefile
68         $(do_subst) < $(srcdir)/check-digest.in > check-digest.tmp
69         chmod +x check-digest.tmp
70         mv check-digest.tmp check-digest
72 check-referral: check-referral.in Makefile
73         $(do_subst) < $(srcdir)/check-referral.in > check-referral.tmp
74         chmod +x check-referral.tmp
75         mv check-referral.tmp check-referral
77 krb5.conf: krb5.conf.in Makefile
78         $(do_subst) \
79            -e 's,[@]kdc[@],,g' < $(srcdir)/krb5.conf.in > krb5.conf.tmp
80         mv krb5.conf.tmp krb5.conf
82 krb5-slave.conf: krb5.conf.in Makefile
83         $(do_subst) \
84            -e 's,[@]kdc[@],.slave,g' < $(srcdir)/krb5.conf.in > krb5-slave.conf.tmp
85         mv krb5-slave.conf.tmp krb5-slave.conf
87 krb5-pkinit.conf: krb5-pkinit.conf.in Makefile
88         $(do_subst) -e 's,[@]w2k[@],no,g' < $(srcdir)/krb5-pkinit.conf.in > krb5-pkinit.conf.tmp
89         mv krb5-pkinit.conf.tmp krb5-pkinit.conf
91 krb5-pkinit-win.conf: krb5-pkinit.conf.in Makefile
92         $(do_subst) -e 's,[@]w2k[@],yes,g' < $(srcdir)/krb5-pkinit.conf.in > krb5-pkinit-win.conf.tmp
93         mv krb5-pkinit-win.conf.tmp krb5-pkinit-win.conf
95 CLEANFILES= \
96         $(TESTS) \
97         iprop-stats \
98         barpassword \
99         cache.krb5 \
100         cdigest-reply \
101         *.tmp \
102         client-cache \
103         current-db* \
104         current*.log \
105         iprop.keytab \
106         digest-reply \
107         foopassword \
108         krb5.conf \
109         krb5-slave.conf \
110         krb5-pkinit.conf \
111         krb5-pkinit-win.conf \
112         krb5.conf.keys \
113         signal \
114         messages.log \
115         o2cache.krb5 \
116         o2digest-reply \
117         ocache.krb5 \
118         s2digest-reply \
119         sdigest-init \
120         sdigest-reply \
121         server.keytab \
122         req-pkinit.der \
123         req-pkinit2.der \
124         req-kdc.der \
125         pkinit.crt \
126         pkinit2.crt \
127         pkinit3.crt \
128         kdc.crt \
129         ca.crt \
130         uuserver.log \
131         tempfile
134 EXTRA_DIST = \
135         check-kadmin.in \
136         check-kdc.in \
137         check-keys.in \
138         check-referral.in \
139         check-uu.in \
140         check-pkinit.in \
141         check-iprop.in \
142         check-digest.in \
143         heimdal.acl \
144         krb5.conf.in \
145         krb5.conf.keys.in \
146         krb5-pkinit.conf.in \
147         iprop-acl \
148         wait-kdc.sh \
149         pki-mapping \
150         ntlm-user-file.txt \
151         uuserver.txt \
152         donotexists.txt