]> eyrie.org Git - kerberos/krb5-strength.git/blobdiff - Makefile.in
Merge branch 'debian' into squeeze
[kerberos/krb5-strength.git] / Makefile.in
index cd6b037aa0d633dc431f71478bd526d39ef0633a..d83aec374da619295967c25e9ba6fe2319ec3d31 100644 (file)
@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.14 from Makefile.am.
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
 # @configure_input@
 
 # Copyright (C) 1994-2013 Free Software Foundation, Inc.
@@ -16,8 +16,8 @@
 
 # Automake makefile for krb5-strength.
 #
-# Written by Russ Allbery <rra@stanford.edu>
-# Copyright 2007, 2009, 2010, 2012, 2013
+# Written by Russ Allbery <eagle@eyrie.org>
+# Copyright 2007, 2009, 2010, 2012, 2013, 2014
 #     The Board of Trustees of the Leland Stanford Junior University
 #
 # See LICENSE for licensing terms.
@@ -94,7 +94,9 @@ bin_PROGRAMS = tools/heimdal-strength$(EXEEXT)
 check_PROGRAMS = tests/runtests$(EXEEXT) \
        tests/plugin/heimdal-t$(EXEEXT) tests/plugin/mit-t$(EXEEXT) \
        tests/portable/asprintf-t$(EXEEXT) \
+       tests/portable/mkstemp-t$(EXEEXT) \
        tests/portable/snprintf-t$(EXEEXT) \
+       tests/portable/strndup-t$(EXEEXT) \
        tests/util/messages-krb5-t$(EXEEXT) \
        tests/util/messages-t$(EXEEXT) tests/util/xmalloc$(EXEEXT) \
        $(am__EXEEXT_1)
@@ -102,9 +104,11 @@ check_PROGRAMS = tests/runtests$(EXEEXT) \
 subdir = .
 DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
        $(top_srcdir)/configure $(am__configure_deps) \
-       $(srcdir)/config.h.in $(top_srcdir)/portable/asprintf.c \
-       $(top_srcdir)/portable/krb5-extra.c \
-       $(top_srcdir)/portable/snprintf.c $(dist_bin_SCRIPTS) \
+       $(srcdir)/config.h.in $(top_srcdir)/portable/krb5-extra.c \
+       $(top_srcdir)/portable/snprintf.c \
+       $(top_srcdir)/portable/mkstemp.c \
+       $(top_srcdir)/portable/strndup.c \
+       $(top_srcdir)/portable/asprintf.c $(dist_bin_SCRIPTS) \
        $(top_srcdir)/build-aux/depcomp $(dist_man_MANS) NEWS README \
        TODO build-aux/ar-lib build-aux/compile build-aux/config.guess \
        build-aux/config.sub build-aux/depcomp build-aux/install-sh \
@@ -122,8 +126,9 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/cracklib.m4 \
        $(top_srcdir)/m4/lib-pathname.m4 $(top_srcdir)/m4/libtool.m4 \
        $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
        $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
-       $(top_srcdir)/m4/snprintf.m4 $(top_srcdir)/m4/tinycdb.m4 \
-       $(top_srcdir)/m4/vamacros.m4 $(top_srcdir)/configure.ac
+       $(top_srcdir)/m4/snprintf.m4 $(top_srcdir)/m4/sqlite.m4 \
+       $(top_srcdir)/m4/tinycdb.m4 $(top_srcdir)/m4/vamacros.m4 \
+       $(top_srcdir)/configure.ac
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
        $(ACLOCAL_M4)
 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
@@ -200,15 +205,18 @@ am__DEPENDENCIES_1 =
 @EMBEDDED_CRACKLIB_FALSE@      $(am__DEPENDENCIES_1) \
 @EMBEDDED_CRACKLIB_FALSE@      portable/libportable.la \
 @EMBEDDED_CRACKLIB_FALSE@      $(am__DEPENDENCIES_1) \
+@EMBEDDED_CRACKLIB_FALSE@      $(am__DEPENDENCIES_1) \
 @EMBEDDED_CRACKLIB_FALSE@      $(am__DEPENDENCIES_1)
 @EMBEDDED_CRACKLIB_TRUE@plugin_strength_la_DEPENDENCIES =  \
 @EMBEDDED_CRACKLIB_TRUE@       cracklib/libcracklib.la \
 @EMBEDDED_CRACKLIB_TRUE@       portable/libportable.la \
 @EMBEDDED_CRACKLIB_TRUE@       $(am__DEPENDENCIES_1) \
+@EMBEDDED_CRACKLIB_TRUE@       $(am__DEPENDENCIES_1) \
 @EMBEDDED_CRACKLIB_TRUE@       $(am__DEPENDENCIES_1)
-am_plugin_strength_la_OBJECTS = plugin/cdb.lo plugin/config.lo \
-       plugin/cracklib.lo plugin/error.lo plugin/general.lo \
-       plugin/heimdal.lo plugin/mit.lo plugin/principal.lo
+am_plugin_strength_la_OBJECTS = plugin/cdb.lo plugin/classes.lo \
+       plugin/config.lo plugin/cracklib.lo plugin/error.lo \
+       plugin/general.lo plugin/heimdal.lo plugin/mit.lo \
+       plugin/principal.lo plugin/sqlite.lo plugin/vector.lo
 plugin_strength_la_OBJECTS = $(am_plugin_strength_la_OBJECTS)
 plugin_strength_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \
        $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \
