
# SYS should be one of AUSAM, BSD, SYSV, V7
# This is only really important if VERBOSE (below) is 1.
SYS=BSD
# VERBOSE should be 1 to generate postscript code to echo stuff
# back down the communication line. Otherwise 0.
VERBOSE=0
MAKEDEV=/usr/src/cmd/text/troff.d	# pathname relative to devalw
CD=cd
MAKE=make
all: tpscript.d others
MFLAGS=SYS=$(SYS) VERBOSE=$(VERBOSE)

tpscript.d:
	$(CD) tpscript; $(MAKE) $(MFLAGS)
	$(CD) tpscript/devalw; $(MAKE) MAKEDEV=$(MAKEDEV)

others:
	$(CD) opscript; $(MAKE) $(MFLAGS)

