No empty .Rs/.Re
[netbsd-mini2440.git] / crypto / dist / heimdal / tests / can / Makefile.am
blobdf5ba51f59537735ae3e2d35693e6074481b519e
1 # $Heimdal: Makefile.am 21017 2007-06-08 05:36:30Z lha $
2 # $NetBSD$
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)
13 port = 49188
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
22         chmod +x 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
34 SUFFIXES += .xf .cf
36 .xf.cf:
37         $(do_subst) < $< > $@.tmp
38         mv $@.tmp $@
40 CLEANFILES= $(TESTS) *.tmp *.cf \
41         current-db* \
42         krb5.conf \
43         messages.log \
44         test_can
46 EXTRA_DIST = \
47         apple-10.4.kadm \
48         apple-10.4.req \
49         check-can.in \
50         heim-0.8.kadm \
51         heim-0.8.req \
52         krb5.conf.in \
53         mit-pkinit-20070607.ca.crt \
54         mit-pkinit-20070607.kadm \
55         mit-pkinit-20070607.req \
56         mit-pkinit-20070607.xf \
57         test_can.in