@@ -243,6 +251,13 @@ tests_portable_asprintf_t_OBJECTS =  \
        $(am_tests_portable_asprintf_t_OBJECTS)
 tests_portable_asprintf_t_DEPENDENCIES = tests/tap/libtap.a \
        portable/libportable.la
+am_tests_portable_mkstemp_t_OBJECTS =  \
+       tests/portable/mkstemp-t.$(OBJEXT) \
+       tests/portable/mkstemp.$(OBJEXT)
+tests_portable_mkstemp_t_OBJECTS =  \
+       $(am_tests_portable_mkstemp_t_OBJECTS)
+tests_portable_mkstemp_t_DEPENDENCIES = tests/tap/libtap.a \
+       portable/libportable.la
 am_tests_portable_snprintf_t_OBJECTS =  \
        tests/portable/snprintf-t.$(OBJEXT) \
        tests/portable/snprintf.$(OBJEXT)
@@ -250,6 +265,13 @@ tests_portable_snprintf_t_OBJECTS =  \
        $(am_tests_portable_snprintf_t_OBJECTS)
 tests_portable_snprintf_t_DEPENDENCIES = tests/tap/libtap.a \
        portable/libportable.la
+am_tests_portable_strndup_t_OBJECTS =  \
+       tests/portable/strndup-t.$(OBJEXT) \
+       tests/portable/strndup.$(OBJEXT)
+tests_portable_strndup_t_OBJECTS =  \
+       $(am_tests_portable_strndup_t_OBJECTS)
+tests_portable_strndup_t_DEPENDENCIES = tests/tap/libtap.a \
+       portable/libportable.la
 tests_runtests_SOURCES = tests/runtests.c
 tests_runtests_OBJECTS = tests/tests_runtests-runtests.$(OBJEXT)
 tests_runtests_LDADD = $(LDADD)
@@ -268,22 +290,27 @@ tests_util_xmalloc_DEPENDENCIES = util/libutil.a \
        portable/libportable.la
 am_tools_heimdal_strength_OBJECTS =  \
        plugin/tools_heimdal_strength-cdb.$(OBJEXT) \
+       plugin/tools_heimdal_strength-classes.$(OBJEXT) \
        plugin/tools_heimdal_strength-config.$(OBJEXT) \
        plugin/tools_heimdal_strength-cracklib.$(OBJEXT) \
        plugin/tools_heimdal_strength-error.$(OBJEXT) \
        plugin/tools_heimdal_strength-general.$(OBJEXT) \
        plugin/tools_heimdal_strength-principal.$(OBJEXT) \
+       plugin/tools_heimdal_strength-sqlite.$(OBJEXT) \
+       plugin/tools_heimdal_strength-vector.$(OBJEXT) \
        tools/tools_heimdal_strength-heimdal-strength.$(OBJEXT)
 tools_heimdal_strength_OBJECTS = $(am_tools_heimdal_strength_OBJECTS)
 @EMBEDDED_CRACKLIB_FALSE@tools_heimdal_strength_DEPENDENCIES =  \
 @EMBEDDED_CRACKLIB_FALSE@      $(am__DEPENDENCIES_1) util/libutil.a \
 @EMBEDDED_CRACKLIB_FALSE@      portable/libportable.la \
 @EMBEDDED_CRACKLIB_FALSE@      $(am__DEPENDENCIES_1) \
+@EMBEDDED_CRACKLIB_FALSE@      $(am__DEPENDENCIES_1) \
 @EMBEDDED_CRACKLIB_FALSE@      $(am__DEPENDENCIES_1)
 @EMBEDDED_CRACKLIB_TRUE@tools_heimdal_strength_DEPENDENCIES =  \
 @EMBEDDED_CRACKLIB_TRUE@       cracklib/libcracklib.la util/libutil.a \
 @EMBEDDED_CRACKLIB_TRUE@       portable/libportable.la \
 @EMBEDDED_CRACKLIB_TRUE@       $(am__DEPENDENCIES_1) \
+@EMBEDDED_CRACKLIB_TRUE@       $(am__DEPENDENCIES_1) \
 @EMBEDDED_CRACKLIB_TRUE@       $(am__DEPENDENCIES_1)
 tools_heimdal_strength_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \
        $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \
@@ -330,7 +357,9 @@ SOURCES = $(tests_tap_libtap_a_SOURCES) $(util_libutil_a_SOURCES) \
        $(portable_libportable_la_SOURCES) $(cracklib_packer_SOURCES) \
        tests/plugin/heimdal-t.c tests/plugin/mit-t.c \
        $(tests_portable_asprintf_t_SOURCES) \
-       $(tests_portable_snprintf_t_SOURCES) tests/runtests.c \
+       $(tests_portable_mkstemp_t_SOURCES) \
+       $(tests_portable_snprintf_t_SOURCES) \
+       $(tests_portable_strndup_t_SOURCES) tests/runtests.c \
        tests/util/messages-krb5-t.c tests/util/messages-t.c \
        tests/util/xmalloc.c $(tools_heimdal_strength_SOURCES)
 DIST_SOURCES = $(tests_tap_libtap_a_SOURCES) $(util_libutil_a_SOURCES) \
@@ -339,7 +368,9 @@ DIST_SOURCES = $(tests_tap_libtap_a_SOURCES) $(util_libutil_a_SOURCES) \
        $(portable_libportable_la_SOURCES) $(cracklib_packer_SOURCES) \
        tests/plugin/heimdal-t.c tests/plugin/mit-t.c \
        $(tests_portable_asprintf_t_SOURCES) \
