File:  [MW Coherent from dump] / coherent / b / bin / troff / Makefile.dos
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed May 29 04:56:36 2019 UTC (7 years, 2 months ago) by root
Branches: MarkWilliams, MAIN
CVS tags: relic, HEAD
coherent

# /usr/src/cmd/nroff/Makefile 6/12/91
# MS-DOS Makefile for nroff, troff, fwtable.

CFLAGS=-I\include\ 
LDFLAGS=-w

# Targets.
ALL=\
	nroff.exe\
	troff.exe\
	fwtable.exe

# Objects included in both nroff and troff images.
# Broken down for "obj" below, because of command line length restrictions.
OBJ=	$(OBJ1) $(OBJ2) $(OBJ3)
OBJ1=\
	div.obj\
	env.obj\
	expr.obj\
	extern.obj\
	getf.obj
OBJ2=\
	hyphen.obj\
	hyptab.obj\
	main.obj\
	misc.obj\
	process.obj
OBJ3=\
	reg.obj\
	req1.obj\
	req2.obj\
	request.obj\
	table.obj

# Objects in nroff only.
NOBJ=	tty.obj

# Objects in troff only.
TOBJ=\
	fonts.obj\
	output.obj

# Too many header files.
HDR=\
	code.h\
	codebug.h\
	div.h\
	env.h\
	escapes.h\
	fonts.h\
	hyphen.h\
	reg.h\
	request.h\
	roff.h\
	str.h

# fwtable objects.
FWTOBJ=\
	fwtable.obj\
	fwt_PS.obj\
	fwt_TFM.obj

# Primary target.
all:	$(ALL)
	: Done.

# Secondary targets.
obj:	$(OBJ)
	echo $(OBJ1) >obj
	echo $(OBJ2) >>obj
	echo $(OBJ3) >>obj

troff.exe:	$(OBJ) $(TOBJ)
	$(CC) $(LDFLAGS) -o $@ @obj $(TOBJ)

nroff.exe:	$(OBJ) $(NOBJ)
	$(CC) $(LDFLAGS) -o $@ @obj $(NOBJ)

fwtable.exe:	$(FWTOBJ)
	cc -o $@ $(FWTOBJ) -f

strip:	$(ALL)
	strip $(ALL)

clean:
	rm -f $(OBJ) $(TOBJ) $(NOBJ) $(FWTOBJ)

# Unlinked objects.
div.obj:	$(HDR) div.c
env.obj:	$(HDR) env.c
expr.obj:	$(HDR) expr.c
extern.obj:	$(HDR) extern.c
fonts.obj:	$(HDR) fonts.c
getf.obj:	$(HDR) getf.c
hyphen.obj:	$(HDR) hyphen.c
hyptab.obj:	$(HDR) hyptab.c
main.obj:	$(HDR) main.c
misc.obj:	$(HDR) misc.c
output.obj:	$(HDR) output.c
process.obj:	$(HDR) process.c
reg.obj:	$(HDR) reg.c
req1.obj:	$(HDR) req1.c
req2.obj:	$(HDR) req2.c
request.obj:	$(HDR) request.c
table.obj:	$(HDR) table.c
tty.obj:	$(HDR) tty.c

fwtable.obj:	fwtable.c fwtable.h
fwt_PS.obj:	fwt_PS.c fwtable.h
fwt_TFM.obj:	fwt_TFM.c fwtable.h

# end of /usr/src/cmd/nroff/Makefile

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.