1 # $Heimdal: Makefile.am 21017 2007-06-08 05:36:30Z lha $
4 include $(top_srcdir)/Makefile.am.common
6 noinst_DATA = krb5.conf mit-pkinit-20070607.cf
8 check_SCRIPTS = $(SCRIPT_TESTS) test_can
10 SCRIPT_TESTS = check-can
11 TESTS = $(SCRIPT_TESTS)
15 do_subst = sed -e 's,[@]srcdir[@],$(srcdir),g' \
16 -e 's,[@]port[@],$(port),g' \
17 -e 's,[@]objdir[@],$(top_builddir)/tests/can,g' \
18 -e 's,[@]EGREP[@],$(EGREP),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 \
53 mit-pkinit-20070607.ca.crt \
54 mit-pkinit-20070607.kadm \
55 mit-pkinit-20070607.req \
56 mit-pkinit-20070607.xf \