| 1 |
# $Id$ |
| 2 |
|
| 3 |
include $(top_srcdir)/Makefile.am.common |
| 4 |
|
| 5 |
noinst_DATA = krb5.conf mit-pkinit-20070607.cf |
| 6 |
|
| 7 |
check_SCRIPTS = $(SCRIPT_TESTS) test_can |
| 8 |
|
| 9 |
SCRIPT_TESTS = check-can |
| 10 |
TESTS = $(SCRIPT_TESTS) |
| 11 |
|
| 12 |
port = 49188 |
| 13 |
|
| 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' |
| 19 |
|
| 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 |
| 24 |
|
| 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 |
| 29 |
|
| 30 |
krb5.conf: krb5.conf.in Makefile |
| 31 |
$(do_subst) < $(srcdir)/krb5.conf.in > krb5.conf.tmp |
| 32 |
mv krb5.conf.tmp krb5.conf |
| 33 |
|
| 34 |
SUFFIXES += .xf .cf |
| 35 |
|
| 36 |
.xf.cf: |
| 37 |
$(do_subst) < $< > [email protected] |
| 38 |
mv [email protected] $@ |
| 39 |
|
| 40 |
CLEANFILES= $(TESTS) *.tmp *.cf \ |
| 41 |
current-db* \ |
| 42 |
krb5.conf \ |
| 43 |
messages.log \ |
| 44 |
test_can |
| 45 |
|
| 46 |
EXTRA_DIST = \ |
| 47 |
NTMakefile \ |
| 48 |
apple-10.4.kadm \ |
| 49 |
apple-10.4.req \ |
| 50 |
check-can.in \ |
| 51 |
heim-0.8.kadm \ |
| 52 |
heim-0.8.req \ |
| 53 |
krb5.conf.in \ |
| 54 |
mit-pkinit-20070607.ca.crt \ |
| 55 |
mit-pkinit-20070607.kadm \ |
| 56 |
mit-pkinit-20070607.req \ |
| 57 |
mit-pkinit-20070607.xf \ |
| 58 |
test_can.in |