summaryrefslogtreecommitdiff
path: root/make-dist
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2010-05-19 23:11:27 -0700
committerGlenn Morris <rgm@gnu.org>2010-05-19 23:11:27 -0700
commit9d5cf9b6b62d2a3e4e063e180b4b2a659b6ab4f0 (patch)
tree04d04a57b4fd023e0fb4508a94d9c1e5269c54b4 /make-dist
parent21566ba7e5c6d0ba3fdd14da8320e76bc3cb63fe (diff)
downloademacs-9d5cf9b6b62d2a3e4e063e180b4b2a659b6ab4f0.tar.gz
Handle auto-depend with configure.
* make-dist (src): Include *.mk. * config.bat: Concatenate deps.mk onto the end of src/Makefile. * configure.in (DEPFLAGS, MKDEPDIR): New output variables. (deps_frag): New output file. (AUTO_DEPEND): Remove this definition. * src/Makefile.in (DEPDIR): New constant. (DEPFLAGS): Set with configure, not cpp. (MKDEPDIR): New, set by configure. (.c.o, .m.o, ecrt0.o): Use $MKDEPDIR. (clean): Use $DEPDIR. (deps_frag): Include from configure. Move static/dynamic dependency stuff to deps.mk/autodeps.mk. * src/deps.mk, src/autodeps.mk: New files, extracted from Makefile.in. * msdos/sed1v2.inp (DEPFLAGS, deps_frag): Edit to empty. (MKDEPDIR): Edit to ':'.
Diffstat (limited to 'make-dist')
-rwxr-xr-xmake-dist1
1 files changed, 1 insertions, 0 deletions
diff --git a/make-dist b/make-dist
index f725a1554bd..87d879d31c4 100755
--- a/make-dist
+++ b/make-dist
@@ -440,6 +440,7 @@ echo "Making links to \`src'"
ln [a-zA-Z]*.h ../${tempdir}/src
ln [a-zA-Z]*.m ../${tempdir}/src
ln [a-zA-Z]*.in ../${tempdir}/src
+ ln [a-zA-Z]*.mk ../${tempdir}/src
## If we ended up with a symlink, or if we did not get anything
## due to a cross-device symlink, copy the file.
for file in [a-zA-Z]*.[hcs] [a-zA-Z]*.in; do