|
|
1.1 root 1: I8SEND = uucpinter
2: CFLAGS = -O
3: LIBES =
4: FILES1 = Makefile efl.1 defs tokens main.c init.c tailor.c\
5: gram.head gram.dcl gram.expr gram.exec\
6: lex.l fixuplex symtab.c\
7: dcl.c addr.c struct.c field.c misc.c alloc.c mk.c
8: FILES2 = exec.c blklab.c simple.c print.c temp.c io.c error.c\
9: pass2.c icfile.c free.c dclgen.c namgen.c
10: FILES = $(FILES1) $(FILES2)
11: P = detab 0 6 12 18 24 30 36 42 48 54 60 66 72 | und -3 | opr -r2
12:
13: OBJECTS = main.o init.o tailor.o gram.o lex.o symtab.o\
14: dcl.o addr.o struct.o field.o blklab.o\
15: mk.o misc.o alloc.o print.o simple.o exec.o temp.o io.o error.o\
16: pass2.o icfile.o free.o dclgen.o namgen.o
17:
18: a.out : $(OBJECTS)
19: @echo LOAD
20: @$(CC) $(CFLAGS) $(LDFLAGS) $(OBJECTS) $(LIBES)
21: @size
22:
23: $(OBJECTS) : defs
24: lex.o init.o : tokdefs
25:
26: # gram.c can no longer be made on a pdp11 because of yacc limits
27: #gram.c: gram.head gram.dcl gram.expr gram.exec tokdefs
28: # ( sed <tokdefs "s/#define/%token/" ;\
29: # cat gram.head gram.dcl gram.expr gram.exec) >gram.in
30: # $(YACC) $(YFLAGS) gram.in
31: # mv y.tab.c gram.c
32: # rm gram.in
33:
34: lex.c: fixuplex
35: lex lex.l
36: fixuplex
37: mv lex.yy.c lex.c
38:
39: tokdefs: tokens
40: grep -n . <tokens | sed "s/\([^:]*\):\(.*\)/#define \2 \1/" >tokdefs
41:
42: clean:
43: rm -f a.out *.o lex.c tokdefs efl[cde].* nohup.out
44:
45: printall:
46: -pr $(FILES1) | $P
47: -pr $(FILES2) | $P
48: touch print
49:
50: print: $(FILES)
51: -pr $? | $P
52: touch print
53:
54: arch: /usr/sif/efl/arch
55:
56: /usr/sif/efl/arch : $(FILES)
57: @ar uv /usr/sif/efl/arch $?
58: @wc /usr/sif/efl/arch
59:
60: lint: a.out
61: lint -p *.c -lS
62:
63: install: a.out
64: strip a.out
65: cp a.out /usr/bin/efl
66:
67: save:
68: -fsend -c -u efl /usr/sif/efl/arch
69:
70: man: /sys/man/man1/efl.1
71: man efl
72:
73: /sys/man/man1/efl.1: efl.1
74: cp efl.1 /sys/man/man1
75:
76: test: a.out
77: a.out "system=gcos" /usr/sif/efl/test/Hard.e >z1 2>z2
78: cmp z1 /usr/sif/efl/test/Hard.out
79: a.out "system=gcos" /usr/sif/efl/test/Band.e >z1 2>z2
80: cmp z1 /usr/sif/efl/test/Band.out
81: a.out "system=gcos" /usr/sif/efl/test/Buram.e >z1 2>z2
82: cmp z1 /usr/sif/efl/test/Buram.out
83: a.out "system=gcos" /usr/sif/efl/test/Dgl.e >z1 2>z2
84: cmp z1 /usr/sif/efl/test/Dgl.out
85: rm z1 z2
86: @echo TEST OK
87:
88: gcosall: $(FILES) tokdefs gram.c lex.c
89: -fsend -c -u efl $(FILES) tokdefs gram.c lex.c
90: touch gcos
91:
92: gcos: $(FILES) tokdefs gram.c lex.c
93: -fsend -c -u efl $?
94: touch gcos
95:
96: interall:
97: $(I8SEND) $(FILES) gram.c lex.c
98: touch interdata
99:
100: interdata: $(FILES) gram.c lex.c
101: $(I8SEND) $?
102: touch interdata
103:
104: tape: $(FILES) gram.c lex.c a.out
105: tp mr $(FILES) gram.c lex.c a.out
106:
107: src: $(FILES) tokdefs gram.c
108: cp $? /crp/src/cmd/efl
109: touch src
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.