summaryrefslogtreecommitdiff
path: root/xps/xps_gcc.mak
diff options
context:
space:
mode:
Diffstat (limited to 'xps/xps_gcc.mak')
-rw-r--r--xps/xps_gcc.mak69
1 files changed, 69 insertions, 0 deletions
diff --git a/xps/xps_gcc.mak b/xps/xps_gcc.mak
new file mode 100644
index 000000000..60583b09c
--- /dev/null
+++ b/xps/xps_gcc.mak
@@ -0,0 +1,69 @@
+# The "?=" style of this makefile is designed to facilitate "deriving"
+# your own make file from it by setting your own custom options, then include'ing
+# this file. In its current form, this file will compile using default options
+# and locations. It is recommended that you make any modifications to settings
+# in this file by creating your own makefile which includes this one.
+#
+# This file only defines the portions of the makefile that are different
+# between the present language switcher vs. the standard pcl6 makefile which
+# is included near the bottom. All other settings default to the base makefile.
+
+# Define the name of this makefile.
+MAKEFILE+= ../xps/xps_gcc.mak
+
+# Include XPS support
+XPS_INCLUDED?=TRUE
+
+# Font scaler
+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
+GENDIR?=./obj
+
+# The sources are taken from these directories:
+MAINSRCDIR?=../main
+PSSRCDIR?=../gs/src
+XPSSRCDIR?=../xps
+PSLIBDIR?=../gs/lib
+ICCSRCDIR?=../gs/icclib
+PNGSRCDIR?=../gs/libpng
+EXPATSRCDIR?=../gs/expat
+
+SHARE_EXPAT?=0
+EXPAT_CFLAGS=-DHAVE_MEMMOVE
+
+# PLPLATFORM indicates should be set to 'ps' for language switch
+# builds and null otherwise.
+PLPLATFORM?=
+
+# If you want to build the individual packages in their own directories,
+# you can define this here, although normally you won't need to do this:
+GLGENDIR?=$(GENDIR)
+GLOBJDIR?=$(GENDIR)
+PSGENDIR?=$(GENDIR)
+PSOBJDIR?=$(GENDIR)
+JGENDIR?=$(GENDIR)
+JOBJDIR?=$(GENDIR)
+ZGENDIR?=$(GENDIR)
+ZOBJDIR?=$(GENDIR)
+EXPATGENDIR?=$(GENDIR)
+EXPATOBJDIR?=$(GENDIR)
+
+# Executable path\name w/o the .EXE extension
+TARGET_DEVS=$(XPSOBJDIR)/xps.dev
+TARGET_XE?=$(GENDIR)/gxps
+
+# Main file's name
+# this is already in pcl6_gcc.mak
+XPS_TOP_OBJ?=$(XPSOBJDIR)/xpstop.$(OBJ)
+TOP_OBJ?=$(XPS_TOP_OBJ)
+
+PDL_INCLUDE_FLAGS?=-DXPS_INCLUDED
+
+include $(MAINSRCDIR)/pcl6_gcc.mak
+
+# Subsystems
+# this is already in pcl6_gcc.mak
+include $(XPSSRCDIR)/xps.mak
+include $(PSSRCDIR)/expat.mak