move generated dependencies out of Makefile.in
authorKen Raeburn <raeburn@mit.edu>
Mon, 5 Jan 2009 20:27:53 +0000 (20:27 +0000)
committerKen Raeburn <raeburn@mit.edu>
Mon, 5 Jan 2009 20:27:53 +0000 (20:27 +0000)
commit9063f42b2dc958d074e67465f558b3f367032fc4
tree6d2fef402e4804499aef7fd3e3acb6a0bf260509
parent85974116f8fbd44bb18c97a7d46b99ed0dd25929
move generated dependencies out of Makefile.in

Move automatically-generated dependencies into separate files in the
source tree, and take the data out of Makefile.in.

Keep the "make depend" rules for stripping out the dependencies from
Makefile.in, in case some optional directories were missed, but
everything that builds on my UNIX build has been converted.
(Converting a directory just requires creating an empty "deps" file so
that config.status can build the makefile, and then later running
"make depend" in that directory to get the correct content for it.)

Change configure scripts to incorporate the "deps" file when building
each Makefile.  This change requires the existence of a file "deps" in
each source directory where we build a makefile, even if there are no
sources for which to compute dependencies; a switch to GNU make would
let us conditionalize that, but we can assess that later.

Update dependencies for the generate Makefile itself to list the deps
file.

This will also require some minor tweaking of the Windows build, to
make it incorporate the new deps file.

