1 # $Heimdal: Makefile.am 22447 2008-01-15 06:05:17Z lha $
4 include $(top_srcdir)/Makefile.am.common
12 check_PROGRAMS = ap-req
13 check_SCRIPTS = $(SCRIPT_TESTS)
25 TESTS = $(SCRIPT_TESTS)
31 do_dlopen = -e 's,[@]DLOPEN[@],true,g'
33 do_dlopen = -e 's,[@]DLOPEN[@],false,g'
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
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
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
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
119 krb5-pkinit-win.conf \
154 krb5-pkinit.conf.in \