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