Actually, the rule for puresize-adjust.h copies it into $(XEMACS)/src.
Applying the following patch got things to finish for me.
-lipp
Index: xemacs.mak
===================================================================
RCS file: /usr/CVSroot/XEmacs/xemacs/nt/xemacs.mak,v
retrieving revision 1.41.2.7
diff -u -r1.41.2.7 xemacs.mak
--- xemacs.mak 1998/12/10 00:04:42 1.41.2.7
+++ xemacs.mak 1998/12/10 07:56:02
@@ -939,6 +939,8 @@
$(OUTDIR)\TransientEmacsShell.obj: $(TEMACS_SRC)\EmacsShell-sub.c
$(CCV) $(TEMACS_FLAGS) -DDEFINE_TRANSIENT_EMACS_SHELL $** -Fo$@
+$(OUTDIR)\alloc.obj: $(TEMACS_SRC)\alloc.c
$(TEMACS_SRC)\puresize-adjust.h
+
#$(TEMACS_SRC)\Emacs.ad.h: $(XEMACS)\etc\Emacs.ad
# !"sed -f ad2c.sed < $(XEMACS)\etc\Emacs.ad >
$(TEMACS_SRC)\Emacs.ad.h"
-----Original Message-----
From: Martin Buchholz [mailto:martin@xemacs.org]
Sent: Wednesday, December 09, 1998 3:37 PM
To: Adrian Aichner
Cc: XEmacs NT List; XEmacs Beta List
Subject: Re: [Infinite Joy] XEmacs 21.2-b5 "Aphrodite", i386-pc-win32
>>>> "APA" == Adrian Aichner
<aichner(a)ecf.teradyne.com> writes:
>>>> "Adrian" == Adrian Aichner
<aichner(a)ecf.teradyne.com> writes:
Adrian> As we all know: To iterate is
human...
Adrian> Well, the native build process didn't get divine, thanks God :-)
Adrian> The pure space adjustment under Windows NT native build causes
Adrian> infinite iteration.
Adrian> I haven't analy[sz]ed yet.
APA> Here is the first hint.
APA> After umpf-teen iterations my puresize-adjust.h contains this:
Here's a hint for you:
purespace used to be defined in pure.c and is now back in alloc.c.
Since previously pure.obj needed to get rebuilt, now it should be
alloc.obj instead.
Part of my patch for nt/xemacs.mak was this deletion:
@@ -876,8 +874,6 @@
$(OUTDIR)\TransientEmacsShell.obj: $(TEMACS_SRC)\EmacsShell-sub.c
$(CCV) $(TEMACS_FLAGS) -DDEFINE_TRANSIENT_EMACS_SHELL $** -Fo$@
-
-$(OUTDIR)\pure.obj: $(TEMACS_SRC)\pure.c
$(TEMACS_SRC)\puresize-adjust.h
#$(TEMACS_SRC)\Emacs.ad.h: $(XEMACS)\etc\Emacs.ad
# !"sed -f ad2c.sed < $(XEMACS)\etc\Emacs.ad >
$(TEMACS_SRC)\Emacs.ad.h"
Try adding back a dependency like this:
$(OUTDIR)\alloc.obj: $(TEMACS_SRC)\alloc.c
$(TEMACS_SRC)\puresize-adjust.h
although, come to think of it, that also looks like it was always
wrong, since puresize-adjust.h is a generated file:
$(OUTDIR)\alloc.obj: $(TEMACS_SRC)\alloc.c $(OUTDIR)\puresize-adjust.h
I don't suppose anyone has ever done a native Windows --srcdir=...
build?
The native Windows build doesn't seem to have accurate dependencies.
Perhaps someone could take src/depend and munge it to create an NT
compatible version of that.
One could go further and modify src/make-src-depend to generate two
output files, one suitable for Unix, one for native Windows.
Martin