1 # $Id: Makefile.am 22447 2008-01-15 06:05:17Z lha $
3 include $(top_srcdir)/Makefile.am.common
11 check_PROGRAMS = ap-req
12 check_SCRIPTS = $(SCRIPT_TESTS)
24 TESTS = $(SCRIPT_TESTS)
30 do_dlopen = -e 's,[@]DLOPEN[@],true,g'
32 do_dlopen = -e 's,[@]DLOPEN[@],false,g'
35 do_subst = sed $(do_dlopen) \
36 -e 's,[@]srcdir[@],$(srcdir),g' \
37 -e 's,[@]port[@],$(port),g' \
38 -e 's,[@]admport[@],$(admport),g' \
39 -e 's,[@]objdir[@],$(top_builddir)/tests/kdc,g' \
40 -e 's,[@]EGREP[@],$(EGREP),g'
42 LDADD = ../../lib/krb5/libkrb5.la $(LIB_roken)
44 check-kdc: check-kdc.in Makefile
45 $(do_subst) < $(srcdir)/check-kdc.in > check-kdc.tmp
46 chmod +x check-kdc.tmp
47 mv check-kdc.tmp check-kdc
49 check-keys: check-keys.in Makefile
50 $(do_subst) < $(srcdir)/check-keys.in > check-keys.tmp
51 chmod +x check-keys.tmp
52 mv check-keys.tmp check-keys
54 check-kadmin: check-kadmin.in Makefile
55 $(do_subst) < $(srcdir)/check-kadmin.in > check-kadmin.tmp
56 chmod +x check-kadmin.tmp
57 mv check-kadmin.tmp check-kadmin
59 check-uu: check-uu.in Makefile
60 $(do_subst) < $(srcdir)/check-uu.in > check-uu.tmp
62 mv check-uu.tmp check-uu
64 check-pkinit: check-pkinit.in Makefile krb5-pkinit.conf
65 $(do_subst) < $(srcdir)/check-pkinit.in > check-pkinit.tmp
66 chmod +x check-pkinit.tmp
67 mv check-pkinit.tmp check-pkinit
69 check-iprop: check-iprop.in Makefile krb5.conf krb5-slave.conf
70 $(do_subst) < $(srcdir)/check-iprop.in > check-iprop.tmp
71 chmod +x check-iprop.tmp
72 mv check-iprop.tmp check-iprop
74 check-digest: check-digest.in Makefile
75 $(do_subst) < $(srcdir)/check-digest.in > check-digest.tmp
76 chmod +x check-digest.tmp
77 mv check-digest.tmp check-digest
79 check-referral: check-referral.in Makefile
80 $(do_subst) < $(srcdir)/check-referral.in > check-referral.tmp
81 chmod +x check-referral.tmp
82 mv check-referral.tmp check-referral
84 krb5.conf: krb5.conf.in Makefile
86 -e 's,[@]kdc[@],,g' < $(srcdir)/krb5.conf.in > krb5.conf.tmp
87 mv krb5.conf.tmp krb5.conf
89 krb5-slave.conf: krb5.conf.in Makefile
91 -e 's,[@]kdc[@],.slave,g' < $(srcdir)/krb5.conf.in > krb5-slave.conf.tmp
92 mv krb5-slave.conf.tmp krb5-slave.conf
94 krb5-pkinit.conf: krb5-pkinit.conf.in Makefile
95 $(do_subst) -e 's,[@]w2k[@],no,g' < $(srcdir)/krb5-pkinit.conf.in > krb5-pkinit.conf.tmp
96 mv krb5-pkinit.conf.tmp krb5-pkinit.conf
98 krb5-pkinit-win.conf: krb5-pkinit.conf.in Makefile
99 $(do_subst) -e 's,[@]w2k[@],yes,g' < $(srcdir)/krb5-pkinit.conf.in > krb5-pkinit-win.conf.tmp
100 mv krb5-pkinit-win.conf.tmp krb5-pkinit-win.conf
118 krb5-pkinit-win.conf \
153 krb5-pkinit.conf.in \