-       $(tests_portable_snprintf_t_SOURCES) tests/runtests.c \
+       $(tests_portable_mkstemp_t_SOURCES) \
+       $(tests_portable_snprintf_t_SOURCES) \
+       $(tests_portable_strndup_t_SOURCES) tests/runtests.c \
        tests/util/messages-krb5-t.c tests/util/messages-t.c \
        tests/util/xmalloc.c $(tools_heimdal_strength_SOURCES)
 am__can_run_installinfo = \
@@ -457,10 +488,17 @@ PACKAGE_URL = @PACKAGE_URL@
 PACKAGE_VERSION = @PACKAGE_VERSION@
 PATH_KRB5_CONFIG = @PATH_KRB5_CONFIG@
 PATH_SEPARATOR = @PATH_SEPARATOR@
+PKG_CONFIG = @PKG_CONFIG@
+PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
+PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
 RANLIB = @RANLIB@
 SED = @SED@
 SET_MAKE = @SET_MAKE@
 SHELL = @SHELL@
+SQLITE_CFLAGS = @SQLITE_CFLAGS@
+SQLITE_CPPFLAGS = @SQLITE_CPPFLAGS@
+SQLITE_LDFLAGS = @SQLITE_LDFLAGS@
+SQLITE_LIBS = @SQLITE_LIBS@
 STRIP = @STRIP@
 VERSION = @VERSION@
 abs_builddir = @abs_builddir@
@@ -520,21 +558,27 @@ EXTRA_DIST = .gitignore LICENSE autogen cracklib/HISTORY cracklib/LICENCE  \
        cracklib/README cracklib/genrules.pl cracklib/mkdict tests/HOWTO   \
        tests/TESTS tests/data/krb5.conf tests/data/make-krb5-conf         \
        tests/data/passwords tests/data/perl.conf tests/data/perlcriticrc  \
-       tests/data/perltidyrc tests/data/wordlist tests/data/wordlist.cdb  \
+       tests/data/perltidyrc tests/data/valgrind.supp tests/data/wordlist \
+       tests/data/wordlist.cdb tests/data/wordlist.sqlite                 \
        tests/docs/pod-spelling-t tests/docs/pod-t tests/perl/critic-t     \
        tests/perl/minimum-version-t tests/perl/strict-t                   \
        tests/tap/libtap.sh tests/tap/perl/Test/RRA.pm                     \
        tests/tap/perl/Test/RRA/Config.pm                                  \
-       tests/tap/perl/Test/RRA/Automake.pm tests/tools/cdbmake-wordlist-t \
-       tests/tools/heimdal-strength-t tests/util/xmalloc-t                \
-       tools/heimdal-strength.pod
+       tests/tap/perl/Test/RRA/Automake.pm tests/tools/heimdal-history-t  \
+       tests/tools/heimdal-strength-t tests/tools/wordlist-cdb-t          \
+       tests/tools/wordlist-sqlite-t tests/tools/wordlist-t               \
+       tests/util/xmalloc-t tools/heimdal-strength.pod
 
 
 # Do this globally.  Everything needs to find the Kerberos headers and
-# libraries, and if we're using the system CrackLib or libcdb, add its
-# location unconditionally as well.
-AM_CPPFLAGS = $(CRACKLIB_CPPFLAGS) $(KRB5_CPPFLAGS) $(CDB_CPPFLAGS)
-AM_LDFLAGS = $(CRACKLIB_LDFLAGS) $(KRB5_LDFLAGS) $(CDB_LDFLAGS)
+# libraries, and if we're using the system CrackLib, TinyCDB, or SQLite, add
+# its location unconditionally as well.
+AM_CPPFLAGS = $(CRACKLIB_CPPFLAGS) $(KRB5_CPPFLAGS) $(CDB_CPPFLAGS) \
+       $(SQLITE_CPPFLAGS)
+
+AM_LDFLAGS = $(CRACKLIB_LDFLAGS) $(KRB5_LDFLAGS) $(CDB_LDFLAGS) \
+       $(SQLITE_LDFLAGS)
+
 
 # Build our portability library.
 noinst_LTLIBRARIES = portable/libportable.la $(am__append_1)
@@ -565,37 +609,41 @@ moduledir = $(libdir)/krb5/plugins/pwqual
 
 # Rules for building the password strength plugin.
 module_LTLIBRARIES = plugin/strength.la
-plugin_strength_la_SOURCES = plugin/cdb.c plugin/config.c plugin/cracklib.c \
-       plugin/error.c plugin/general.c plugin/heimdal.c plugin/internal.h  \
-       plugin/mit.c plugin/principal.c
+plugin_strength_la_SOURCES = plugin/cdb.c plugin/classes.c plugin/config.c \
+       plugin/cracklib.c plugin/error.c plugin/general.c plugin/heimdal.c \
+       plugin/internal.h plugin/mit.c plugin/principal.c plugin/sqlite.c  \
+       plugin/vector.c
 
 plugin_strength_la_LDFLAGS = -module -avoid-version
 @EMBEDDED_CRACKLIB_FALSE@plugin_strength_la_LIBADD = $(CRACKLIB_LIBS) \
 @EMBEDDED_CRACKLIB_FALSE@      portable/libportable.la $(KRB5_LIBS) \
-@EMBEDDED_CRACKLIB_FALSE@      $(CDB_LIBS)
+@EMBEDDED_CRACKLIB_FALSE@      $(CDB_LIBS) $(SQLITE_LIBS)
 @EMBEDDED_CRACKLIB_TRUE@plugin_strength_la_LIBADD =  \
 @EMBEDDED_CRACKLIB_TRUE@       cracklib/libcracklib.la \
 @EMBEDDED_CRACKLIB_TRUE@       portable/libportable.la $(KRB5_LIBS) \
