|
|
1.1 root 1: # /usr/src/cmd/nroff/Makefile 5/27/92
2: # Makefile for nroff and troff
3:
4: DESTDIR=/bin386/bin/
5:
6: # Targets.
7: ALL=\
8: nroff\
9: troff\
10: fwtable
11:
12: # Objects included in both nroff and troff images.
13: OBJ=\
14: div.o\
15: env.o\
16: expr.o\
17: extern.o\
18: getf.o\
19: hyphen.o\
20: hyptab.o\
21: main.o\
22: misc.o\
23: process.o\
24: reg.o\
25: req1.o\
26: req2.o\
27: request.o\
28: table.o
29:
30: # Objects in nroff only.
31: NOBJ= tty.o
32:
33: # Objects in troff only.
34: TOBJ=\
35: fonts.o\
36: output.o
37:
38: # Too many header files.
39: HDR=\
40: code.h\
41: codebug.h\
42: div.h\
43: env.h\
44: escapes.h\
45: fonts.h\
46: hyphen.h\
47: reg.h\
48: request.h\
49: roff.h\
50: str.h
51:
52: # fwtable objects.
53: FWTOBJ=\
54: fwtable.o\
55: fwt_PS.o\
56: fwt_TFM.o
57:
58: # Primary target.
59: all: $(ALL)
60: : Done.
61:
62: # Secondary targets.
63: troff: $(OBJ) $(TOBJ)
64: $(CC) $(LDFLAGS) -o $(DESTDIR)$@ $(OBJ) $(TOBJ)
65:
66: nroff: $(OBJ) $(NOBJ)
67: $(CC) $(LDFLAGS) -o $(DESTDIR)$@ $(OBJ) $(NOBJ)
68:
69: fwtable: $(FWTOBJ)
70: $(CC) -o $(DESTDIR)$@ $(FWTOBJ) -f
71:
72: strip: $(ALL)
73: strip $(ALL)
74:
75: clean:
76: rm -f $(OBJ) $(TOBJ) $(NOBJ) $(FWTOBJ)
77:
78: # Unlinked objects.
79: div.o: $(HDR) div.c
80: env.o: $(HDR) env.c
81: expr.o: $(HDR) expr.c
82: extern.o: $(HDR) extern.c
83: fonts.o: $(HDR) fonts.c
84: getf.o: $(HDR) getf.c
85: hyphen.o: $(HDR) hyphen.c
86: hyptab.o: $(HDR) hyptab.c
87: main.o: $(HDR) main.c
88: misc.o: $(HDR) misc.c
89: output.o: $(HDR) output.c
90: process.o: $(HDR) process.c
91: reg.o: $(HDR) reg.c
92: req1.o: $(HDR) req1.c
93: req2.o: $(HDR) req2.c
94: request.o: $(HDR) request.c
95: table.o: $(HDR) table.c
96: tty.o: $(HDR) tty.c
97:
98: fwtable.o: fwtable.c fwtable.h
99: fwt_PS.o: fwt_PS.c fwtable.h
100: fwt_TFM.o: fwt_TFM.c fwtable.h
101:
102: # 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.