diff options
| author | Daniel Colascione | 2012-12-10 09:52:35 -0800 |
|---|---|---|
| committer | Daniel Colascione | 2012-12-10 09:52:35 -0800 |
| commit | 743fa5cbdd42a820c4320599a14aab925dcdbc8b (patch) | |
| tree | 7c330bf115347bbb0fa87b59f88c87a50745d432 /src/Makefile.in | |
| parent | 98a07056558be8c13945a3a99b4801996af685a4 (diff) | |
| parent | 1cf1bbd51e91f02a1d3fabb4f7ea4b1322c4259c (diff) | |
| download | emacs-743fa5cbdd42a820c4320599a14aab925dcdbc8b.tar.gz emacs-743fa5cbdd42a820c4320599a14aab925dcdbc8b.zip | |
Move fix for cygw32 icon issue from emacs-24 branch to trunk as Stefan Monnier requests
Diffstat (limited to 'src/Makefile.in')
| -rw-r--r-- | src/Makefile.in | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/src/Makefile.in b/src/Makefile.in index cd0b9318ccb..5f5fdfdc5eb 100644 --- a/src/Makefile.in +++ b/src/Makefile.in | |||
| @@ -28,9 +28,11 @@ SHELL = /bin/sh | |||
| 28 | # Here are the things that we expect ../configure to edit. | 28 | # Here are the things that we expect ../configure to edit. |
| 29 | # We use $(srcdir) explicitly in dependencies so as not to depend on VPATH. | 29 | # We use $(srcdir) explicitly in dependencies so as not to depend on VPATH. |
| 30 | srcdir = @srcdir@ | 30 | srcdir = @srcdir@ |
| 31 | ntsource = $(srcdir)/../nt | ||
| 31 | abs_builddir = @abs_builddir@ | 32 | abs_builddir = @abs_builddir@ |
| 32 | VPATH = $(srcdir) | 33 | VPATH = $(srcdir) |
| 33 | CC = @CC@ | 34 | CC = @CC@ |
| 35 | WINDRES = @WINDRES@ | ||
| 34 | CFLAGS = @CFLAGS@ | 36 | CFLAGS = @CFLAGS@ |
| 35 | CPPFLAGS = @CPPFLAGS@ | 37 | CPPFLAGS = @CPPFLAGS@ |
| 36 | LDFLAGS = @LDFLAGS@ | 38 | LDFLAGS = @LDFLAGS@ |
| @@ -267,6 +269,13 @@ W32_OBJ=@W32_OBJ@ | |||
| 267 | ## --lwinspool if HAVE_W32, else empty. | 269 | ## --lwinspool if HAVE_W32, else empty. |
| 268 | W32_LIBS=@W32_LIBS@ | 270 | W32_LIBS=@W32_LIBS@ |
| 269 | 271 | ||
| 272 | ## emacs.res if HAVE_W32 | ||
| 273 | W32_RES=@W32_RES@ | ||
| 274 | ## If HAVE_W32, compiler arguments for including | ||
| 275 | ## the resource file in the binary. | ||
| 276 | ## XXX -Wl,-b -Wl,pe-i386 -Wl,emacs.res | ||
| 277 | W32_RES_LINK=@W32_RES_LINK@ | ||
| 278 | |||
| 270 | ## Empty if !HAVE_X_WINDOWS | 279 | ## Empty if !HAVE_X_WINDOWS |
| 271 | ## xfont.o ftfont.o xftfont.o ftxfont.o if HAVE_XFT | 280 | ## xfont.o ftfont.o xftfont.o ftxfont.o if HAVE_XFT |
| 272 | ## xfont.o ftfont.o ftxfont.o if HAVE_FREETYPE | 281 | ## xfont.o ftfont.o ftxfont.o if HAVE_FREETYPE |
| @@ -329,7 +338,6 @@ ALL_OBJC_CFLAGS=$(ALL_CFLAGS) $(GNU_OBJC_CFLAGS) | |||
| 329 | @$(MKDEPDIR) | 338 | @$(MKDEPDIR) |
| 330 | $(CC) -c $(CPPFLAGS) $(ALL_OBJC_CFLAGS) $< | 339 | $(CC) -c $(CPPFLAGS) $(ALL_OBJC_CFLAGS) $< |
| 331 | 340 | ||
| 332 | |||
| 333 | ## lastfile must follow all files whose initialized data areas should | 341 | ## lastfile must follow all files whose initialized data areas should |
| 334 | ## be dumped as pure by dump-emacs. | 342 | ## be dumped as pure by dump-emacs. |
| 335 | base_obj = dispnew.o frame.o scroll.o xdisp.o menu.o $(XMENU_OBJ) window.o \ | 343 | base_obj = dispnew.o frame.o scroll.o xdisp.o menu.o $(XMENU_OBJ) window.o \ |
| @@ -463,9 +471,11 @@ $(obj) $(otherobj): globals.h | |||
| 463 | $(lib)/libgnu.a: $(config_h) | 471 | $(lib)/libgnu.a: $(config_h) |
| 464 | cd $(lib) && $(MAKE) libgnu.a | 472 | cd $(lib) && $(MAKE) libgnu.a |
| 465 | 473 | ||
| 466 | temacs$(EXEEXT): $(START_FILES) stamp-oldxmenu $(obj) $(otherobj) $(lib)/libgnu.a | 474 | temacs$(EXEEXT): $(START_FILES) stamp-oldxmenu $(obj) $(otherobj) \ |
| 475 | $(lib)/libgnu.a $(W32_RES) | ||
| 467 | $(CC) $(LD_FIRSTFLAG) $(ALL_CFLAGS) $(TEMACS_LDFLAGS) $(TEMACS_LDFLAGS2) \ | 476 | $(CC) $(LD_FIRSTFLAG) $(ALL_CFLAGS) $(TEMACS_LDFLAGS) $(TEMACS_LDFLAGS2) \ |
| 468 | -o temacs $(START_FILES) $(obj) $(otherobj) $(lib)/libgnu.a $(LIBES) | 477 | -o temacs $(START_FILES) $(obj) $(otherobj) $(lib)/libgnu.a $(LIBES) \ |
| 478 | $(W32_RES_LINK) | ||
| 469 | test "$(CANNOT_DUMP)" = "yes" || \ | 479 | test "$(CANNOT_DUMP)" = "yes" || \ |
| 470 | test "X$(PAXCTL)" = X || $(PAXCTL) -r temacs$(EXEEXT) | 480 | test "X$(PAXCTL)" = X || $(PAXCTL) -r temacs$(EXEEXT) |
| 471 | 481 | ||
| @@ -506,11 +516,14 @@ $(OLDXMENU): $(OLDXMENU_TARGET) | |||
| 506 | 516 | ||
| 507 | doc.o: buildobj.h | 517 | doc.o: buildobj.h |
| 508 | 518 | ||
| 519 | emacs.res: $(ntsource)/emacs.rc \ | ||
| 520 | $(ntsource)/icons/emacs.ico \ | ||
| 521 | $(ntsource)/emacs-x86.manifest | ||
| 522 | $(WINDRES) -O COFF -o $@ $(ntsource)/emacs.rc | ||
| 509 | 523 | ||
| 510 | ns-app: emacs$(EXEEXT) | 524 | ns-app: emacs$(EXEEXT) |
| 511 | cd ../nextstep && $(MAKE) $(MFLAGS) all | 525 | cd ../nextstep && $(MAKE) $(MFLAGS) all |
| 512 | 526 | ||
| 513 | |||
| 514 | .PHONY: mostlyclean clean bootstrap-clean distclean maintainer-clean | 527 | .PHONY: mostlyclean clean bootstrap-clean distclean maintainer-clean |
| 515 | .PHONY: versionclean extraclean frc | 528 | .PHONY: versionclean extraclean frc |
| 516 | 529 | ||