summaryrefslogtreecommitdiff
path: root/svg/svg_msvc.mak
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2010-01-07 10:53:36 +0000
committerRobin Watts <robin.watts@artifex.com>2010-01-07 10:53:36 +0000
commita4e3c0888481263968f48b63d8dfe30acf5ff462 (patch)
tree756d81dd83ea1ca7bf64c4a064fffac4993d839b /svg/svg_msvc.mak
parent5b40130739a5927ece1b3d74b3f28306b79a0253 (diff)
Changes to the MSVC makefiles to prepare for the prototype vs2005 solution
file. Firstly, we introduce an SBR symbol; if this is set when invoking the makefile, we add a new flag to the C compiler (held in SBRFLAGS) to cause the generation of the browse data for each source file. Next, we introduce a new bsc build target to combine those .sbr files into appropriate .bsc ones. The final change is enable debug builds to put their builds into debugobj rather than obj directories. With luck, this should cause no differences for anyone other than me. git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@10592 a1074d23-0009-0410-80fe-cf8c14f379e6
Diffstat (limited to 'svg/svg_msvc.mak')
-rw-r--r--svg/svg_msvc.mak8
1 files changed, 8 insertions, 0 deletions
diff --git a/svg/svg_msvc.mak b/svg/svg_msvc.mak
index 62bfd7c39..e7108a61a 100644
--- a/svg/svg_msvc.mak
+++ b/svg/svg_msvc.mak
@@ -28,8 +28,12 @@ PL_SCALER=afs
# The build process will put all of its output in this directory:
# GENDIR is defined in the 'base' makefile, but we need its value immediately
!ifndef GENDIR
+!if "$(DEBUG)"=="1"
+GENDIR=.\debugobj
+!else
GENDIR=.\obj
!endif
+!endif
# The sources are taken from these directories:
!ifndef MAINSRCDIR
@@ -127,6 +131,10 @@ EXPATOBJDIR=$(GENDIR)
TARGET_XE=$(GENDIR)\gsvg
!endif
+!ifndef BSCFILE
+BSCFILE=$(GENDIR)\svg.bsc
+!endif
+
# Main file's name
# this is already in pcl6_gcc.mak
#SVG_TOP_OBJ=$(SVGOBJDIR)\svgtop.$(OBJ)