|
|
1.1 root 1: # /usr/src/cmd0/sh/Makefile 4/3/93
2:
3: DESTDIR=/bin386/bin/
4:
5: # Version number for var.c.
6: VERSION=V3.4.5
7: # Parsing stack depth for y.tab.c.
8: YYMAXDEPTH=300
9:
10: CFLAGS= -O -I$(SRCPATH)
11: # Undefine _copyright_ to pull in libc.a/copyright.o.
12: LDFLAGS= -n -i -u _copyright
13: # Don't bind shared on the PDP-11.
14: # LDFLAGS= -i
15:
16: OBJ=\
17: alloc.o\
18: atoi.o\
19: eval.o\
20: exec1.o\
21: exec2.o\
22: exec3.o\
23: extern.o\
24: glob.o\
25: lex.o\
26: main.o\
27: tab.o\
28: trap.o\
29: var.o\
30: y.tab.o
31:
32: SRCS=\
33: sh.h\
34: sh.y\
35: alloc.c\
36: atoi.c\
37: eval.c\
38: exec1.c\
39: exec2.c\
40: exec3.c\
41: extern.c\
42: glob.c\
43: lex.c \
44: main.c\
45: tab.c\
46: trap.c\
47: var.c
48:
49: # Primary target.
50: sh: $(OBJ)
51: $(CC) $(LDFLAGS) -o $(DESTDIR)sh $(OBJ)
52:
53: psh: $(OBJ)
54: $(CC) -n -o psh -O -DPARANOID $(OBJ)
55:
56: # Secondary targets.
57: alloc.o: sh.h alloc.c
58: atoi.o: atoi.c
59: eval.o: sh.h eval.c
60: exec1.o: sh.h exec1.c
61: exec2.o: sh.h exec2.c
62: exec3.o: sh.h exec3.c
63: extern.o: sh.h extern.c
64: glob.o: sh.h glob.c
65: lex.o: sh.h lex.c y.tab.o
66: main.o: sh.h main.c
67: tab.o: sh.h tab.c
68: trap.o: sh.h trap.c
69: var.o: var.c sh.h
70: $(CC) -c $(CFLAGS) -DVERSION=\"$(VERSION)\" $<
71: y.tab.c: sh.y
72: yacc $<
73: y.tab.o: y.tab.c sh.h
74: $(CC) -c $(CFLAGS) -DYYMAXDEPTH=$(YYMAXDEPTH) $<
75:
76: # Etc.
77: clean:
78: rm $(OBJ)
79:
80: # end of /usr/src/cmd0/sh/Makefile
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.