diff options
| author | Eli Zaretskii | 2011-02-09 22:50:17 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2011-02-09 22:50:17 +0200 |
| commit | d37f40ed383c9244d499c3770f9649d2399d40ba (patch) | |
| tree | 199b0e82be49c92302b1e0c90d63692832069bdc /src | |
| parent | ccded26c1e57045a8941dd69b2566ac9a49cfe4b (diff) | |
| download | emacs-d37f40ed383c9244d499c3770f9649d2399d40ba.tar.gz emacs-d37f40ed383c9244d499c3770f9649d2399d40ba.zip | |
Update the Windows build according to 2011-02-08T21:42:56Z!tromey@redhat.com and 2011-02-09T17:04:43Z!schwab@linux-m68k.org.
src/makefile.w32-in (GLOBAL_SOURCES, SOME_MACHINE_OBJECTS, obj): New
macros.
(globals.h, gl-stamp): New targets.
(clean): Clean gl-stamp and globals.h.
nt/makefile.w32-in (bootstrap-nmake, bootstrap-gmake): Make the
"make-docfile" target in lib-src, before bootstrapping the src
directory. Needed since building in src needs to run make-docfile
to produce globals.h.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 7 | ||||
| -rw-r--r-- | src/makefile.w32-in | 34 |
2 files changed, 40 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 270edc59926..5cbcd35b5c7 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2011-02-09 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * makefile.w32-in (GLOBAL_SOURCES, SOME_MACHINE_OBJECTS, obj): New | ||
| 4 | macros. | ||
| 5 | (globals.h, gl-stamp): New targets. | ||
| 6 | (clean): Clean gl-stamp and globals.h. | ||
| 7 | |||
| 1 | 2011-02-09 Andreas Schwab <schwab@linux-m68k.org> | 8 | 2011-02-09 Andreas Schwab <schwab@linux-m68k.org> |
| 2 | 9 | ||
| 3 | * Makefile.in (gl-stamp): Create globals.h here. | 10 | * Makefile.in (gl-stamp): Create globals.h here. |
diff --git a/src/makefile.w32-in b/src/makefile.w32-in index 54a30f28ff2..ce4b9f35de8 100644 --- a/src/makefile.w32-in +++ b/src/makefile.w32-in | |||
| @@ -203,6 +203,38 @@ make-buildobj-SH: | |||
| 203 | echo $(OBJ2) '\' >> buildobj.h | 203 | echo $(OBJ2) '\' >> buildobj.h |
| 204 | echo '$(DQUOTE)' >> buildobj.h | 204 | echo '$(DQUOTE)' >> buildobj.h |
| 205 | 205 | ||
| 206 | GLOBAL_SOURCES = dosfns.c msdos.c \ | ||
| 207 | xterm.c xfns.c xmenu.c xselect.c xrdb.c xsmfns.c fringe.c image.c \ | ||
| 208 | fontset.c menu.c dbusbind.c \ | ||
| 209 | w32.c w32console.c w32fns.c w32heap.c w32inevt.c \ | ||
| 210 | w32menu.c w32proc.c w32reg.c w32select.c w32term.c w32xfns.c \ | ||
| 211 | font.c w32font.c w32uniscribe.c \ | ||
| 212 | dispnew.c frame.c scroll.c xdisp.c window.c bidi.c \ | ||
| 213 | charset.c coding.c category.c ccl.c character.c chartab.c \ | ||
| 214 | cm.c term.c terminal.c xfaces.c \ | ||
| 215 | emacs.c keyboard.c macros.c keymap.c sysdep.c \ | ||
| 216 | buffer.c filelock.c insdel.c marker.c \ | ||
| 217 | minibuf.c fileio.c dired.c filemode.c \ | ||
| 218 | cmds.c casetab.c casefiddle.c indent.c search.c regex.c undo.c \ | ||
| 219 | alloc.c data.c doc.c editfns.c callint.c \ | ||
| 220 | eval.c floatfns.c fns.c print.c lread.c \ | ||
| 221 | syntax.c bytecode.c \ | ||
| 222 | process.c callproc.c unexw32.c \ | ||
| 223 | region-cache.c sound.c atimer.c \ | ||
| 224 | doprnt.c intervals.c textprop.c composite.c md5.c | ||
| 225 | SOME_MACHINE_OBJECTS = dosfns.o msdos.o \ | ||
| 226 | xterm.o xfns.o xmenu.o xselect.o xrdb.o xsmfns.o dbusbind.o | ||
| 227 | obj = $(GLOBAL_SOURCES:.c=.o) | ||
| 228 | |||
| 229 | globals.h: gl-stamp | ||
| 230 | |||
| 231 | gl-stamp: ../lib-src/$(BLD)/make-docfile.exe $(GLOBAL_SOURCES) | ||
| 232 | - $(DEL) gl-tmp | ||
| 233 | "../lib-src/$(BLD)/make-docfile" -d . -g $(SOME_MACHINE_OBJECTS) $(obj) > gl-tmp | ||
| 234 | cmd /c "fc /b gl-tmp globals.h >nul 2>&1 || $(CP) gl-tmp globals.h" | ||
| 235 | - $(DEL) gl-tmp | ||
| 236 | echo timestamp > $@ | ||
| 237 | |||
| 206 | bootstrap: bootstrap-emacs | 238 | bootstrap: bootstrap-emacs |
| 207 | 239 | ||
| 208 | # | 240 | # |
| @@ -279,7 +311,7 @@ clean: | |||
| 279 | - $(DEL) "s/*.h~" "m/*.h~" | 311 | - $(DEL) "s/*.h~" "m/*.h~" |
| 280 | - $(DEL) $(COMPILER_TEMP_FILES) | 312 | - $(DEL) $(COMPILER_TEMP_FILES) |
| 281 | - $(DEL_TREE) $(OBJDIR) | 313 | - $(DEL_TREE) $(OBJDIR) |
| 282 | - $(DEL) stamp_BLD | 314 | - $(DEL) stamp_BLD gl-stamp globals.h |
| 283 | - $(DEL) buildobj.h | 315 | - $(DEL) buildobj.h |
| 284 | 316 | ||
| 285 | distclean: cleanall | 317 | distclean: cleanall |