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
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
65 krb5.conf krb5.conf.tmp \
66 krb5.conf-sqlite krb5.conf-sqlite.tmp \
67 krb5-mit.conf krb5-mit.conf.tmp \
78 add-modify-delete.in \