diff options
author | Ken Raeburn <raeburn@mit.edu> | 2009-01-05 20:27:53 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@mit.edu> | 2009-01-05 20:27:53 +0000 |
commit | 9063f42b2dc958d074e67465f558b3f367032fc4 (patch) | |
tree | 6d2fef402e4804499aef7fd3e3acb6a0bf260509 /src/plugins/locate/python | |
parent | 85974116f8fbd44bb18c97a7d46b99ed0dd25929 (diff) | |
download | krb5-9063f42b2dc958d074e67465f558b3f367032fc4.tar.gz krb5-9063f42b2dc958d074e67465f558b3f367032fc4.tar.xz krb5-9063f42b2dc958d074e67465f558b3f367032fc4.zip |
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
Diffstat (limited to 'src/plugins/locate/python')
-rw-r--r-- | src/plugins/locate/python/Makefile.in | 11 | ||||
-rw-r--r-- | src/plugins/locate/python/deps | 9 |
2 files changed, 9 insertions, 11 deletions
diff --git a/src/plugins/locate/python/Makefile.in b/src/plugins/locate/python/Makefile.in index 9daeae010..175bf6ef0 100644 --- a/src/plugins/locate/python/Makefile.in +++ b/src/plugins/locate/python/Makefile.in @@ -28,14 +28,3 @@ clean-unix:: clean-libs clean-libobjs @libnover_frag@ @libobj_frag@ -# +++ Dependency line eater +++ -# -# Makefile dependencies follow. This must be the last section in -# the Makefile.in file -# -py-locate.so py-locate.po $(OUTPRE)py-locate.$(OBJEXT): \ - $(BUILDTOP)/include/autoconf.h $(BUILDTOP)/include/krb5/krb5.h \ - $(COM_ERR_DEPS) $(SRCTOP)/include/fake-addrinfo.h $(SRCTOP)/include/k5-platform.h \ - $(SRCTOP)/include/k5-thread.h $(SRCTOP)/include/krb5/locate_plugin.h \ - $(SRCTOP)/include/port-sockets.h $(SRCTOP)/include/socket-utils.h \ - py-locate.c diff --git a/src/plugins/locate/python/deps b/src/plugins/locate/python/deps new file mode 100644 index 000000000..11624e9da --- /dev/null +++ b/src/plugins/locate/python/deps @@ -0,0 +1,9 @@ +# +# Generated makefile dependencies follow. +# +py-locate.so py-locate.po $(OUTPRE)py-locate.$(OBJEXT): \ + $(BUILDTOP)/include/autoconf.h $(BUILDTOP)/include/krb5/krb5.h \ + $(COM_ERR_DEPS) $(SRCTOP)/include/fake-addrinfo.h $(SRCTOP)/include/k5-platform.h \ + $(SRCTOP)/include/k5-thread.h $(SRCTOP)/include/krb5/locate_plugin.h \ + $(SRCTOP)/include/port-sockets.h $(SRCTOP)/include/socket-utils.h \ + py-locate.c |