diff nt/xemacs.mak @ 304:c6de09ad3017 r21-0b50

Import from CVS: tag r21-0b50
author cvs
date Mon, 13 Aug 2007 10:41:12 +0200
parents 70ad99077275
children 33bdb3d4b97f
line wrap: on
line diff
--- a/nt/xemacs.mak	Mon Aug 13 10:40:50 2007 +0200
+++ b/nt/xemacs.mak	Mon Aug 13 10:41:12 2007 +0200
@@ -26,6 +26,7 @@
 
 XEMACS=..
 LISP=$(XEMACS)\lisp
+NT=$(XEMACS)\nt
 
 # Program name and version
 
@@ -357,7 +358,7 @@
 {$(LIB_SRC)}.c{$(LIB_SRC)}.exe :
 	@cd $(LIB_SRC)
 	$(CCV) -I. -I$(XEMACS)/src -I$(XEMACS)/nt/inc $(LIB_SRC_DEFINES) -O2 -W3 -Fe$@ $**
-	@cd $(XEMACS)\nt
+	@cd $(NT)
 
 # Individual dependencies
 ETAGS_DEPS = $(LIB_SRC)/getopt.c $(LIB_SRC)/getopt1.c $(LIB_SRC)/../src/regex.c
@@ -377,7 +378,6 @@
 
 # runemacs proglet
 
-NT = $(XEMACS)\nt
 RUNEMACS = $(XEMACS)\src\runemacs.exe
 
 $(RUNEMACS): $(NT)\runemacs.c $(NT)\xemacs.res
@@ -783,7 +783,7 @@
 	$(OUTDIR)\vm-limit.obj \
 	$(OUTDIR)\widget.obj \
 	$(OUTDIR)\window.obj \
-	xemacs.res
+	$(NT)\xemacs.res
 
 # Rules
 
@@ -813,7 +813,7 @@
   $(TEMACS_LFLAGS) $(TEMACS_OBJS) $(TEMACS_LIBS)
 <<
 
-xemacs.res: xemacs.rc
+$(NT)\xemacs.res: xemacs.rc
 	rc xemacs.rc
 
 # MSDEV Source Broswer file. "*.sbr" is too inclusive but this is harmless
@@ -855,7 +855,7 @@
 	cd $(TEMACS_DIR)
 	set EMACSBOOTSTRAPLOADPATH=$(LISP)
 	-1 $(TEMACS) -batch -l $(TEMACS_DIR)\..\lisp\loadup.el dump
-	cd $(XEMACS)\nt
+	@cd $(NT)
 	@if not exist $(TEMACS_DIR)\SATISFIED nmake -nologo -f xemacs.mak $@
 
 #------------------------------------------------------------------------------