-@EMBEDDED_CRACKLIB_TRUE@       $(CDB_LIBS)
+@EMBEDDED_CRACKLIB_TRUE@       $(CDB_LIBS) $(SQLITE_LIBS)
 tools_heimdal_strength_CFLAGS = $(AM_CFLAGS)
-tools_heimdal_strength_SOURCES = plugin/cdb.c plugin/config.c              \
-       plugin/cracklib.c plugin/error.c plugin/general.c plugin/internal.h \
-       plugin/principal.c tools/heimdal-strength.c
+tools_heimdal_strength_SOURCES = plugin/cdb.c plugin/classes.c           \
+       plugin/config.c plugin/cracklib.c plugin/error.c plugin/general.c \
+       plugin/internal.h plugin/principal.c plugin/sqlite.c              \
+       plugin/vector.c tools/heimdal-strength.c
 
 @EMBEDDED_CRACKLIB_FALSE@tools_heimdal_strength_LDADD =  \
 @EMBEDDED_CRACKLIB_FALSE@      $(CRACKLIB_LIBS) util/libutil.a \
 @EMBEDDED_CRACKLIB_FALSE@      portable/libportable.la $(KRB5_LIBS) \
-@EMBEDDED_CRACKLIB_FALSE@      $(CDB_LIBS)
+@EMBEDDED_CRACKLIB_FALSE@      $(CDB_LIBS) $(SQLITE_LIBS)
 @EMBEDDED_CRACKLIB_TRUE@tools_heimdal_strength_LDADD =  \
 @EMBEDDED_CRACKLIB_TRUE@       cracklib/libcracklib.la util/libutil.a \
 @EMBEDDED_CRACKLIB_TRUE@       portable/libportable.la $(KRB5_LIBS) \
-@EMBEDDED_CRACKLIB_TRUE@       $(CDB_LIBS)
+@EMBEDDED_CRACKLIB_TRUE@       $(CDB_LIBS) $(SQLITE_LIBS)
 
 # Other tools.
-dist_bin_SCRIPTS = tools/cdbmake-wordlist
+dist_bin_SCRIPTS = tools/heimdal-history tools/krb5-strength-wordlist
 
 # Man pages for all tools.
-dist_man_MANS = tools/heimdal-strength.1 tools/cdbmake-wordlist.1
+dist_man_MANS = tools/heimdal-history.1 tools/heimdal-strength.1 \
+       tools/krb5-strength-wordlist.1
+
 
 # Handle the standard stuff that make maintainer-clean should probably remove
 # but doesn't.  This breaks the GNU coding standard, but in this area the GNU
@@ -608,7 +656,10 @@ MAINTAINERCLEANFILES = Makefile.in aclocal.m4 build-aux/compile             \
        build-aux/config.guess build-aux/config.sub build-aux/depcomp    \
        build-aux/install-sh build-aux/ltmain.sh build-aux/missing       \
        config.h.in config.h.in~ configure m4/libtool.m4 m4/ltoptions.m4 \
-       m4/ltsugar.m4 m4/ltversion.m4 m4/lt~obsolete.m4
+       m4/ltsugar.m4 m4/ltversion.m4 m4/lt~obsolete.m4                  \
+       tests/data/wordlist.cdb tests/data/wordlist.sqlite               \
+       tools/heimdal-history.1 tools/heimdal-strength.1                 \
+       tools/krb5-strength-wordlist.1
 
 
 # A set of flags for warnings.  Add -O because gcc won't find some warnings
@@ -652,10 +703,18 @@ tests_portable_asprintf_t_SOURCES = tests/portable/asprintf-t.c \
        tests/portable/asprintf.c
 
 tests_portable_asprintf_t_LDADD = tests/tap/libtap.a portable/libportable.la
+tests_portable_mkstemp_t_SOURCES = tests/portable/mkstemp-t.c \
+       tests/portable/mkstemp.c
+
+tests_portable_mkstemp_t_LDADD = tests/tap/libtap.a portable/libportable.la
 tests_portable_snprintf_t_SOURCES = tests/portable/snprintf-t.c \
        tests/portable/snprintf.c
 
 tests_portable_snprintf_t_LDADD = tests/tap/libtap.a portable/libportable.la
+tests_portable_strndup_t_SOURCES = tests/portable/strndup-t.c \
+       tests/portable/strndup.c
+
+tests_portable_strndup_t_LDADD = tests/tap/libtap.a portable/libportable.la
 tests_util_messages_t_LDADD = tests/tap/libtap.a util/libutil.a \
        portable/libportable.la
 
@@ -829,6 +888,8 @@ plugin/$(DEPDIR)/$(am__dirstamp):
        @$(MKDIR_P) plugin/$(DEPDIR)
        @: > plugin/$(DEPDIR)/$(am__dirstamp)
 plugin/cdb.lo: plugin/$(am__dirstamp) plugin/$(DEPDIR)/$(am__dirstamp)
+plugin/classes.lo: plugin/$(am__dirstamp) \
+       plugin/$(DEPDIR)/$(am__dirstamp)
 plugin/config.lo: plugin/$(am__dirstamp) \
        plugin/$(DEPDIR)/$(am__dirstamp)
 plugin/cracklib.lo: plugin/$(am__dirstamp) \
