summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorRobin Watts <Robin.Watts@artifex.com>2011-06-22 21:39:01 +0100
committerRobin Watts <Robin.Watts@artifex.com>2011-06-23 18:17:02 +0100
commitca0f4ff4a0df386dd4d494a418f09336d06c2451 (patch)
tree8586179f4a094320e2196a7502ede3d51e29e5a2 /main
parent3b3261eca08cd73ca355b28fe5125c98d411820d (diff)
Cross compilation (AUX) changes to ghostscript and ghostpdl.
Introduce a new 'aux' directory and appropriate defines to allow easier cross-compilation of gs/ghostpdl.
Diffstat (limited to 'main')
-rw-r--r--main/pcl6_gcc.mak2
-rw-r--r--main/pcl6_msvc.mak8
2 files changed, 10 insertions, 0 deletions
diff --git a/main/pcl6_gcc.mak b/main/pcl6_gcc.mak
index 52c8719f3..e2d45ac58 100644
--- a/main/pcl6_gcc.mak
+++ b/main/pcl6_gcc.mak
@@ -30,6 +30,7 @@ XCFLAGS?=
# The build process will put all of its output in this directory
GENDIR?=./obj
+AUXDIR?=./aux
PGGENDIR?=./pgobj
# The sources are taken from these directories:
@@ -46,6 +47,7 @@ PSSRCDIR?=../gs/psi
ZSRCDIR?=../gs/zlib
ZGENDIR?=$(GENDIR)
ZOBJDIR?=$(GENDIR)
+ZAUXDIR?=$(AUXDIR)
SHARE_ZLIB?=0
# Specify the location of libpng.
diff --git a/main/pcl6_msvc.mak b/main/pcl6_msvc.mak
index 8717ff205..669c24895 100644
--- a/main/pcl6_msvc.mak
+++ b/main/pcl6_msvc.mak
@@ -33,6 +33,14 @@ GENDIR=.\obj
!endif
!endif
+!ifndef AUXDIR
+!if "$(DEBUG)"=="1"
+AUXDIR=.\debugaux
+!else
+AUXDIR=.\relaux
+!endif
+!endif
+
# The sources are taken from these directories:
!ifndef GLSRCDIR
GLSRCDIR=..\gs\base