diff options
| author | Glenn Morris | 2010-05-19 23:11:27 -0700 |
|---|---|---|
| committer | Glenn Morris | 2010-05-19 23:11:27 -0700 |
| commit | 9d5cf9b6b62d2a3e4e063e180b4b2a659b6ab4f0 (patch) | |
| tree | 04d04a57b4fd023e0fb4508a94d9c1e5269c54b4 /make-dist | |
| parent | 21566ba7e5c6d0ba3fdd14da8320e76bc3cb63fe (diff) | |
| download | emacs-9d5cf9b6b62d2a3e4e063e180b4b2a659b6ab4f0.tar.gz emacs-9d5cf9b6b62d2a3e4e063e180b4b2a659b6ab4f0.zip | |
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-x | make-dist | 1 |
1 files changed, 1 insertions, 0 deletions
| @@ -440,6 +440,7 @@ echo "Making links to \`src'" | |||
| 440 | ln [a-zA-Z]*.h ../${tempdir}/src | 440 | ln [a-zA-Z]*.h ../${tempdir}/src |
| 441 | ln [a-zA-Z]*.m ../${tempdir}/src | 441 | ln [a-zA-Z]*.m ../${tempdir}/src |
| 442 | ln [a-zA-Z]*.in ../${tempdir}/src | 442 | ln [a-zA-Z]*.in ../${tempdir}/src |
| 443 | ln [a-zA-Z]*.mk ../${tempdir}/src | ||
| 443 | ## If we ended up with a symlink, or if we did not get anything | 444 | ## If we ended up with a symlink, or if we did not get anything |
| 444 | ## due to a cross-device symlink, copy the file. | 445 | ## due to a cross-device symlink, copy the file. |
| 445 | for file in [a-zA-Z]*.[hcs] [a-zA-Z]*.in; do | 446 | for file in [a-zA-Z]*.[hcs] [a-zA-Z]*.in; do |