@@ -842,6 +903,10 @@ plugin/heimdal.lo: plugin/$(am__dirstamp) \
 plugin/mit.lo: plugin/$(am__dirstamp) plugin/$(DEPDIR)/$(am__dirstamp)
 plugin/principal.lo: plugin/$(am__dirstamp) \
        plugin/$(DEPDIR)/$(am__dirstamp)
+plugin/sqlite.lo: plugin/$(am__dirstamp) \
+       plugin/$(DEPDIR)/$(am__dirstamp)
+plugin/vector.lo: plugin/$(am__dirstamp) \
+       plugin/$(DEPDIR)/$(am__dirstamp)
 
 plugin/strength.la: $(plugin_strength_la_OBJECTS) $(plugin_strength_la_DEPENDENCIES) $(EXTRA_plugin_strength_la_DEPENDENCIES) plugin/$(am__dirstamp)
        $(AM_V_CCLD)$(plugin_strength_la_LINK) -rpath $(moduledir) $(plugin_strength_la_OBJECTS) $(plugin_strength_la_LIBADD) $(LIBS)
@@ -954,6 +1019,14 @@ tests/portable/asprintf.$(OBJEXT): tests/portable/$(am__dirstamp) \
 tests/portable/asprintf-t$(EXEEXT): $(tests_portable_asprintf_t_OBJECTS) $(tests_portable_asprintf_t_DEPENDENCIES) $(EXTRA_tests_portable_asprintf_t_DEPENDENCIES) tests/portable/$(am__dirstamp)
        @rm -f tests/portable/asprintf-t$(EXEEXT)
        $(AM_V_CCLD)$(LINK) $(tests_portable_asprintf_t_OBJECTS) $(tests_portable_asprintf_t_LDADD) $(LIBS)
+tests/portable/mkstemp-t.$(OBJEXT): tests/portable/$(am__dirstamp) \
+       tests/portable/$(DEPDIR)/$(am__dirstamp)
+tests/portable/mkstemp.$(OBJEXT): tests/portable/$(am__dirstamp) \
+       tests/portable/$(DEPDIR)/$(am__dirstamp)
+
+tests/portable/mkstemp-t$(EXEEXT): $(tests_portable_mkstemp_t_OBJECTS) $(tests_portable_mkstemp_t_DEPENDENCIES) $(EXTRA_tests_portable_mkstemp_t_DEPENDENCIES) tests/portable/$(am__dirstamp)
+       @rm -f tests/portable/mkstemp-t$(EXEEXT)
+       $(AM_V_CCLD)$(LINK) $(tests_portable_mkstemp_t_OBJECTS) $(tests_portable_mkstemp_t_LDADD) $(LIBS)
 tests/portable/snprintf-t.$(OBJEXT): tests/portable/$(am__dirstamp) \
        tests/portable/$(DEPDIR)/$(am__dirstamp)
 tests/portable/snprintf.$(OBJEXT): tests/portable/$(am__dirstamp) \
@@ -962,6 +1035,14 @@ tests/portable/snprintf.$(OBJEXT): tests/portable/$(am__dirstamp) \
 tests/portable/snprintf-t$(EXEEXT): $(tests_portable_snprintf_t_OBJECTS) $(tests_portable_snprintf_t_DEPENDENCIES) $(EXTRA_tests_portable_snprintf_t_DEPENDENCIES) tests/portable/$(am__dirstamp)
        @rm -f tests/portable/snprintf-t$(EXEEXT)
        $(AM_V_CCLD)$(LINK) $(tests_portable_snprintf_t_OBJECTS) $(tests_portable_snprintf_t_LDADD) $(LIBS)
+tests/portable/strndup-t.$(OBJEXT): tests/portable/$(am__dirstamp) \
+       tests/portable/$(DEPDIR)/$(am__dirstamp)
+tests/portable/strndup.$(OBJEXT): tests/portable/$(am__dirstamp) \
+       tests/portable/$(DEPDIR)/$(am__dirstamp)
+
+tests/portable/strndup-t$(EXEEXT): $(tests_portable_strndup_t_OBJECTS) $(tests_portable_strndup_t_DEPENDENCIES) $(EXTRA_tests_portable_strndup_t_DEPENDENCIES) tests/portable/$(am__dirstamp)
+       @rm -f tests/portable/strndup-t$(EXEEXT)
+       $(AM_V_CCLD)$(LINK) $(tests_portable_strndup_t_OBJECTS) $(tests_portable_strndup_t_LDADD) $(LIBS)
 tests/$(am__dirstamp):
        @$(MKDIR_P) tests
        @: > tests/$(am__dirstamp)
