#
# Makefile for dvips. Edit this first part of the file.
# Adapted to TeX-GPC in Aug. 2008.
#
# First, the things that absolutely must be edited for your system.
# Please, don't forget to edit MakeTeXPK in the same way!
# Change to your binary directory.
BINDIR = $(HOME)/bin
# the place man pages are located.
MANDIR = $(HOME)/man/man1
# Change the default resolution to reflect your printer's.
DEFS= -DDEBUG -DDEFRES=600 -DCREATIONDATE
# where TeX is `rooted'. Sometimes /usr/local/lib/tex.
# TEXDIR = /usr/lib/tex
TEXDIR = .
# another place pk, tfm, and vf files might be found.
# LOCALDIR = /LocalLibrary/Fonts/TeXFonts
LOCALDIR = TeXFonts
# the default path to search for TFM files
# (this usually is identical to TeX's defaultfontpath, which omits `.')
# (private fonts are given an explicit directory, which overrides the path)
# overridden by the environment variable TEXFONTS
# TFMPATH = $(LOCALDIR)/tfm:$(TEXDIR)/fonts/tfm
TFMPATH = TeXFonts
# the default path to search for PK files (usually omits `.')
# Don't forget to add the directory that
# MakeTeXPK puts the files! (In this case, /LocalLibrary/Fonts...)
# overridden by the environment variable TEXPKS or TEXPACKED or PKFONTS
# PKPATH = $(LOCALDIR)/pk:$(TEXDIR)/fonts/pk
PKPATH = PKfonts
# the default path to search for VF files (usually omits `.')
# overridden by the environment variable VFFONTS
# VFPATH = $(LOCALDIR)/vf:$(TEXDIR)/fonts/vf
VFPATH = VFfonts
# additional directories in which to search for subdirectories to find
# both tfm and pk files
FONTSUBDIRPATH =
# where the config files go
# CONFIGDIR = $(TEXDIR)/ps
CONFIGDIR = DVIPSconf
# the default path to search for config files
# overridden by the environment variable TEXCONFIG
# CONFIGPATH = .:$(CONFIGDIR)
CONFIGPATH = DVIPSconf
# the name of your config file
# CONFIGFILE = config.ps
CONFIGFILE = config.ps
# where the header PS files go
# HEADERDIR = $(TEXDIR)/ps
HEADERDIR = DVIPSconf
# the default path to search for header files
# HEADERPATH = .:$(HEADERDIR)
HEADERPATH = DVIPSconf
# where epsf.tex and rotate.tex go (usually the TeX macros directory)
# TEXMACRODIR = $(TEXDIR)/inputs
TEXMACRODIR = TeXinputs
# the default path to search for epsf and psfiles
# (usually the same as TeX's defaultinputpath)
# FIGPATH = .:..:$(TEXDIR)/inputs
FIGPATH = .:TeXinputs
# change -DDEFRES=300 or whatever is required
# if the default resolution is not 300 dpi,
# add -DDEBUG to turn on debugging capability
# add -DTPIC for tpic support
# add -DFONTLIB to search font libraries
# add -DSEARCH_SUBDIRECTORIES to search the FONTSUBDIRPATH.
# add -DHAVE_GETCWD if you have getcwd (relevant only for subdir searching)
# add -DIBM6000 for compiling on IBM 6000 systems
# add -DCREATIONDATE if your system has a working time() and you want dated files
# (for VM/CMS, see the MKDVIPS.EXEC file in the vmcms subdirectory).
#
# If you define FONTLIB, make sure to also give definitions to
# FLIPATH and FLINAME.
#
# If your compiler doesn't like void*, then add
# -DVOID=char
#
# either use
# OPT = -O -funsigned-char
# or
OPT = -g -Wall -funsigned-char
# libraries to include (-lm -lc on most systems)
#FLIBS= -lNeXT_s -lsys_s
FLIBS= -lm -lc
# If you are compiling dvips for suid or other privileges, you will
# definitely want to define the following symbol; else don't.
# SECURE = -DSECURE
# If you want EMTEX specials, define the following.
# EMTEX = -DEMTEX
# for SYSV (and friends which use <string.h> instead of <strings.h>)
# define the c-compiler flag
# add -D_POSIX_SOURCE if you are POSIX (also define SYSV) (only relevant
# for subdir searching)
# SYS = -DSYSV
# Define this to be whatever you use for installation. If you don't have
# install, use a script that invokes copy and chmod's the files
# appropriately.
# INSTALL = install
INSTALL = install