From e70374db44db0e7db84502deb0ea34d11f6523df Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Thu, 29 Oct 2009 14:59:16 +0000 Subject: Implement a random file access mode for the XPS parser that uses less memory. To enable this mode, set the XPS_ZIP_SEEK environment variable which will cause the interpreter to spool the data to a temp file and then run the parser in the new mode. This is going to change in a later patch to plmain that will enable the interpreters to directly access the job files. git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@10243 a1074d23-0009-0410-80fe-cf8c14f379e6 --- xps/xps.mak | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'xps/xps.mak') diff --git a/xps/xps.mak b/xps/xps.mak index a93d4eee3..8cb71b4cc 100644 --- a/xps/xps.mak +++ b/xps/xps.mak @@ -64,6 +64,9 @@ $(XPSOBJ)xpshdp.$(OBJ): $(XPSSRC)xpshdp.c $(XPSINCLUDES) $(XPSOBJ)xpszip.$(OBJ): $(XPSSRC)xpszip.c $(XPSINCLUDES) $(XPSCCC) $(XPSSRC)xpszip.c $(XPSO_)xpszip.$(OBJ) +$(XPSOBJ)xpszipseek.$(OBJ): $(XPSSRC)xpszipseek.c $(XPSINCLUDES) + $(XPSCCC) $(XPSSRC)xpszipseek.c $(XPSO_)xpszipseek.$(OBJ) + $(XPSOBJ)xpsxml.$(OBJ): $(XPSSRC)xpsxml.c $(XPSINCLUDES) $(XPSCCC) $(XPSSRC)xpsxml.c $(XPSO_)xpsxml.$(OBJ) @@ -130,6 +133,7 @@ XPS_OBJS=\ $(XPSOBJ)xpstiff.$(OBJ) \ $(XPSOBJ)xpshdp.$(OBJ) \ $(XPSOBJ)xpszip.$(OBJ) \ + $(XPSOBJ)xpszipseek.$(OBJ) \ $(XPSOBJ)xpsxml.$(OBJ) \ $(XPSOBJ)xpsdoc.$(OBJ) \ $(XPSOBJ)xpspage.$(OBJ) \ -- cgit v1.2.1