+2006-03-13 Ken Raeburn <raeburn@mit.edu>
+
+ * Makefile.in (krb5.conf): New target. Use
+ config-files/krb5.conf, but add db_module_dir tag.
+ (kdb_check): Depend on it.
+ (RUN_SETUP): Use it for KRB5_CONFIG.
+
2005-08-20 Ken Raeburn <raeburn@mit.edu>
* configure.in: Use K5_AC_INIT instead of AC_INIT.
LOCAL_SUBDIRS = resolve asn.1 create hammer verify gssapi dejagnu shlib \
gss-threads misc
-RUN_SETUP = @KRB5_RUN_ENV@ KRB5_KDC_PROFILE=kdc.conf KRB5_CONFIG=$(SRCTOP)/config-files/krb5.conf
+RUN_SETUP = @KRB5_RUN_ENV@ KRB5_KDC_PROFILE=kdc.conf KRB5_CONFIG=krb5.conf
KRB5_RUN_ENV= @KRB5_RUN_ENV@
PROG_LIBPATH=-L$(TOPLIBD)
PROG_RPATH=$(KRB5_LIBDIR)
@echo " key_stash_file = `pwd`/stash_file" >> kdc.conf
@echo "}" >> kdc.conf
+krb5.conf: Makefile
+ cat $(SRCTOP)/config-files/krb5.conf > krb5.new
+ echo "[db_modules]" >> krb5.new
+ echo " db_module_dir = `pwd`/../util/fakedest$(KRB5_DB_MODULE_DIR)" >> krb5.new
+ mv krb5.new krb5.conf
-kdb_check: kdc.conf
+kdb_check: kdc.conf krb5.conf
$(RM) $(TEST_DB)*
$(RUN_SETUP) ../kadmin/dbutil/kdb5_util $(KADMIN_OPTS) create
$(RUN_SETUP) ../tests/create/kdb5_mkdums $(KTEST_OPTS)