aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile.in
diff options
context:
space:
mode:
authorDaniel Colascione2012-12-10 09:52:35 -0800
committerDaniel Colascione2012-12-10 09:52:35 -0800
commit743fa5cbdd42a820c4320599a14aab925dcdbc8b (patch)
tree7c330bf115347bbb0fa87b59f88c87a50745d432 /src/Makefile.in
parent98a07056558be8c13945a3a99b4801996af685a4 (diff)
parent1cf1bbd51e91f02a1d3fabb4f7ea4b1322c4259c (diff)
downloademacs-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.in21
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.
30srcdir = @srcdir@ 30srcdir = @srcdir@
31ntsource = $(srcdir)/../nt
31abs_builddir = @abs_builddir@ 32abs_builddir = @abs_builddir@
32VPATH = $(srcdir) 33VPATH = $(srcdir)
33CC = @CC@ 34CC = @CC@
35WINDRES = @WINDRES@
34CFLAGS = @CFLAGS@ 36CFLAGS = @CFLAGS@
35CPPFLAGS = @CPPFLAGS@ 37CPPFLAGS = @CPPFLAGS@
36LDFLAGS = @LDFLAGS@ 38LDFLAGS = @LDFLAGS@
@@ -267,6 +269,13 @@ W32_OBJ=@W32_OBJ@
267## --lwinspool if HAVE_W32, else empty. 269## --lwinspool if HAVE_W32, else empty.
268W32_LIBS=@W32_LIBS@ 270W32_LIBS=@W32_LIBS@
269 271
272## emacs.res if HAVE_W32
273W32_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
277W32_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.
335base_obj = dispnew.o frame.o scroll.o xdisp.o menu.o $(XMENU_OBJ) window.o \ 343base_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
466temacs$(EXEEXT): $(START_FILES) stamp-oldxmenu $(obj) $(otherobj) $(lib)/libgnu.a 474temacs$(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
507doc.o: buildobj.h 517doc.o: buildobj.h
508 518
519emacs.res: $(ntsource)/emacs.rc \
520 $(ntsource)/icons/emacs.ico \
521 $(ntsource)/emacs-x86.manifest
522 $(WINDRES) -O COFF -o $@ $(ntsource)/emacs.rc
509 523
510ns-app: emacs$(EXEEXT) 524ns-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