diff options
| author | Daniel Colascione | 2012-12-09 23:11:21 -0800 |
|---|---|---|
| committer | Daniel Colascione | 2012-12-09 23:11:21 -0800 |
| commit | 1cf1bbd51e91f02a1d3fabb4f7ea4b1322c4259c (patch) | |
| tree | 6a1f7358551d0ce22522ba9dbf816a75a0321bec /src/Makefile.in | |
| parent | f433306af510e86a614e9f9f082b6d2d5f56a968 (diff) | |
| download | emacs-1cf1bbd51e91f02a1d3fabb4f7ea4b1322c4259c.tar.gz emacs-1cf1bbd51e91f02a1d3fabb4f7ea4b1322c4259c.zip | |
Compile Windows resources into cygw32 Emacs
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 c24e421bbbc..75624dc0631 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@ |
| @@ -266,6 +268,13 @@ W32_OBJ=@W32_OBJ@ | |||
| 266 | ## --lwinspool if HAVE_W32, else empty. | 268 | ## --lwinspool if HAVE_W32, else empty. |
| 267 | W32_LIBS=@W32_LIBS@ | 269 | W32_LIBS=@W32_LIBS@ |
| 268 | 270 | ||
| 271 | ## emacs.res if HAVE_W32 | ||
| 272 | W32_RES=@W32_RES@ | ||
| 273 | ## If HAVE_W32, compiler arguments for including | ||
| 274 | ## the resource file in the binary. | ||
| 275 | ## XXX -Wl,-b -Wl,pe-i386 -Wl,emacs.res | ||
| 276 | W32_RES_LINK=@W32_RES_LINK@ | ||
| 277 | |||
| 269 | ## Empty if !HAVE_X_WINDOWS | 278 | ## Empty if !HAVE_X_WINDOWS |
| 270 | ## xfont.o ftfont.o xftfont.o ftxfont.o if HAVE_XFT | 279 | ## xfont.o ftfont.o xftfont.o ftxfont.o if HAVE_XFT |
| 271 | ## xfont.o ftfont.o ftxfont.o if HAVE_FREETYPE | 280 | ## xfont.o ftfont.o ftxfont.o if HAVE_FREETYPE |
| @@ -328,7 +337,6 @@ ALL_OBJC_CFLAGS=$(ALL_CFLAGS) $(GNU_OBJC_CFLAGS) | |||
| 328 | @$(MKDEPDIR) | 337 | @$(MKDEPDIR) |
| 329 | $(CC) -c $(CPPFLAGS) $(ALL_OBJC_CFLAGS) $< | 338 | $(CC) -c $(CPPFLAGS) $(ALL_OBJC_CFLAGS) $< |
| 330 | 339 | ||
| 331 | |||
| 332 | ## lastfile must follow all files whose initialized data areas should | 340 | ## lastfile must follow all files whose initialized data areas should |
| 333 | ## be dumped as pure by dump-emacs. | 341 | ## be dumped as pure by dump-emacs. |
| 334 | base_obj = dispnew.o frame.o scroll.o xdisp.o menu.o $(XMENU_OBJ) window.o \ | 342 | base_obj = dispnew.o frame.o scroll.o xdisp.o menu.o $(XMENU_OBJ) window.o \ |
| @@ -462,9 +470,11 @@ $(obj) $(otherobj): globals.h | |||
| 462 | $(lib)/libgnu.a: $(config_h) | 470 | $(lib)/libgnu.a: $(config_h) |
| 463 | cd $(lib) && $(MAKE) libgnu.a | 471 | cd $(lib) && $(MAKE) libgnu.a |
| 464 | 472 | ||
| 465 | temacs$(EXEEXT): $(START_FILES) stamp-oldxmenu $(obj) $(otherobj) $(lib)/libgnu.a | 473 | temacs$(EXEEXT): $(START_FILES) stamp-oldxmenu $(obj) $(otherobj) \ |
| 474 | $(lib)/libgnu.a $(W32_RES) | ||
| 466 | $(CC) $(LD_FIRSTFLAG) $(ALL_CFLAGS) $(TEMACS_LDFLAGS) $(TEMACS_LDFLAGS2) \ | 475 | $(CC) $(LD_FIRSTFLAG) $(ALL_CFLAGS) $(TEMACS_LDFLAGS) $(TEMACS_LDFLAGS2) \ |
| 467 | -o temacs $(START_FILES) $(obj) $(otherobj) $(lib)/libgnu.a $(LIBES) | 476 | -o temacs $(START_FILES) $(obj) $(otherobj) $(lib)/libgnu.a $(LIBES) \ |
| 477 | $(W32_RES_LINK) | ||
| 468 | test "$(CANNOT_DUMP)" = "yes" || \ | 478 | test "$(CANNOT_DUMP)" = "yes" || \ |
| 469 | test "X$(PAXCTL)" = X || $(PAXCTL) -r temacs$(EXEEXT) | 479 | test "X$(PAXCTL)" = X || $(PAXCTL) -r temacs$(EXEEXT) |
| 470 | 480 | ||
| @@ -505,11 +515,14 @@ $(OLDXMENU): $(OLDXMENU_TARGET) | |||
| 505 | 515 | ||
| 506 | doc.o: buildobj.h | 516 | doc.o: buildobj.h |
| 507 | 517 | ||
| 518 | emacs.res: $(ntsource)/emacs.rc \ | ||
| 519 | $(ntsource)/icons/emacs.ico \ | ||
| 520 | $(ntsource)/emacs-x86.manifest | ||
| 521 | $(WINDRES) -O COFF -o $@ $(ntsource)/emacs.rc | ||
| 508 | 522 | ||
| 509 | ns-app: emacs$(EXEEXT) | 523 | ns-app: emacs$(EXEEXT) |
| 510 | cd ../nextstep && $(MAKE) $(MFLAGS) all | 524 | cd ../nextstep && $(MAKE) $(MFLAGS) all |
| 511 | 525 | ||
| 512 | |||
| 513 | .PHONY: mostlyclean clean bootstrap-clean distclean maintainer-clean | 526 | .PHONY: mostlyclean clean bootstrap-clean distclean maintainer-clean |
| 514 | .PHONY: versionclean extraclean frc | 527 | .PHONY: versionclean extraclean frc |
| 515 | 528 | ||