# The following file and directory specifications may need changing at
# your site:
#
# where are the bitmaps stored?
FONTAREA=/usr/lib/tex/fonts
#
# where is the header file to be found?
HDRFILE=/usr/lib/tex/tex.ps
#
# where is the software to be installed
BINAREA=/usr/local/bin
#
# an Apollo-specific spool file
SPOOLFILE=/usr/spool/laserwriter/apollo
#
#
# By default we will use GF format files.  If you want to use PXL
# format instead, then include a -DUSEPXL below.  Actually, if this
# is the case, the routines in gf.c are not needed
#
CFLAGS = -DFONTAREA=\"${FONTAREA}\" -DHDRFILE=\"${HDRFILE}\" \
         -DSPOOLFILE=\"${SPOOLFILE}\" -O

all: dvi2ps

dvi2ps:	dvi2ps.o findfile.o gf.o
	cc ${CFLAGS} -o dvi2ps dvi2ps.o findfile.o gf.o

install: all
	install -s -m 755 dvi2ps ${BINAREA}/dvi2ps
	cp tex.ps ${HDRFILE}

#
# The following may be useful if you are trying to run this as a
# printcap filter
#

applef:	applef.c
	${CC} -o applef ${CFLAGS} applef.c

dvipsf:	dvipsf.c
	${CC} -o dvipsf ${CFLAGS} dvipsf.c
