comparison msdos/sed1v2.inp @ 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 5a44435f0c71
children d8f404311eaf
comparison
equal deleted inserted replaced
108707:cd7f61e133d6 108708:12c5e713faa1
121 /^VMLIMIT_OBJ *=/s/@VMLIMIT_OBJ@/vm-limit.o/ 121 /^VMLIMIT_OBJ *=/s/@VMLIMIT_OBJ@/vm-limit.o/
122 /^RALLOC_OBJ *=/s/@RALLOC_OBJ@/ralloc.o/ 122 /^RALLOC_OBJ *=/s/@RALLOC_OBJ@/ralloc.o/
123 /^PRE_ALLOC_OBJ *=/s/@PRE_ALLOC_OBJ@/lastfile.o/ 123 /^PRE_ALLOC_OBJ *=/s/@PRE_ALLOC_OBJ@/lastfile.o/
124 /^POST_ALLOC_OBJ *=/s/@POST_ALLOC_OBJ@/$(vmlimitobj)/ 124 /^POST_ALLOC_OBJ *=/s/@POST_ALLOC_OBJ@/$(vmlimitobj)/
125 /^UNEXEC_OBJ *=/s/@unexec@/unexec.o/ 125 /^UNEXEC_OBJ *=/s/@unexec@/unexec.o/
126 /^DEPFLAGS *=/s/@DEPFLAGS@//
127 /^MKDEPDIR *=/s/@MKDEPDIR@/:/
126 /^version *=/s/@[^@\n]*@// 128 /^version *=/s/@[^@\n]*@//
127 /^M_FILE *=/s!@[^@\n]*@!m/intel386.h! 129 /^M_FILE *=/s!@[^@\n]*@!m/intel386.h!
128 /^S_FILE *=/s!@[^@\n]*@!s/msdos.h! 130 /^S_FILE *=/s!@[^@\n]*@!s/msdos.h!
129 /^@SET_MAKE@$/s/@SET_MAKE@// 131 /^@SET_MAKE@$/s/@SET_MAKE@//
130 /^@NS_IMPL_GNUSTEP_INC@/s/@NS_IMPL_GNUSTEP_INC@// 132 /^@NS_IMPL_GNUSTEP_INC@/s/@NS_IMPL_GNUSTEP_INC@//
143 /^ cd.*make-docfile/s!$!; cd ${dot}${dot}/src! 145 /^ cd.*make-docfile/s!$!; cd ${dot}${dot}/src!
144 /^ @: /d 146 /^ @: /d
145 /^ -\{0,1\}ln -/s/ln -f/cp -pf/ 147 /^ -\{0,1\}ln -/s/ln -f/cp -pf/
146 /^[ ]touch /s/touch/djecho $@ >/ 148 /^[ ]touch /s/touch/djecho $@ >/
147 s/@YMF_PASS_LDFLAGS@/flags/ 149 s/@YMF_PASS_LDFLAGS@/flags/
150 s/@deps_frag@//
148 s/bootstrap-emacs/b-emacs/ 151 s/bootstrap-emacs/b-emacs/
149 s/bootstrap-temacs/b-temacs/ 152 s/bootstrap-temacs/b-temacs/
150 s/bootstrap-doc/b-doc/ 153 s/bootstrap-doc/b-doc/
151 /rm -f bootstrap-emacs/s/b-emacs/b-emacs b-emacs.exe/ 154 /rm -f bootstrap-emacs/s/b-emacs/b-emacs b-emacs.exe/
152 s/echo.*buildobj.lst/dj&/ 155 s/echo.*buildobj.lst/dj&/