PageRenderTime 13ms CodeModel.GetById 9ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/crypto/heimdal/tests/db/Makefile.am

https://bitbucket.org/freebsd/freebsd-head/
Makefile | 66 lines | 50 code | 15 blank | 1 comment | 0 complexity | bd225269bfd541dbdb04161d986b5be0 MD5 | raw file
 1# $Id: Makefile.am 20599 2007-05-08 02:48:22Z lha $
 2
 3include $(top_srcdir)/Makefile.am.common
 4
 5noinst_DATA = krb5.conf
 6
 7noinst_SCRIPTS = have-db
 8
 9check_SCRIPTS = loaddump-db add-modify-delete check-dbinfo
10
11TESTS = $(check_SCRIPTS) 
12
13do_subst = sed -e 's,[@]srcdir[@],$(srcdir),g' \
14	-e 's,[@]objdir[@],$(top_builddir)/tests/db,g' \
15	-e 's,[@]EGREP[@],$(EGREP),g' 
16
17loaddump-db: loaddump-db.in Makefile
18	$(do_subst) < $(srcdir)/loaddump-db.in > loaddump-db.tmp
19	chmod +x loaddump-db.tmp
20	mv loaddump-db.tmp loaddump-db
21
22add-modify-delete: add-modify-delete.in Makefile
23	$(do_subst) < $(srcdir)/add-modify-delete.in > add-modify-delete.tmp
24	chmod +x add-modify-delete.tmp
25	mv add-modify-delete.tmp add-modify-delete
26
27check-dbinfo: check-dbinfo.in Makefile
28	$(do_subst) < $(srcdir)/check-dbinfo.in > check-dbinfo.tmp
29	chmod +x check-dbinfo.tmp
30	mv check-dbinfo.tmp check-dbinfo
31
32have-db: have-db.in Makefile
33	$(do_subst) < $(srcdir)/have-db.in > have-db.tmp
34	chmod +x have-db.tmp
35	mv have-db.tmp have-db
36
37krb5.conf: krb5.conf.in Makefile
38	$(do_subst) < $(srcdir)/krb5.conf.in > krb5.conf.tmp
39	mv krb5.conf.tmp krb5.conf
40
41
42CLEANFILES= \
43	$(TESTS) \
44	have-db \
45	db-dump* \
46	dbinfo.out \
47	current-db* \
48	out-text-dump* \
49	out-current-* \
50	mkey.file* \
51	krb5.conf krb5.conf.tmp \
52	tempfile \
53	log.current-db* \
54	messages.log
55
56EXTRA_DIST = \
57	check-dbinfo.in \
58	loaddump-db.in \
59	add-modify-delete.in \
60	have-db.in \
61	krb5.conf.in \
62	text-dump-0.7 \
63	text-dump-known-ext \
64	text-dump-no-ext \
65	text-dump-unknown-ext
66