@@ -1000,6 +1081,8 @@ tests/util/xmalloc$(EXEEXT): $(tests_util_xmalloc_OBJECTS) $(tests_util_xmalloc_
        $(AM_V_CCLD)$(LINK) $(tests_util_xmalloc_OBJECTS) $(tests_util_xmalloc_LDADD) $(LIBS)
 plugin/tools_heimdal_strength-cdb.$(OBJEXT): plugin/$(am__dirstamp) \
        plugin/$(DEPDIR)/$(am__dirstamp)
+plugin/tools_heimdal_strength-classes.$(OBJEXT):  \
+       plugin/$(am__dirstamp) plugin/$(DEPDIR)/$(am__dirstamp)
 plugin/tools_heimdal_strength-config.$(OBJEXT):  \
        plugin/$(am__dirstamp) plugin/$(DEPDIR)/$(am__dirstamp)
 plugin/tools_heimdal_strength-cracklib.$(OBJEXT):  \
@@ -1010,6 +1093,10 @@ plugin/tools_heimdal_strength-general.$(OBJEXT):  \
        plugin/$(am__dirstamp) plugin/$(DEPDIR)/$(am__dirstamp)
 plugin/tools_heimdal_strength-principal.$(OBJEXT):  \
        plugin/$(am__dirstamp) plugin/$(DEPDIR)/$(am__dirstamp)
+plugin/tools_heimdal_strength-sqlite.$(OBJEXT):  \
+       plugin/$(am__dirstamp) plugin/$(DEPDIR)/$(am__dirstamp)
+plugin/tools_heimdal_strength-vector.$(OBJEXT):  \
+       plugin/$(am__dirstamp) plugin/$(DEPDIR)/$(am__dirstamp)
 tools/$(am__dirstamp):
        @$(MKDIR_P) tools
        @: > tools/$(am__dirstamp)
@@ -1083,6 +1170,7 @@ distclean-compile:
 @AMDEP_TRUE@@am__include@ @am__quote@cracklib/$(DEPDIR)/cracklib_libcracklib_la-stringlib.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@cracklib/$(DEPDIR)/packer.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@plugin/$(DEPDIR)/cdb.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@plugin/$(DEPDIR)/classes.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@plugin/$(DEPDIR)/config.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@plugin/$(DEPDIR)/cracklib.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@plugin/$(DEPDIR)/error.Plo@am__quote@
@@ -1090,23 +1178,34 @@ distclean-compile:
 @AMDEP_TRUE@@am__include@ @am__quote@plugin/$(DEPDIR)/heimdal.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@plugin/$(DEPDIR)/mit.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@plugin/$(DEPDIR)/principal.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@plugin/$(DEPDIR)/sqlite.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@plugin/$(DEPDIR)/tools_heimdal_strength-cdb.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@plugin/$(DEPDIR)/tools_heimdal_strength-classes.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@plugin/$(DEPDIR)/tools_heimdal_strength-config.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@plugin/$(DEPDIR)/tools_heimdal_strength-cracklib.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@plugin/$(DEPDIR)/tools_heimdal_strength-error.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@plugin/$(DEPDIR)/tools_heimdal_strength-general.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@plugin/$(DEPDIR)/tools_heimdal_strength-principal.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@plugin/$(DEPDIR)/tools_heimdal_strength-sqlite.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@plugin/$(DEPDIR)/tools_heimdal_strength-vector.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@plugin/$(DEPDIR)/vector.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@portable/$(DEPDIR)/asprintf.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@portable/$(DEPDIR)/dummy.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@portable/$(DEPDIR)/krb5-extra.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@portable/$(DEPDIR)/mkstemp.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@portable/$(DEPDIR)/snprintf.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@portable/$(DEPDIR)/strndup.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@tests/$(DEPDIR)/tests_runtests-runtests.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@tests/plugin/$(DEPDIR)/tests_plugin_heimdal_t-heimdal-t.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@tests/plugin/$(DEPDIR)/tests_plugin_mit_t-mit-t.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@tests/portable/$(DEPDIR)/asprintf-t.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@tests/portable/$(DEPDIR)/asprintf.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@tests/portable/$(DEPDIR)/mkstemp-t.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@tests/portable/$(DEPDIR)/mkstemp.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@tests/portable/$(DEPDIR)/snprintf-t.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@tests/portable/$(DEPDIR)/snprintf.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@tests/portable/$(DEPDIR)/strndup-t.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@tests/portable/$(DEPDIR)/strndup.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@tests/tap/$(DEPDIR)/tests_tap_libtap_a-basic.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@tests/tap/$(DEPDIR)/tests_tap_libtap_a-kerberos.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@tests/tap/$(DEPDIR)/tests_tap_libtap_a-process.Po@am__quote@
@@ -1283,6 +1382,20 @@ plugin/tools_heimdal_strength-cdb.obj: plugin/cdb.c
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(tools_heimdal_strength_CFLAGS) $(CFLAGS) -c -o plugin/tools_heimdal_strength-cdb.obj `if test -f 'plugin/cdb.c'; then $(CYGPATH_W) 'plugin/cdb.c'; else $(CYGPATH_W) '$(srcdir)/plugin/cdb.c'; fi`
 
+plugin/tools_heimdal_strength-classes.o: plugin/classes.c
+@am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(tools_heimdal_strength_CFLAGS) $(CFLAGS) -MT plugin/tools_heimdal_strength-classes.o -MD -MP -MF plugin/$(DEPDIR)/tools_heimdal_strength-classes.Tpo -c -o plugin/tools_heimdal_strength-classes.o `test -f 'plugin/classes.c' || echo '$(srcdir)/'`plugin/classes.c
+@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) plugin/$(DEPDIR)/tools_heimdal_strength-classes.Tpo plugin/$(DEPDIR)/tools_heimdal_strength-classes.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='plugin/classes.c' object='plugin/tools_heimdal_strength-classes.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(tools_heimdal_strength_CFLAGS) $(CFLAGS) -c -o plugin/tools_heimdal_strength-classes.o `test -f 'plugin/classes.c' || echo '$(srcdir)/'`plugin/classes.c
+
+plugin/tools_heimdal_strength-classes.obj: plugin/classes.c
+@am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(tools_heimdal_strength_CFLAGS) $(CFLAGS) -MT plugin/tools_heimdal_strength-classes.obj -MD -MP -MF plugin/$(DEPDIR)/tools_heimdal_strength-classes.Tpo -c -o plugin/tools_heimdal_strength-classes.obj `if test -f 'plugin/classes.c'; then $(CYGPATH_W) 'plugin/classes.c'; else $(CYGPATH_W) '$(srcdir)/plugin/classes.c'; fi`
+@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) plugin/$(DEPDIR)/tools_heimdal_strength-classes.Tpo plugin/$(DEPDIR)/tools_heimdal_strength-classes.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='plugin/classes.c' object='plugin/tools_heimdal_strength-classes.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(tools_heimdal_strength_CFLAGS) $(CFLAGS) -c -o plugin/tools_heimdal_strength-classes.obj `if test -f 'plugin/classes.c'; then $(CYGPATH_W) 'plugin/classes.c'; else $(CYGPATH_W) '$(srcdir)/plugin/classes.c'; fi`
+
 plugin/tools_heimdal_strength-config.o: plugin/config.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(tools_heimdal_strength_CFLAGS) $(CFLAGS) -MT plugin/tools_heimdal_strength-config.o -MD -MP -MF plugin/$(DEPDIR)/tools_heimdal_strength-config.Tpo -c -o plugin/tools_heimdal_strength-config.o `test -f 'plugin/config.c' || echo '$(srcdir)/'`plugin/config.c
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) plugin/$(DEPDIR)/tools_heimdal_strength-config.Tpo plugin/$(DEPDIR)/tools_heimdal_strength-config.Po
@@ -1353,6 +1466,34 @@ plugin/tools_heimdal_strength-principal.obj: plugin/principal.c
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(tools_heimdal_strength_CFLAGS) $(CFLAGS) -c -o plugin/tools_heimdal_strength-principal.obj `if test -f 'plugin/principal.c'; then $(CYGPATH_W) 'plugin/principal.c'; else $(CYGPATH_W) '$(srcdir)/plugin/principal.c'; fi`
 
