--- gs6.01/src/unix-gcc.mak.orig Thu Oct 4 06:02:02 2001 +++ gs6.01/src/unix-gcc.mak Thu Oct 4 06:04:23 2001 @@ -60,7 +60,7 @@ exec_prefix = $(prefix) bindir = $(exec_prefix)/bin scriptdir = $(bindir) -mandir = $(prefix)/man +mandir = $(prefix)/share/man man1ext = 1 man1dir = $(mandir)/man$(man1ext) datadir = $(prefix)/share @@ -128,7 +128,7 @@ # You may need to change this if the IJG library version changes. # See jpeg.mak for more information. -JSRCDIR=jpeg +JSRCDIR=../jpeg-6b JVERSION=6 # Choose whether to use a shared version of the IJG JPEG library (-ljpeg). @@ -153,7 +153,7 @@ # what its name is. # See gs.mak and Make.htm for more information. -SHARE_LIBPNG=0 +SHARE_LIBPNG=1 LIBPNG_NAME=png # Define the directory where the zlib sources are stored. @@ -165,7 +165,7 @@ # what its name is (usually libz, but sometimes libgz). # See gs.mak and Make.htm for more information. -SHARE_ZLIB=0 +SHARE_ZLIB=1 #ZLIB_NAME=gz ZLIB_NAME=z @@ -192,7 +192,7 @@ # the 2.7.0-2.7.2 optimizer bug, either "-Dconst=" or # "-Wcast-qual -Wwrite-strings" is automatically included. -GCFLAGS=-Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wtraditional -fno-builtin -fno-common +GCFLAGS=-Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wtraditional -fno-builtin -fno-common -no-cpp-precomp -I$(prefix)/include # Define the added flags for standard, debugging, and profiling builds. @@ -222,7 +222,7 @@ # -R /usr/local/xxx/lib:/usr/local/lib # giving the full path names of the shared library directories. # XLDFLAGS can be set from the command line. -XLDFLAGS= +XLDFLAGS= -L$(prefix)/lib LDFLAGS=$(XLDFLAGS) -fno-common @@ -252,7 +252,7 @@ # Note that x_.h expects to find the header files in $(XINCLUDE)/X11, # not in $(XINCLUDE). -XINCLUDE=-I/usr/local/X/include +XINCLUDE=-I/usr/X11R6/include # Define the directory/ies and library names for the X11 library files. # XLIBDIRS is for ld and should include -L; XLIBDIR is for LD_RUN_PATH @@ -267,9 +267,9 @@ #XLIBS=Xt SM ICE Xext X11 #XLIBDIRS=-L/usr/local/X/lib -XLIBDIRS=-L/usr/X11/lib +XLIBDIRS=-L/usr/X11R6/lib XLIBDIR= -XLIBS=Xt Xext X11 +XLIBS=Xt SM ICE Xext X11 # Define whether this platform has floating point hardware: # FPU_TYPE=2 means floating point is faster than fixed point. @@ -327,7 +327,7 @@ # Choose the device(s) to include. See devs.mak for details, # devs.mak and contrib.mak for the list of available devices. -DEVICE_DEVS=$(DD)x11.dev $(DD)x11alpha.dev $(DD)x11cmyk.dev $(DD)x11gray2.dev $(DD)x11gray4.dev $(DD)x11mono.dev +DEVICE_DEVS= #DEVICE_DEVS1= #DEVICE_DEVS2=