# Copyright (C) 1989, 1992 Aladdin Enterprises. All rights reserved.
# Distributed by Free Software Foundation, Inc.
# This file is part of Ghostscript.
# Ghostscript is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY. No author or distributor accepts responsibility
# to anyone for the consequences of using it or for whether it serves any
# particular purpose or works at all, unless he says so in writing. Refer
# to the Ghostscript General Public License for full details.
# Everyone is granted permission to copy, modify and redistribute
# Ghostscript, but only under the conditions described in the Ghostscript
# General Public License. A copy of this license is supposed to have been
# given to you along with Ghostscript so you can know your rights and
# responsibilities. It should be in a file named COPYING. Among other
# things, the copyright notice and this notice must be preserved on all
# makefile for Ghostscript, Unix/cc/X11 configuration.
# ------------------------------- Options ------------------------------- #
####### The following are the only parts of the file you should need to edit.
# ------ Generic options ------ #
# Define the default directory/ies for the runtime
# initialization and font files. Separate multiple directories with a :.
# `pwd` means use the directory in which the 'make' is being done.
GS_LIB_DEFAULT
=`pwd`:`pwd`/fonts
# Define the name of the Ghostscript initialization file.
# (There is no reason to change this.)
# Choose generic configuration options.
# includes debugging features (-Z switch) in the code.
# Code runs substantially slower even if no debugging switches
# makes private (static) procedures and variables public,
# so they are visible to the debugger and profiler.
# No execution time or space penalty.
# ------ Platform-specific options ------ #
# Define the other compilation flags.
# Add -DBSD4_2 for 4.2bsd systems.
# Add -DSYSV for System V.
# Add -DSYSV -D__SVR3 for SCO ODT, ISC Unix 2.2 or before,
# or any System III Unix, or System V release 3-or-older Unix.
# Add -DSVR4 (not -DSYSV) for System V release 4.
# XCFLAGS can be set from the command line.
# Define platform flags for ld.
# SunOS and some others want -X; Ultrix wants -x.
# SunOS 4.n may need -Bstatic.
# XLDFLAGS can be set from the command line.
# Define any extra libraries to link into the executable.
# ISC Unix 2.2 wants -linet.
# (Libraries required by individual drivers are handled automatically.)
# Define the include switch(es) for the X11 header files.
# This can be null if handled in some other way (e.g., the files are
# in /usr/include, or the directory is supplied by an environment variable).
XINCLUDE
=-I
/usr
/local
/X
/include
# Define the directory/ies for the X11 library files.
# This can be null if these files are in the default linker search path.
XLIBDIRS
=-L
/usr
/local
/X
/lib
# Define the installation commands and target directories for
# executables and files. Only relevant to `make install'.
INSTALL_PROGRAM
= $(INSTALL
) -m
775
INSTALL_DATA
= $(INSTALL
) -m
664
libdir = $(prefix)/lib
/ghostscript
# ------ Devices and features ------ #
# Choose the language feature(s) to include. See gs.mak for details.
FEATURE_DEVS
=filter.dev dps.dev level2.dev
# Choose the device(s) to include. See devs.mak for details.
# ---------------------------- End of options --------------------------- #
# Define the name of the makefile -- used in dependencies.
# Define the ANSI-to-K&R dependency.
# Define the compilation rules and flags.
CCC
=.
/ccgs
"$(CC) $(CCFLAGS)"
# --------------------------- Generic makefile ---------------------------- #
# The remainder of the makefile (unixhead.mak, gs.mak, devs.mak, unixtail.mak)
# is generic. tar_cat concatenates all these together.