|
|
1.1 root 1: # make file for style
2: #
3: # LIB is directory for storing object code
4: # for 3 style programs
5: # if defined SCATCH is for collecting data
6: # if defined SNOM is for collecting nominalizations
7: #
8: LIB = /usr/lib/style
9: BIN = /usr/bin
10: CFLAGS = -Od2
11: SCATCH= -DSCATCH=\"/usr/llc/collect/scatch\"
12: SNOM= -DSNOM=\"/usr/llc/snom\"
13: style: style1 style2 style3
14: style3: prtlex.o pscan.o outp.o
15: cc $(CFLAGS) prtlex.o pscan.o outp.o -ll -o style3
16: strip style3
17: prtlex.c: part.l
18: lex part.l
19: mv lex.yy.c prtlex.c
20: prtlex.o: names.h prtlex.c
21: cc $(CFLAGS) -c -O $(SCATCH) $(SNOM) prtlex.c
22: pscan.o: names.h conp.h
23: outp.o: names.h conp.h style.h
24: cc $(CFLAGS) -c -O outp.c
25: style1: wdslex.o
26: cc $(CFLAGS) wdslex.o -ll -o style1
27: strip style1
28: wdslex.o: wdslex.c nhash.c dict.c ydict.c names.h abbrev.c
29: cc -O -c wdslex.c
30: wdslex.c: nwords.l
31: lex nwords.l
32: mv lex.yy.c wdslex.c
33: style2: endlex.o
34: cc $(CFLAGS) endlex.o -ll -o style2
35: strip style2
36: endlex.o: names.h endlex.c ehash.c edict.c
37: cc -O -c endlex.c
38: endlex.c: end.l
39: lex end.l
40: mv lex.yy.c endlex.c
41: clean:
42: rm -f prtlex.c prtlex.o pscan.o outp.o
43: rm -f wdslex.c wdslex.o
44: rm -f endlex.c endlex.o
45: install:
46: mv style1 $(LIB)/style1
47: mv style2 $(LIB)/style2
48: mv style3 $(LIB)/style3
49: cp style.sh $(BIN)/style
50: cp parts.sh $(BIN)/parts
51: cp topic.sh $(BIN)/topic
52: chmod 755 $(LIB)/style1
53: chmod 755 $(LIB)/style2
54: chmod 755 $(LIB)/style3
55: chmod 755 $(BIN)/style
56: chmod 755 $(BIN)/parts
57: chmod 755 $(BIN)/topic
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.