|
|
1.1 root 1: # /usr/src/cmd/nroff/Makefile 6/12/91
2: # MS-DOS Makefile for nroff, troff, fwtable.
3:
4: CFLAGS=-I\include\
5: LDFLAGS=-w
6:
7: # Targets.
8: ALL=\
9: nroff.exe\
10: troff.exe\
11: fwtable.exe
12:
13: # Objects included in both nroff and troff images.
14: # Broken down for "obj" below, because of command line length restrictions.
15: OBJ= $(OBJ1) $(OBJ2) $(OBJ3)
16: OBJ1=\
17: div.obj\
18: env.obj\
19: expr.obj\
20: extern.obj\
21: getf.obj
22: OBJ2=\
23: hyphen.obj\
24: hyptab.obj\
25: main.obj\
26: misc.obj\
27: process.obj
28: OBJ3=\
29: reg.obj\
30: req1.obj\
31: req2.obj\
32: request.obj\
33: table.obj
34:
35: # Objects in nroff only.
36: NOBJ= tty.obj
37:
38: # Objects in troff only.
39: TOBJ=\
40: fonts.obj\
41: output.obj
42:
43: # Too many header files.
44: HDR=\
45: code.h\
46: codebug.h\
47: div.h\
48: env.h\
49: escapes.h\
50: fonts.h\
51: hyphen.h\
52: reg.h\
53: request.h\
54: roff.h\
55: str.h
56:
57: # fwtable objects.
58: FWTOBJ=\
59: fwtable.obj\
60: fwt_PS.obj\
61: fwt_TFM.obj
62:
63: # Primary target.
64: all: $(ALL)
65: : Done.
66:
67: # Secondary targets.
68: obj: $(OBJ)
69: echo $(OBJ1) >obj
70: echo $(OBJ2) >>obj
71: echo $(OBJ3) >>obj
72:
73: troff.exe: $(OBJ) $(TOBJ)
74: $(CC) $(LDFLAGS) -o $@ @obj $(TOBJ)
75:
76: nroff.exe: $(OBJ) $(NOBJ)
77: $(CC) $(LDFLAGS) -o $@ @obj $(NOBJ)
78:
79: fwtable.exe: $(FWTOBJ)
80: cc -o $@ $(FWTOBJ) -f
81:
82: strip: $(ALL)
83: strip $(ALL)
84:
85: clean:
86: rm -f $(OBJ) $(TOBJ) $(NOBJ) $(FWTOBJ)
87:
88: # Unlinked objects.
89: div.obj: $(HDR) div.c
90: env.obj: $(HDR) env.c
91: expr.obj: $(HDR) expr.c
92: extern.obj: $(HDR) extern.c
93: fonts.obj: $(HDR) fonts.c
94: getf.obj: $(HDR) getf.c
95: hyphen.obj: $(HDR) hyphen.c
96: hyptab.obj: $(HDR) hyptab.c
97: main.obj: $(HDR) main.c
98: misc.obj: $(HDR) misc.c
99: output.obj: $(HDR) output.c
100: process.obj: $(HDR) process.c
101: reg.obj: $(HDR) reg.c
102: req1.obj: $(HDR) req1.c
103: req2.obj: $(HDR) req2.c
104: request.obj: $(HDR) request.c
105: table.obj: $(HDR) table.c
106: tty.obj: $(HDR) tty.c
107:
108: fwtable.obj: fwtable.c fwtable.h
109: fwt_PS.obj: fwt_PS.c fwtable.h
110: fwt_TFM.obj: fwt_TFM.c fwtable.h
111:
112: # end of /usr/src/cmd/nroff/Makefile
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.