|
|
1.1 root 1: # NOTICE-NOT TO BE DISCLOSED OUTSIDE BELL SYS EXCEPT UNDER WRITTEN AGRMT
2: # Writer's Workbench version 2.x, February 1982 llc's version
3: # make file for THE WRITER'S WORKBENCH
4: #
5: # This package includes programs that suggest improvements to
6: # written documents. Many of the programs are built on Style
7: # and Diction - this make file assumes deroff, style, and diction
8: # are normal commands on the system & doesn't include them
9: #
10: #
11: # LIB is the directory for storing the object code
12: # for all programs run by shell files.
13: # BIN is the directory used for storing the shell files that run
14: # the programs and the object code for deroff.
15: #
16: LIB = /usr/lib/style
17: BIN = /usr/bin/WWB
18: # BIN = /usr/llc/wwb/commands/bin
19: LDFLAGS = -ll
20: CFLAGS = -O
21: LCFLAGS = -O
22:
23: all: wwb proofr dictadd
24:
25: wwb: proofr prose chunk org syl mkstand
26:
27: proofr: punct double gram
28:
29: punct: punlx
30:
31: punlx: punct.l
32: lex punct.l
33: $(CC) $(LCFLAGS) lex.yy.c $(LDFLAGS) -o punlx
34:
35: dictadd: dictadd.c
36: $(CC) $(CFLAGS) dictadd.c -o dictadd
37:
38: double: double.c cbtype.c cbtype.h
39: cc $(CFLAGS) double.c cbtype.c -o double
40:
41: gram: gramlx
42:
43: gramlx: gram.l
44: lex gram.l
45: $(CC) $(CFLAGS) lex.yy.c $(LDFLAGS) -o gramlx
46:
47: prose: prose.c
48: $(CC) $(CFLAGS) -DLIB=\"$(LIB) prose.c -o prose
49:
50: chunk: chunk.c
51: $(CC) $(CFLAGS) chunk.c -o chunk
52:
53: org: orglx
54:
55: orglx: org.l
56: lex org.l
57: $(CC) $(CFLAGS) lex.yy.c $(LDFLAGS) -o orglx
58:
59: mkstand: mkstand.c
60: $(CC) $(LCFLAGS) mkstand.c -lm -o mkstand
61:
62: syl: syl.c
63: $(CC) $(CFLAGS) syl.c -o syl
64:
65: install: all
66: : PROOFR
67: cp dictadd.sh $(BIN)/dictadd
68: cp dictplus.sh $(BIN)/dictplus
69: cp script.sed $(LIB)/script.sed
70: mv double $(BIN)/double
71: cp proofr.sh $(BIN)/proofr
72: cp spelladd.sh $(BIN)/spelladd
73: cp spellwwb.sh $(BIN)/spellwwb
74: cp gram.sh $(BIN)/gram
75: mv gramlx $(LIB)/gramlx
76: cp splitrules.sh $(BIN)/splitrules
77: rm -f $(BIN)/proofer
78: ln $(BIN)/proofr $(BIN)/proofer
79: mv dictadd $(LIB)
80: cp punctrules.sh $(BIN)/punctrules
81: cp punct.sh $(BIN)/punct
82: mv punlx $(LIB)/punlx
83: cp seddiff $(LIB)
84:
85: : PROSE
86: cp prose.sh $(BIN)/prose
87: for i in crft.st exp.t fur.t nom.t pass.t poptt.t popttm.t \
88: tm.st train.st type.t rd2.t \
89: type2.t var.t var4.t var5.t var6.t ; \
90: do cp $$i $(LIB); done
91: mv prose $(LIB)
92: : CHUNK
93: cp chunk.sh $(BIN)/chunk
94: mv chunk $(LIB)
95: cp chkin.sed $(LIB)
96: cp chkout.sed $(LIB)
97: : ORG
98: cp org.sh $(BIN)/org
99: mv orglx $(LIB)
100: : SYL
101: cp syl.sh $(BIN)/syl
102: mv syl $(LIB)
103: : MATCH
104: cp match.sh $(BIN)/match
105: : WWB
106: cp wwb.sh $(BIN)/wwb
107: cp wwbinfo.sh $(BIN)/wwbinfo
108:
109: : SEXIST
110: cp sexist.sh $(BIN)/sexist
111: cp sexist.sg $(LIB)
112: cp sexist.d $(LIB)
113: : ACRO
114: cp acro.sh $(BIN)/acro
115: cp acro.sed $(LIB)
116:
117: : MKSTAND
118: cp mkstand.sh $(BIN)/mkstand
119: mv mkstand $(LIB)
120: : WORDUSE
121: cp worduse.sh $(BIN)/worduse
122: cp wordlist.d $(LIB)
123: : SPELLTELL
124: cp spelltell.sh $(BIN)/spelltell
125: cp spelllist.d $(LIB)
126: : WWBHELP
127: cp wwbhelp.sh $(BIN)/wwbhelp
128: cp helplist.d $(LIB)
129: : WWBMAIL
130: cp wwbmail.sh $(BIN)/wwbmail
131: : WWBSTAND
132: cp wwbstand.sh $(BIN)/wwbstand
133: cp standlkup.sh $(LIB)/standlkup
134: clean:
135: rm -f lex.yy.c
136: rm -f *.o chunk dictadd double gramlx
137: rm -f mkstand orglx prose punlx syl punct org gram
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.