summaryrefslogtreecommitdiff
path: root/psi
diff options
context:
space:
mode:
authorRobin Watts <Robin.Watts@artifex.com>2011-09-05 15:46:01 +0100
committerRobin Watts <Robin.Watts@artifex.com>2011-09-05 21:35:28 +0100
commitcb5b14133b516323694dcb99c7594337e84d5e3f (patch)
tree5a20061e67b333514e30db848d0d7aaa9425fbff /psi
parent2fab16e3cbf8b2a18aa82c6beee76e261e530b9f (diff)
Add Memento configuration to Visual Studio projects (and gs makefile)
When swapping between memento and non-memento builds, a complete rebuild is required due to the pervasive nature of the memento defines. As such it makes sense to have it as a separate configuration in the project. Memento directories are named 'memobj', 'memobj64', 'membin' etc in keeping with 'debugobj', and 'profobj' etc. Also, take the opportunity to fix a couple of small things in the visual studio files. Firstly, the 64 bit profile build targets were incorrect (weren't setting paths etc). Secondly, we remove the use of nmake /A for the rebuild step, and instead rely on an explicit clean call, then a rebuild; this means we get consistent results for a rebuild compared to a clean then a build. As part of this work, we add logic to the (MSVC) makefiles to detect MEMENTO=1 and PROFILE=1. If set, these change the default DEBUG, TDEBUG and DEBUGSYM flags as appropriate, and change the default output directory names. This keeps the invocations from Visual Studio sane (as I found lots of mistakes in them as I looked through). Also fix some places where we were failing to set and pass on BINDIR/PSOBJDIR resulting in stray directories being created. CLUSTER_UNTESTED
Diffstat (limited to 'psi')
-rw-r--r--psi/psi.mak2
1 files changed, 1 insertions, 1 deletions
diff --git a/psi/psi.mak b/psi/psi.mak
index 656a1aa6f..84c30a020 100644
--- a/psi/psi.mak
+++ b/psi/psi.mak
@@ -1,7 +1,7 @@
# Copyright (C) 1996-2008 Artifex Software Inc. All rights reserved.
# Unauthorized use, copying, and/or distribution prohibited.
-# makefile for PS Inteface (PSI) to Ghostscript PostScript.
+# makefile for PS Interface (PSI) to Ghostscript PostScript.
# Users of this makefile must define the following:
# PSSRCDIR - the PS interpreter source directory
# GLSRCDIR - the GS library source directory