annotate vpath.sed @ 108708:12c5e713faa1
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 ':'.
author |
Glenn Morris <rgm@gnu.org> |
date |
Wed, 19 May 2010 23:11:27 -0700 |
parents |
695cf19ef79e |
children |
375f2633d815 |
rev |
line source |
4703
|
1 /^VPATH *=/c\
|
|
2 # This works only in GNU make. Using the patterns avoids\
|
|
3 # object files being found by VPATH, and thus permits building\
|
|
4 # when $srcdir is configured itself.\
|
|
5 vpath %.c $(srcdir)\
|
|
6 vpath %.h $(srcdir)\
|
|
7 \
|
52401
|
8
|
|
9 # arch-tag: 56a64b50-e4e8-443a-960f-f13af0f1a545
|