ticket: new

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@21701 dc483132-0cff-0310-8789-dd5450dbe970
207 files changed:
src/aclocal.m4
src/appl/bsd/Makefile.in
src/appl/bsd/deps [new file with mode: 0644]
src/appl/deps [new file with mode: 0644]
src/appl/gss-sample/Makefile.in
src/appl/gss-sample/deps [new file with mode: 0644]
src/appl/gssftp/deps [new file with mode: 0644]
src/appl/gssftp/ftp/Makefile.in
src/appl/gssftp/ftp/deps [new file with mode: 0644]
src/appl/gssftp/ftpd/Makefile.in
src/appl/gssftp/ftpd/deps [new file with mode: 0644]
src/appl/libpty/Makefile.in
src/appl/libpty/deps [new file with mode: 0644]
src/appl/sample/deps [new file with mode: 0644]
src/appl/sample/sclient/deps [new file with mode: 0644]
src/appl/sample/sserver/deps [new file with mode: 0644]
src/appl/simple/client/deps [new file with mode: 0644]
src/appl/simple/deps [new file with mode: 0644]
src/appl/simple/server/deps [new file with mode: 0644]
src/appl/telnet/deps [new file with mode: 0644]
src/appl/telnet/libtelnet/Makefile.in
src/appl/telnet/libtelnet/deps [new file with mode: 0644]
src/appl/telnet/telnet/Makefile.in
src/appl/telnet/telnet/deps [new file with mode: 0644]
src/appl/telnet/telnetd/Makefile.in
src/appl/telnet/telnetd/deps [new file with mode: 0644]
src/appl/user_user/deps [new file with mode: 0644]
src/clients/deps [new file with mode: 0644]
src/clients/kdestroy/Makefile.in
src/clients/kdestroy/deps [new file with mode: 0644]
src/clients/kinit/Makefile.in
src/clients/kinit/deps [new file with mode: 0644]
src/clients/klist/Makefile.in
src/clients/klist/deps [new file with mode: 0644]
src/clients/kpasswd/Makefile.in
src/clients/kpasswd/deps [new file with mode: 0644]
src/clients/ksu/Makefile.in
src/clients/ksu/deps [new file with mode: 0644]
src/clients/kvno/Makefile.in
src/clients/kvno/deps [new file with mode: 0644]
src/config-files/deps [new file with mode: 0644]
src/config/post.in
src/deps [new file with mode: 0644]
src/gen-manpages/deps [new file with mode: 0644]
src/include/deps [new file with mode: 0644]
src/kadmin/cli/Makefile.in
src/kadmin/cli/deps [new file with mode: 0644]
src/kadmin/dbutil/Makefile.in
src/kadmin/dbutil/deps [new file with mode: 0644]
src/kadmin/deps [new file with mode: 0644]
src/kadmin/ktutil/Makefile.in
src/kadmin/ktutil/deps [new file with mode: 0644]
src/kadmin/passwd/Makefile.in
src/kadmin/passwd/deps [new file with mode: 0644]
src/kadmin/passwd/unit-test/deps [new file with mode: 0644]
src/kadmin/server/Makefile.in
src/kadmin/server/deps [new file with mode: 0644]
src/kadmin/testing/deps [new file with mode: 0644]
src/kadmin/testing/scripts/deps [new file with mode: 0644]
src/kadmin/testing/util/Makefile.in
src/kadmin/testing/util/deps [new file with mode: 0644]
src/kdc/Makefile.in
src/kdc/deps [new file with mode: 0644]
src/lib/apputils/Makefile.in
src/lib/apputils/deps [new file with mode: 0644]
src/lib/crypto/Makefile.in
src/lib/crypto/aes/Makefile.in
src/lib/crypto/aes/deps [new file with mode: 0644]
src/lib/crypto/arcfour/Makefile.in
src/lib/crypto/arcfour/deps [new file with mode: 0644]
src/lib/crypto/crc32/Makefile.in
src/lib/crypto/crc32/deps [new file with mode: 0644]
src/lib/crypto/deps [new file with mode: 0644]
src/lib/crypto/des/Makefile.in
src/lib/crypto/des/deps [new file with mode: 0644]
src/lib/crypto/dk/Makefile.in
src/lib/crypto/dk/deps [new file with mode: 0644]
src/lib/crypto/enc_provider/Makefile.in
src/lib/crypto/enc_provider/deps [new file with mode: 0644]
src/lib/crypto/hash_provider/Makefile.in
src/lib/crypto/hash_provider/deps [new file with mode: 0644]
src/lib/crypto/keyhash_provider/Makefile.in
src/lib/crypto/keyhash_provider/deps [new file with mode: 0644]
src/lib/crypto/md4/Makefile.in
src/lib/crypto/md4/deps [new file with mode: 0644]
src/lib/crypto/md5/Makefile.in
src/lib/crypto/md5/deps [new file with mode: 0644]
src/lib/crypto/old/Makefile.in
src/lib/crypto/old/deps [new file with mode: 0644]
src/lib/crypto/raw/Makefile.in
src/lib/crypto/raw/deps [new file with mode: 0644]
src/lib/crypto/sha1/Makefile.in
src/lib/crypto/sha1/deps [new file with mode: 0644]
src/lib/crypto/yarrow/Makefile.in
src/lib/crypto/yarrow/deps [new file with mode: 0644]
src/lib/deps [new file with mode: 0644]
src/lib/gssapi/Makefile.in
src/lib/gssapi/deps [new file with mode: 0644]
src/lib/gssapi/generic/Makefile.in
src/lib/gssapi/generic/deps [new file with mode: 0644]
src/lib/gssapi/krb5/Makefile.in
src/lib/gssapi/krb5/deps [new file with mode: 0644]
src/lib/gssapi/mechglue/Makefile.in
src/lib/gssapi/mechglue/deps [new file with mode: 0644]
src/lib/gssapi/spnego/Makefile.in
src/lib/gssapi/spnego/deps [new file with mode: 0644]
src/lib/kadm5/Makefile.in
src/lib/kadm5/clnt/Makefile.in
src/lib/kadm5/clnt/deps [new file with mode: 0644]
src/lib/kadm5/deps [new file with mode: 0644]
src/lib/kadm5/srv/Makefile.in
src/lib/kadm5/srv/deps [new file with mode: 0644]
src/lib/kadm5/unit-test/Makefile.in
src/lib/kadm5/unit-test/deps [new file with mode: 0644]
src/lib/kdb/Makefile.in
src/lib/kdb/deps [new file with mode: 0644]
src/lib/krb5/Makefile.in
src/lib/krb5/asn.1/Makefile.in
src/lib/krb5/asn.1/deps [new file with mode: 0644]
src/lib/krb5/ccache/Makefile.in
src/lib/krb5/ccache/deps [new file with mode: 0644]
src/lib/krb5/deps [new file with mode: 0644]
src/lib/krb5/error_tables/Makefile.in
src/lib/krb5/error_tables/deps [new file with mode: 0644]
src/lib/krb5/keytab/Makefile.in
src/lib/krb5/keytab/deps [new file with mode: 0644]
src/lib/krb5/krb/Makefile.in
src/lib/krb5/krb/deps [new file with mode: 0644]
src/lib/krb5/os/Makefile.in
src/lib/krb5/os/deps [new file with mode: 0644]
src/lib/krb5/rcache/Makefile.in
src/lib/krb5/rcache/deps [new file with mode: 0644]
src/lib/krb5/unicode/Makefile.in
src/lib/krb5/unicode/deps [new file with mode: 0644]
src/lib/rpc/Makefile.in
src/lib/rpc/deps [new file with mode: 0644]
src/lib/rpc/unit-test/Makefile.in
src/lib/rpc/unit-test/deps [new file with mode: 0644]
src/plugins/authdata/greet/Makefile.in
src/plugins/authdata/greet/deps [new file with mode: 0644]
src/plugins/kdb/db2/Makefile.in
src/plugins/kdb/db2/deps [new file with mode: 0644]
src/plugins/kdb/db2/libdb2/btree/Makefile.in
src/plugins/kdb/db2/libdb2/btree/deps [new file with mode: 0644]
src/plugins/kdb/db2/libdb2/db/Makefile.in
src/plugins/kdb/db2/libdb2/db/deps [new file with mode: 0644]
src/plugins/kdb/db2/libdb2/deps [new file with mode: 0644]
src/plugins/kdb/db2/libdb2/hash/Makefile.in
src/plugins/kdb/db2/libdb2/hash/deps [new file with mode: 0644]
src/plugins/kdb/db2/libdb2/mpool/Makefile.in
src/plugins/kdb/db2/libdb2/mpool/deps [new file with mode: 0644]
src/plugins/kdb/db2/libdb2/recno/Makefile.in
src/plugins/kdb/db2/libdb2/recno/deps [new file with mode: 0644]
src/plugins/kdb/db2/libdb2/test/deps [new file with mode: 0644]
src/plugins/kdb/ldap/Makefile.in
src/plugins/kdb/ldap/deps [new file with mode: 0644]
src/plugins/kdb/ldap/ldap_util/deps [new file with mode: 0644]
src/plugins/kdb/ldap/libkdb_ldap/Makefile.in
src/plugins/kdb/ldap/libkdb_ldap/deps [new file with mode: 0644]
src/plugins/locate/python/Makefile.in
src/plugins/locate/python/deps [new file with mode: 0644]
src/plugins/preauth/cksum_body/Makefile.in
src/plugins/preauth/cksum_body/deps [new file with mode: 0644]
src/plugins/preauth/pkinit/Makefile.in
src/plugins/preauth/pkinit/deps [new file with mode: 0644]
src/plugins/preauth/wpse/Makefile.in
src/plugins/preauth/wpse/deps [new file with mode: 0644]
src/slave/Makefile.in
src/slave/deps [new file with mode: 0644]
src/tests/asn.1/Makefile.in
src/tests/asn.1/deps [new file with mode: 0644]
src/tests/create/Makefile.in
src/tests/create/deps [new file with mode: 0644]
src/tests/dejagnu/Makefile.in
src/tests/dejagnu/deps [new file with mode: 0644]
src/tests/deps [new file with mode: 0644]
src/tests/gss-threads/Makefile.in
src/tests/gss-threads/deps [new file with mode: 0644]
src/tests/gssapi/Makefile.in
src/tests/gssapi/deps [new file with mode: 0644]
src/tests/hammer/Makefile.in
src/tests/hammer/deps [new file with mode: 0644]
src/tests/misc/Makefile.in
src/tests/misc/deps [new file with mode: 0644]
src/tests/mkeystash_compat/Makefile.in
src/tests/mkeystash_compat/deps [new file with mode: 0644]
src/tests/resolve/Makefile.in
src/tests/resolve/deps [new file with mode: 0644]
src/tests/shlib/Makefile.in
src/tests/shlib/deps [new file with mode: 0644]
src/tests/threads/Makefile.in
src/tests/threads/deps [new file with mode: 0644]
src/tests/verify/Makefile.in
src/tests/verify/deps [new file with mode: 0644]
src/util/collected-client-lib/Makefile.in
src/util/collected-client-lib/deps [new file with mode: 0644]
src/util/depfix.pl
src/util/deps [new file with mode: 0644]
src/util/et/Makefile.in
src/util/et/deps [new file with mode: 0644]
src/util/profile/Makefile.in
src/util/profile/deps [new file with mode: 0644]
src/util/send-pr/deps [new file with mode: 0644]
src/util/ss/Makefile.in
src/util/ss/deps [new file with mode: 0644]
src/util/support/Makefile.in
src/util/support/deps [new file with mode: 0644]