More kadmin support for kvno diff policy.
[heimdal.git] / tests / db / Makefile.am
blob22f0568de06e3555343e0bb34f5b411ecb068924
1 # $Id$
3 include $(top_srcdir)/Makefile.am.common
5 noinst_DATA = krb5.conf krb5.conf-sqlite
7 noinst_SCRIPTS = have-db
9 check_SCRIPTS = loaddump-db add-modify-delete check-dbinfo check-aliases
11 TESTS = $(check_SCRIPTS) 
13 do_subst = sed -e 's,[@]srcdir[@],$(srcdir),g' \
14         -e 's,[@]top_builddir[@],$(top_builddir),g' \
15         -e 's,[@]objdir[@],$(top_builddir)/tests/db,g' \
16         -e 's,[@]EGREP[@],$(EGREP),g' 
18 loaddump-db: loaddump-db.in Makefile
19         $(do_subst) < $(srcdir)/loaddump-db.in > loaddump-db.tmp
20         chmod +x loaddump-db.tmp
21         mv loaddump-db.tmp loaddump-db
23 add-modify-delete: add-modify-delete.in Makefile
24         $(do_subst) < $(srcdir)/add-modify-delete.in > add-modify-delete.tmp
25         chmod +x add-modify-delete.tmp
26         mv add-modify-delete.tmp add-modify-delete
28 check-dbinfo: check-dbinfo.in Makefile
29         $(do_subst) < $(srcdir)/check-dbinfo.in > check-dbinfo.tmp
30         chmod +x check-dbinfo.tmp
31         mv check-dbinfo.tmp check-dbinfo
33 check-aliases: check-aliases.in Makefile
34         $(do_subst) < $(srcdir)/check-aliases.in > check-aliases.tmp
35         chmod +x check-aliases.tmp
36         mv check-aliases.tmp check-aliases
38 have-db: have-db.in Makefile
39         $(do_subst) < $(srcdir)/have-db.in > have-db.tmp
40         chmod +x have-db.tmp
41         mv have-db.tmp have-db
43 krb5.conf: krb5.conf.in Makefile
44         $(do_subst) -e 's,[@]type[@],,g' < $(srcdir)/krb5.conf.in > krb5.conf.tmp
45         mv krb5.conf.tmp krb5.conf
47 krb5.conf-sqlite: krb5.conf.in Makefile
48         $(do_subst) -e 's,[@]type[@],sqlite:,g' < $(srcdir)/krb5.conf.in > krb5.conf-sqlite.tmp
49         mv krb5.conf-sqlite.tmp krb5.conf-sqlite
51 krb5-mit.conf: krb5-mit.conf.in Makefile
52         $(do_subst) < $(srcdir)/krb5-mit.conf.in > krb5-mit.conf.tmp
53         mv krb5-mit.conf.tmp krb5-mit.conf
56 CLEANFILES= \
57         $(TESTS) \
58         have-db \
59         db-dump* \
60         dbinfo.out \
61         current-db* \
62         out-text-dump* \
63         out-current-* \
64         mkey.file* \
65         krb5.conf krb5.conf.tmp \
66         krb5.conf-sqlite krb5.conf-sqlite.tmp \
67         krb5-mit.conf krb5-mit.conf.tmp \
68         tempfile \
69         log.current-db* \
70         heimdal-db* \
71         messages.log
73 EXTRA_DIST = \
74         NTMakefile \
75         check-aliases.in \
76         check-dbinfo.in \
77         loaddump-db.in \
78         add-modify-delete.in \
79         have-db.in \
80         krb5.conf.in \
81         krb5-mit.conf.in \
82         text-dump-0.7 \
83         text-dump-known-ext \
84         text-dump-no-ext \
85         text-dump-unknown-ext