changeset 74252:efa83b1588ba

(TRES): New macro (copied from nt/makefile.w32-in). ($(TRES)): New rule (copied from nt/makefile.w32-in). ($(BLD)/emacsclientw.exe): Add dependency.
author Juanma Barranquero <lekktu@gmail.com>
date Mon, 27 Nov 2006 15:59:19 +0000
parents 88beb338a4cc
children 6d9077dbc31a
files lib-src/makefile.w32-in
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lib-src/makefile.w32-in	Mon Nov 27 15:41:52 2006 +0000
+++ b/lib-src/makefile.w32-in	Mon Nov 27 15:59:19 2006 +0000
@@ -75,14 +75,18 @@
 		$(BLD)/getopt.$(O) \
 		$(BLD)/getopt1.$(O) \
 		$(BLD)/ntlib.$(O)
+TRES =		../nt/$(BLD)/emacs.res
+
+$(TRES):	../nt/emacs.rc
+		$(RC) $(RC_OUT)../nt/$(BLD)/emacs.res $(ALL_DEPS)
 
 $(BLD)/emacsclient.exe:		$(ECLIENTOBJS)
 # put wsock32.lib before $(LIBS) to ensure we don't link to ws2_32.lib
 		$(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(ECLIENTOBJS) $(WSOCK32) $(LIBS)
 
-$(BLD)/emacsclientw.exe:	$(ECLIENTOBJS)
+$(BLD)/emacsclientw.exe:	$(ECLIENTOBJS) $(TRES)
 # put wsock32.lib before $(LIBS) to ensure we don't link to ws2_32.lib
-		$(LINK) $(LINK_OUT)$@ -mwindows $(LINK_FLAGS) $(ECLIENTOBJS) $(WSOCK32) $(LIBS)
+		$(LINK) $(LINK_OUT)$@ $(TRES) -mwindows $(LINK_FLAGS) $(ECLIENTOBJS) $(WSOCK32) $(LIBS)
 
 # emacsclient.$(O) depends on makefile.w32-in because makefile.w32-in
 # can be edited to define VERSION string, which is part of ECLIENT_CFLAGS.