+plugin/tools_heimdal_strength-sqlite.o: plugin/sqlite.c
+@am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(tools_heimdal_strength_CFLAGS) $(CFLAGS) -MT plugin/tools_heimdal_strength-sqlite.o -MD -MP -MF plugin/$(DEPDIR)/tools_heimdal_strength-sqlite.Tpo -c -o plugin/tools_heimdal_strength-sqlite.o `test -f 'plugin/sqlite.c' || echo '$(srcdir)/'`plugin/sqlite.c
+@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) plugin/$(DEPDIR)/tools_heimdal_strength-sqlite.Tpo plugin/$(DEPDIR)/tools_heimdal_strength-sqlite.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='plugin/sqlite.c' object='plugin/tools_heimdal_strength-sqlite.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(tools_heimdal_strength_CFLAGS) $(CFLAGS) -c -o plugin/tools_heimdal_strength-sqlite.o `test -f 'plugin/sqlite.c' || echo '$(srcdir)/'`plugin/sqlite.c
+
+plugin/tools_heimdal_strength-sqlite.obj: plugin/sqlite.c
+@am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(tools_heimdal_strength_CFLAGS) $(CFLAGS) -MT plugin/tools_heimdal_strength-sqlite.obj -MD -MP -MF plugin/$(DEPDIR)/tools_heimdal_strength-sqlite.Tpo -c -o plugin/tools_heimdal_strength-sqlite.obj `if test -f 'plugin/sqlite.c'; then $(CYGPATH_W) 'plugin/sqlite.c'; else $(CYGPATH_W) '$(srcdir)/plugin/sqlite.c'; fi`
+@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) plugin/$(DEPDIR)/tools_heimdal_strength-sqlite.Tpo plugin/$(DEPDIR)/tools_heimdal_strength-sqlite.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='plugin/sqlite.c' object='plugin/tools_heimdal_strength-sqlite.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(tools_heimdal_strength_CFLAGS) $(CFLAGS) -c -o plugin/tools_heimdal_strength-sqlite.obj `if test -f 'plugin/sqlite.c'; then $(CYGPATH_W) 'plugin/sqlite.c'; else $(CYGPATH_W) '$(srcdir)/plugin/sqlite.c'; fi`
+
+plugin/tools_heimdal_strength-vector.o: plugin/vector.c
+@am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(tools_heimdal_strength_CFLAGS) $(CFLAGS) -MT plugin/tools_heimdal_strength-vector.o -MD -MP -MF plugin/$(DEPDIR)/tools_heimdal_strength-vector.Tpo -c -o plugin/tools_heimdal_strength-vector.o `test -f 'plugin/vector.c' || echo '$(srcdir)/'`plugin/vector.c
+@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) plugin/$(DEPDIR)/tools_heimdal_strength-vector.Tpo plugin/$(DEPDIR)/tools_heimdal_strength-vector.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='plugin/vector.c' object='plugin/tools_heimdal_strength-vector.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(tools_heimdal_strength_CFLAGS) $(CFLAGS) -c -o plugin/tools_heimdal_strength-vector.o `test -f 'plugin/vector.c' || echo '$(srcdir)/'`plugin/vector.c
+
+plugin/tools_heimdal_strength-vector.obj: plugin/vector.c
+@am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(tools_heimdal_strength_CFLAGS) $(CFLAGS) -MT plugin/tools_heimdal_strength-vector.obj -MD -MP -MF plugin/$(DEPDIR)/tools_heimdal_strength-vector.Tpo -c -o plugin/tools_heimdal_strength-vector.obj `if test -f 'plugin/vector.c'; then $(CYGPATH_W) 'plugin/vector.c'; else $(CYGPATH_W) '$(srcdir)/plugin/vector.c'; fi`
+@am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) plugin/$(DEPDIR)/tools_heimdal_strength-vector.Tpo plugin/$(DEPDIR)/tools_heimdal_strength-vector.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      $(AM_V_CC)source='plugin/vector.c' object='plugin/tools_heimdal_strength-vector.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@  $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(tools_heimdal_strength_CFLAGS) $(CFLAGS) -c -o plugin/tools_heimdal_strength-vector.obj `if test -f 'plugin/vector.c'; then $(CYGPATH_W) 'plugin/vector.c'; else $(CYGPATH_W) '$(srcdir)/plugin/vector.c'; fi`
+
 tools/tools_heimdal_strength-heimdal-strength.o: tools/heimdal-strength.c
 @am__fastdepCC_TRUE@   $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(tools_heimdal_strength_CFLAGS) $(CFLAGS) -MT tools/tools_heimdal_strength-heimdal-strength.o -MD -MP -MF tools/$(DEPDIR)/tools_heimdal_strength-heimdal-strength.Tpo -c -o tools/tools_heimdal_strength-heimdal-strength.o `test -f 'tools/heimdal-strength.c' || echo '$(srcdir)/'`tools/heimdal-strength.c
 @am__fastdepCC_TRUE@   $(AM_V_at)$(am__mv) tools/$(DEPDIR)/tools_heimdal_strength-heimdal-strength.Tpo tools/$(DEPDIR)/tools_heimdal_strength-heimdal-strength.Po
