aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile.in
diff options
context:
space:
mode:
authorDaniel Colascione2012-12-09 23:11:21 -0800
committerDaniel Colascione2012-12-09 23:11:21 -0800
commit1cf1bbd51e91f02a1d3fabb4f7ea4b1322c4259c (patch)
tree6a1f7358551d0ce22522ba9dbf816a75a0321bec /src/Makefile.in
parentf433306af510e86a614e9f9f082b6d2d5f56a968 (diff)
downloademacs-1cf1bbd51e91f02a1d3fabb4f7ea4b1322c4259c.tar.gz
emacs-1cf1bbd51e91f02a1d3fabb4f7ea4b1322c4259c.zip
Compile Windows resources into cygw32 Emacs
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 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.
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@
@@ -266,6 +268,13 @@ W32_OBJ=@W32_OBJ@
266## --lwinspool if HAVE_W32, else empty. 268## --lwinspool if HAVE_W32, else empty.
267W32_LIBS=@W32_LIBS@ 269W32_LIBS=@W32_LIBS@
268 270
271## emacs.res if HAVE_W32
272W32_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
276W32_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.
334base_obj = dispnew.o frame.o scroll.o xdisp.o menu.o $(XMENU_OBJ) window.o \ 342base_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
465temacs$(EXEEXT): $(START_FILES) stamp-oldxmenu $(obj) $(otherobj) $(lib)/libgnu.a 473temacs$(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
506doc.o: buildobj.h 516doc.o: buildobj.h
507 517
518emacs.res: $(ntsource)/emacs.rc \
519 $(ntsource)/icons/emacs.ico \
520 $(ntsource)/emacs-x86.manifest
521 $(WINDRES) -O COFF -o $@ $(ntsource)/emacs.rc
508 522
509ns-app: emacs$(EXEEXT) 523ns-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