summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorHenry Stiles <henry.stiles@artifex.com>2010-11-10 07:03:33 +0000
committerHenry Stiles <henry.stiles@artifex.com>2010-11-10 07:03:33 +0000
commitb6a92cbdf6c39f983277a8f1921febf3caddb6b2 (patch)
tree552e07ee396167d1ff95fee13f7cb95a4e4731eb /main
parenta0c490531059a06b787778fbd604641a461f45fc (diff)
Neaten up the makefile a bit more and remove obsolete modules,
gsnogc.dev and imdi.dev and add the new sicclib.dev, which apparently was being pulled in by one of the output devices and wasn't explicitly included. git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@11894 a1074d23-0009-0410-80fe-cf8c14f379e6
Diffstat (limited to 'main')
-rw-r--r--main/pcl6_gcc.mak24
1 files changed, 17 insertions, 7 deletions
diff --git a/main/pcl6_gcc.mak b/main/pcl6_gcc.mak
index 32afabed5..fa7754773 100644
--- a/main/pcl6_gcc.mak
+++ b/main/pcl6_gcc.mak
@@ -8,11 +8,19 @@
# Define the name of this makefile.
MAKEFILE+= ../main/pcl6_gcc.mak
+# configuration options freqeuently changed follow.
+
# Pick (uncomment) one font system technology ufst or afs (gs native)
# PL_SCALER?=ufst
PL_SCALER?=afs
-# define if this is a cygwin system.
+# if 1 this will build the x11 devices.
+WANT_X11?=1
+
+# Embed the fonts in the executable.
+BUNDLE_FONTS?=1
+
+# define if this is a cygwin system, we should get rid of this.
CYGWIN?=
# extra cflags
@@ -52,8 +60,6 @@ IMDISRCDIR?=../gs/imdi
# PCL_INCLUDED means PCL + PCL XL
PDL_INCLUDE_FLAGS?=-DPCL_INCLUDED
-# Embed the fonts in the executable.
-BUNDLE_FONTS?=1
# This is constant in PCL, XPS and SVG, do not change it. A ROM file
# system is always needed for the icc profiles.
@@ -206,17 +212,17 @@ DEVICES_DEVS?=$(DD)ljet4.dev $(DD)djet500.dev $(DD)cljet5pr.dev $(DD)cljet5c.dev
$(DD)bmpmono.dev $(DD)bmp16m.dev $(DD)bmpsep8.dev \
$(DD)pbmraw.dev $(DD)pgmraw.dev $(DD)ppmraw.dev \
$(DD)png16m.dev $(DD)pngmono.dev $(DD)jpeg.dev\
- $(DD)wtscmyk.dev $(DD)wtsimdi.dev $(DD)imdi.dev\
+ $(DD)wtscmyk.dev $(DD)wtsimdi.dev\
$(DD)romfs$(COMPILE_INITS).dev
FEATURE_DEVS?=$(DD)colimlib.dev $(DD)dps2lib.dev $(DD)path1lib.dev\
$(DD)patlib.dev $(DD)psl2cs.dev $(DD)rld.dev $(DD)roplib.dev\
$(DD)gxfapiu$(UFST_BRIDGE).dev\
$(DD)ttflib.dev $(DD)cielib.dev $(DD)pipe.dev $(DD)htxlib.dev\
- $(DD)gsnogc.dev $(DD)sdctd.dev $(DD)libpng_$(SHARE_LIBPNG).dev\
+ $(DD)sdctd.dev $(DD)libpng_$(SHARE_LIBPNG).dev\
$(DD)psl3lib.dev $(DD)seprlib.dev $(DD)translib.dev $(DD)psl2lib.dev\
$(DD)cidlib.dev $(DD)psf0lib.dev $(DD)psf1lib.dev $(DD)psf2lib.dev\
- $(DD)lzwd.dev
+ $(DD)lzwd.dev $(DD)sicclib.dev
# cygwin does not have threads at this time, so we don't include the
# thread library
@@ -224,12 +230,16 @@ ifeq ($(CYGWIN), TRUE)
SYNC=nosync
CFLAGS+=-DHAVE_STDINT_H
STDLIBS=-lm
- DEVICE_DEVS?=$(DEVICES_DEVS)
else
SYNC=posync
# some systems may need -ldl as well as pthread
STDLIBS=-lm -lpthread -ldl
+endif
+
+ifeq ($(WANT_X11), 1)
DEVICE_DEVS?=$(DD)x11.dev $(DD)x11alpha.dev $(DD)x11mono.dev $(DD)x11cmyk.dev $(DEVICES_DEVS)
+else
+ DEVICE_DEVS?=$(DEVICES_DEVS)
endif
#miscellaneous