@@ -1598,9 +1739,10 @@ distcheck: dist
          && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
          && am__cwd=`pwd` \
          && $(am__cd) $(distdir)/_build \
-         && ../configure --srcdir=.. --prefix="$$dc_install_base" \
+         && ../configure \
            $(AM_DISTCHECK_CONFIGURE_FLAGS) \
            $(DISTCHECK_CONFIGURE_FLAGS) \
+           --srcdir=.. --prefix="$$dc_install_base" \
          && $(MAKE) $(AM_MAKEFLAGS) \
          && $(MAKE) $(AM_MAKEFLAGS) dvi \
          && $(MAKE) $(AM_MAKEFLAGS) check \
@@ -1776,7 +1918,8 @@ maintainer-clean: maintainer-clean-am
        -rm -rf $(top_srcdir)/autom4te.cache
        -rm -rf cracklib/$(DEPDIR) plugin/$(DEPDIR) portable/$(DEPDIR) tests/$(DEPDIR) tests/plugin/$(DEPDIR) tests/portable/$(DEPDIR) tests/tap/$(DEPDIR) tests/util/$(DEPDIR) tools/$(DEPDIR) util/$(DEPDIR)
        -rm -f Makefile
-maintainer-clean-am: distclean-am maintainer-clean-generic
+maintainer-clean-am: distclean-am maintainer-clean-generic \
+       maintainer-clean-local
 
 mostlyclean: mostlyclean-am
 
@@ -1815,13 +1958,18 @@ uninstall-man: uninstall-man1
        install-man1 install-moduleLTLIBRARIES install-pdf \
        install-pdf-am install-ps install-ps-am install-strip \
        installcheck installcheck-am installdirs maintainer-clean \
-       maintainer-clean-generic mostlyclean mostlyclean-compile \
-       mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
-       tags tags-am uninstall uninstall-am uninstall-binPROGRAMS \
-       uninstall-dist_binSCRIPTS uninstall-man uninstall-man1 \
-       uninstall-moduleLTLIBRARIES
+       maintainer-clean-generic maintainer-clean-local mostlyclean \
+       mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
+       pdf pdf-am ps ps-am tags tags-am uninstall uninstall-am \
+       uninstall-binPROGRAMS uninstall-dist_binSCRIPTS uninstall-man \
+       uninstall-man1 uninstall-moduleLTLIBRARIES
 
 
+# Also remove the generated *.c files from our JSON test data on
+# maintainer-clean.
+maintainer-clean-local:
+       rm -f tests/data/passwords/*.c
+
 warnings:
        $(MAKE) V=0 CFLAGS='$(WARNINGS)'
        $(MAKE) V=0 CFLAGS='$(WARNINGS)' $(check_PROGRAMS)
@@ -1840,6 +1988,21 @@ warnings:
 check-local: $(check_PROGRAMS) tests/data/dictionary.pwd
        cd tests && ./runtests -l $(abs_top_srcdir)/tests/TESTS
 
+# Used by maintainers to run the main test suite under valgrind.  Suppress
+# the xmalloc and pod-spelling tests because the former won't work properly
+# under valgrind (due to increased memory usage) and the latter is pointless
+# to run under valgrind.  Don't try to trace several of the tests that are
+# written in Perl or shell and test Perl programs.
+check-valgrind: $(check_PROGRAMS) tests/data/dictionary.pwd
+       rm -rf $(abs_top_builddir)/tmp-valgrind
+       mkdir $(abs_top_builddir)/tmp-valgrind
+       env RRA_MAINTAINER_TESTS= valgrind --leak-check=full            \
+           --show-reachable=yes --trace-children=yes                   \
+           --log-file=$(abs_top_builddir)/tmp-valgrind/log.%p          \
+           --suppressions=$(abs_top_srcdir)/tests/data/valgrind.supp   \
+           --trace-children-skip="/bin/sh,*/cat,*/diff,*/expr,*/grep,*/mkdir,*/rm,*/rmdir,*/sed,*/sleep,*/true,*/wc,*/docs/*-t,*/perl/*-t,*/data/make-krb5-conf,*/tools/heimdal-history-t,*/tools/wordlist*-t" \
+           tests/runtests -l '$(abs_top_srcdir)/tests/TESTS'
+
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT: