diff nt/xemacs.mak @ 3092:141c2920ea48

[xemacs-hg @ 2005-11-25 01:41:31 by crestani] Incremental Garbage Collector
author crestani
date Fri, 25 Nov 2005 01:42:08 +0000
parents f4a678ca6f3d
children d674024a8674
line wrap: on
line diff
--- a/nt/xemacs.mak	Thu Nov 24 22:51:25 2005 +0000
+++ b/nt/xemacs.mak	Fri Nov 25 01:42:08 2005 +0000
@@ -218,6 +218,9 @@
 !if !defined(MC_ALLOC)
 MC_ALLOC=0
 !endif
+!if !defined(NEW_GC)
+NEW_GC=0
+!endif
 !if !defined(USE_UNION_TYPE)
 USE_UNION_TYPE=0
 !endif
@@ -639,9 +642,17 @@
 OPT_OBJS=$(OPT_OBJS) $(OUTDIR)\unexnt.obj
 !endif
 
+!if $(NEW_GC)
+OPT_DEFINES=$(OPT_DEFINES) -DNEW_GC
+OPT_OBJS=$(OPT_OBJS) $(OUTDIR)\vdb.obj $(OUTDIR)\vdb-win32.obj
+USE_KKCC=1
+MC_ALLOC=1
+!endif
+
 !if $(USE_KKCC)
 OPT_DEFINES=$(OPT_DEFINES) -DUSE_KKCC
 !endif
+
 !if $(MC_ALLOC)
 OPT_DEFINES=$(OPT_DEFINES) -DMC_ALLOC
 OPT_OBJS=$(OPT_OBJS) $(OUTDIR)\mc-alloc.obj
@@ -848,6 +859,7 @@
 	$(OUTDIR)\fns.obj \
 	$(OUTDIR)\font-lock.obj \
 	$(OUTDIR)\frame.obj \
+	$(OUTDIR)\gc.obj \
 	$(OUTDIR)\general.obj \
 	$(OUTDIR)\getloadavg.obj \
 	$(OUTDIR)\glyphs.obj \
@@ -1259,6 +1271,9 @@
 !if $(MC_ALLOC)
   Using new experimental allocator.
 !endif
+!if $(NEW_GC)
+  Using new experimental incremental garbage collector.
+!endif
 <<NOKEEP
 	@echo --------------------------------------------------------------------
 	@type $(BLDROOT)\Installation