3 include $(top_srcdir)/Makefile.am.common
5 noinst_DATA = krb5.conf mit-pkinit-20070607.cf
7 check_SCRIPTS = $(SCRIPT_TESTS) test_can
9 SCRIPT_TESTS = check-can
10 TESTS = $(SCRIPT_TESTS)
14 do_subst = sed -e 's,[@]srcdir[@],$(srcdir),g' \
15 -e 's,[@]port[@],$(port),g' \
16 -e 's,[@]objdir[@],$(top_builddir)/tests/can,g' \
17 -e 's,[@]EGREP[@],$(EGREP),g' \
18 -e 's,[@]env_setup[@],$(top_builddir)/tests/bin/setup-env,g'
20 test_can: test_can.in Makefile
21 $(do_subst) < $(srcdir)/test_can.in > test_can.tmp
23 mv test_can.tmp test_can
25 check-can: check-can.in Makefile
26 $(do_subst) < $(srcdir)/check-can.in > check-can.tmp
27 chmod +x check-can.tmp
28 mv check-can.tmp check-can
30 krb5.conf: krb5.conf.in Makefile
31 $(do_subst) < $(srcdir)/krb5.conf.in > krb5.conf.tmp
32 mv krb5.conf.tmp krb5.conf
37 $(do_subst) < $< > $@.tmp
40 CLEANFILES= $(TESTS) *.tmp *.cf \
54 mit-pkinit-20070607.ca.crt \
55 mit-pkinit-20070607.kadm \
56 mit-pkinit-20070607.req \
57 mit-pkinit-20070607.xf \