|
|
1.1 root 1: CFLAGS = -O -I. -I$(INC) \
2: -D$(ARCH) -D$(NPROC) -D$(SDP) -D$(ARFORMAT) -D$(DBO) $(FLEX)
3: YFLAGS = -d
4: ARCH = AR32W
5: NPROC = ONEPROC
6: SDP = NOSDP
7: ARFORMAT= PORTAR
8: DBO = FBO
9: FLEX = -DFLEXNAMES
10: INC = ../inc
11: LIBLD = ../libld/libld.a
12: OBJECTS=expr0.o globs.o sglobs.o ld00.o lex.yy.o lists.o \
13: util.o version.o y.tab.o special1.o special2.o \
14: alloc.o specsyms.o dump.o expr1.o ld01.o ld1.o ld2.o maps.o \
15: output.o sdp.o slotvec.o syms.o tv.o instr.o
16:
17: ld: $(OBJECTS) $(LIBLD)
18: $(CC) -o ld $(OBJECTS) -ll -ly $(LIBLD)
19:
20: y.tab.c y.tab.h: ld.yac
21: @echo Expect to see 6 shift/reduce conflicts
22: yacc $(YFLAGS) ld.yac
23:
24: y.tab.o: attributes.h list.h structs.h \
25: ldmacros.h extrns.h ldtv.h system.h \
26: $(INC)/filehdr.h $(INC)/scnhdr.h $(INC)/syms.h \
27: $(INC)/storclass.h $(INC)/bool.h $(INC)/sgsmacros.h \
28: $(INC)/sgs.h $(INC)/tv.h params.h
29: lex.yy.c: ld.lex
30: time lex ld.lex
31: lex.yy.o: structs.h extrns.h system.h ldtv.h instr.h $(INC)/aouthdr.h \
32: $(INC)/filehdr.h $(INC)/scnhdr.h $(INC)/syms.h \
33: $(INC)/storclass.h $(INC)/bool.h \
34: $(INC)/paths.h $(INC)/sgs.h $(INC)/tv.h y.tab.h
35: expr0.o: extrns.h structs.h system.h ldmacros.h \
36: $(INC)/filehdr.h $(INC)/scnhdr.h $(INC)/syms.h \
37: $(INC)/storclass.h $(INC)/sgsmacros.h y.tab.h
38: expr1.o: extrns.h structs.h system.h ldmacros.h \
39: $(INC)/filehdr.h $(INC)/scnhdr.h $(INC)/syms.h \
40: $(INC)/storclass.h $(INC)/sgsmacros.h y.tab.h
41: ld00.o: extrns.h list.h structs.h \
42: system.h $(INC)/ldfcn.h \
43: $(INC)/filehdr.h $(INC)/scnhdr.h $(INC)/syms.h \
44: $(INC)/storclass.h $(INC)/sgsmacros.h \
45: $(INC)/paths.h $(INC)/sgs.h params.h y.tab.h
46: ld01.o: extrns.h structs.h list.h \
47: ldmacros.h system.h ldtv.h instr.h \
48: $(INC)/filehdr.h $(INC)/scnhdr.h $(INC)/syms.h \
49: $(INC)/storclass.h $(INC)/sgsmacros.h $(INC)/tv.h
50: ld1.o: extrns.h list.h ldtv.h ldmacros.h \
51: structs.h system.h $(INC)/aouthdr.h \
52: $(INC)/filehdr.h $(INC)/scnhdr.h $(INC)/syms.h \
53: $(INC)/storclass.h $(INC)/ldfcn.h $(INC)/reloc.h \
54: $(INC)/sgsmacros.h $(INC)/sdpsrc/hd/define2.h \
55: $(INC)/sgs.h $(INC)/tv.h $(INC)/magic.h \
56: params.h
57: ld2.o: ldtv.h extrns.h list.h structs.h system.h \
58: $(INC)/filehdr.h $(INC)/scnhdr.h $(INC)/syms.h \
59: $(INC)/sgsmacros.h $(INC)/storclass.h \
60: $(INC)/reloc.h $(INC)/linenum.h $(INC)/patch.h \
61: $(INC)/tv.h y.tab.h params.h
62: alloc.o: extrns.h list.h structs.h ldmacros.h system.h ldtv.h \
63: $(INC)/filehdr.h $(INC)/scnhdr.h $(INC)/syms.h \
64: $(INC)/storclass.h $(INC)/sgsmacros.h \
65: $(INC)/sdpsrc/hd/define2.h $(INC)/tv.h params.h
66: output.o: structs.h extrns.h system.h \
67: ldtv.h slotvec.h $(INC)/aouthdr.h ldmacros.h instr.h \
68: $(INC)/filehdr.h $(INC)/scnhdr.h $(INC)/syms.h \
69: $(INC)/sgsmacros.h $(INC)/storclass.h \
70: $(INC)/reloc.h $(INC)/linenum.h $(INC)/ldfcn.h \
71: $(INC)/patch.h $(INC)/sgs.h $(INC)/tv.h params.h
72: maps.o: extrns.h structs.h attributes.h system.h \
73: $(INC)/filehdr.h $(INC)/scnhdr.h $(INC)/syms.h \
74: $(INC)/storclass.h $(INC)/sgsmacros.h
75: util.o: structs.h extrns.h system.h \
76: $(INC)/filehdr.h $(INC)/scnhdr.h $(INC)/syms.h \
77: $(INC)/storclass.h $(INC)/sgsmacros.h \
78: $(INC)/sgs.h
79: lists.o: list.h structs.h system.h \
80: $(INC)/filehdr.h $(INC)/scnhdr.h $(INC)/syms.h \
81: $(INC)/sgsmacros.h $(INC)/storclass.h
82: dump.o: structs.h extrns.h system.h \
83: $(INC)/filehdr.h $(INC)/scnhdr.h $(INC)/syms.h \
84: $(INC)/storclass.h
85: syms.o: structs.h extrns.h ldtv.h system.h sdp1.h instr.h \
86: ldmacros.h $(INC)/ldfcn.h \
87: $(INC)/filehdr.h $(INC)/scnhdr.h $(INC)/syms.h \
88: $(INC)/storclass.h $(INC)/sgsmacros.h \
89: $(INC)/sdpsrc/hd/define2.h $(INC)/sdpsrc/hd/define4.h \
90: $(INC)/sdpsrc/hd/struct.h $(INC)/paths.h $(INC)/tv.h
91: sdp.o: sdp1.h system.h structs.h \
92: instr.h extrns.h \
93: $(INC)/filehdr.h $(INC)/scnhdr.h $(INC)/syms.h \
94: $(INC)/storclass.h \
95: $(INC)/sdpsrc/hd/define2.h $(INC)/sdpsrc/hd/define3.h \
96: $(INC)/sdpsrc/hd/define4.h $(INC)/sdpsrc/hd/struct.h \
97: $(INC)/sdpsrc/hd/globals.h $(INC)/sdpsrc/lo/delist.c \
98: $(INC)/sdpsrc/lo/enlist.c $(INC)/sdpsrc/lo/fatal.c \
99: $(INC)/sdpsrc/lo/getnxtpage.c $(INC)/sdpsrc/lo/readpage.c \
100: $(INC)/sdpsrc/lo/writeframe.c $(INC)/sdpsrc/lo/sojourn.c \
101: $(INC)/sdpsrc/lo/rpartition.c \
102: $(INC)/sdpsrc/hi/allocate.c $(INC)/sdpsrc/hi/flush.c \
103: $(INC)/sdpsrc/hi/init.c $(INC)/sdpsrc/hi/lock.c \
104: $(INC)/sdpsrc/hi/unlock.c $(INC)/paths.h
105: tv.o: extrns.h structs.h ldtv.h ldmacros.h system.h list.h \
106: $(INC)/filehdr.h $(INC)/scnhdr.h $(INC)/syms.h \
107: $(INC)/sdpsrc/hd/define2.h $(INC)/bool.h $(INC)/storclass.h \
108: $(INC)/reloc.h $(INC)/ldfcn.h $(INC)/sgsmacros.h $(INC)/tv.h
109: globs.o: structs.h ldtv.h system.h \
110: $(INC)/filehdr.h $(INC)/scnhdr.h $(INC)/syms.h \
111: $(INC)/storclass.h $(INC)/paths.h $(INC)/tv.h params.h
112: slotvec.o: slotvec.h structs.h extrns.h sdp1.h system.h \
113: $(INC)/filehdr.h $(INC)/scnhdr.h $(INC)/syms.h \
114: $(INC)/storclass.h $(INC)/sdpsrc/hd/define2.h \
115: $(INC)/sdpsrc/hd/define4.h $(INC)/paths.h
116: sglobs.o: structs.h $(INC)/filehdr.h $(INC)/scnhdr.h $(INC)/syms.h \
117: $(INC)/storclass.h $(INC)/sgs.h $(INC)/tv.h ldtv.h system.h
118: special1.o: system.h structs.h extrns.h \
119: $(INC)/filehdr.h $(INC)/scnhdr.h $(INC)/syms.h $(INC)/storclass.h
120: special2.o: $(INC)/aouthdr.h structs.h $(INC)/filehdr.h \
121: $(INC)/scnhdr.h $(INC)/syms.h $(INC)/storclass.h $(INC)/ldfcn.h \
122: $(INC)/tv.h ldtv.h slotvec.h $(INC)/reloc.h extrns.h list.h \
123: $(INC)/sgs.h $(INC)/magic.h $(INC)/sgsmacros.h system.h
124: specsyms.o: system.h extrns.h $(INC)/sgsmacros.h \
125: structs.h $(INC)/filehdr.h $(INC)/scnhdr.h $(INC)/syms.h \
126: $(INC)/storclass.h $(INC)/tv.h ldtv.h
127:
128: install: ld
129: cp ld /usr/jerq/bin/3ld
130: strip /usr/jerq/bin/3ld
131:
132: clean:
133: rm -f $(OBJECTS) y.tab.c lex.yy.c y.tab.h ld
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.