summaryrefslogtreecommitdiffstats
path: root/crypto/heimdal/tests/db/Makefile.am
blob: 8e519d34834897cb1b7e875a421307b347bf993f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# $Id: Makefile.am 20599 2007-05-08 02:48:22Z lha $

include $(top_srcdir)/Makefile.am.common

noinst_DATA = krb5.conf

noinst_SCRIPTS = have-db

check_SCRIPTS = loaddump-db add-modify-delete check-dbinfo

TESTS = $(check_SCRIPTS) 

do_subst = sed -e 's,[@]srcdir[@],$(srcdir),g' \
	-e 's,[@]objdir[@],$(top_builddir)/tests/db,g' \
	-e 's,[@]EGREP[@],$(EGREP),g' 

loaddump-db: loaddump-db.in Makefile
	$(do_subst) < $(srcdir)/loaddump-db.in > loaddump-db.tmp
	chmod +x loaddump-db.tmp
	mv loaddump-db.tmp loaddump-db

add-modify-delete: add-modify-delete.in Makefile
	$(do_subst) < $(srcdir)/add-modify-delete.in > add-modify-delete.tmp
	chmod +x add-modify-delete.tmp
	mv add-modify-delete.tmp add-modify-delete

check-dbinfo: check-dbinfo.in Makefile
	$(do_subst) < $(srcdir)/check-dbinfo.in > check-dbinfo.tmp
	chmod +x check-dbinfo.tmp
	mv check-dbinfo.tmp check-dbinfo

have-db: have-db.in Makefile
	$(do_subst) < $(srcdir)/have-db.in > have-db.tmp
	chmod +x have-db.tmp
	mv have-db.tmp have-db

krb5.conf: krb5.conf.in Makefile
	$(do_subst) < $(srcdir)/krb5.conf.in > krb5.conf.tmp
	mv krb5.conf.tmp krb5.conf


CLEANFILES= \
	$(TESTS) \
	have-db \
	db-dump* \
	dbinfo.out \
	current-db* \
	out-text-dump* \
	out-current-* \
	mkey.file* \
	krb5.conf krb5.conf.tmp \
	tempfile \
	log.current-db* \
	messages.log

EXTRA_DIST = \
	check-dbinfo.in \
	loaddump-db.in \
	add-modify-delete.in \
	have-db.in \
	krb5.conf.in \
	text-dump-0.7 \
	text-dump-known-ext \
	text-dump-no-ext \
	text-dump-unknown-ext

OpenPOWER on IntegriCloud