|
|
1.1 root 1: YFLAGS = -d
2: CFLAGS = -O -I. -I$(INC) -I$(USRINC) \
3: -D$(ARCH) -D$(DBO) -DONEPROC -D$(PCCALL) $(FLEX) -D$(MAC)
4: MAC = ABWORMAC
5: ARCH = AR32W
6: DBO = FBO
7: PCCALL = NOCALLPCREL
8: FLEX = -DFLEXNAMES
9: INC = ../inc
10: OFILES = pass0.o parse.o code.o errors.o pass1.o strings.o instab.o gencode.o \
11: swagen.o expand1.o expand2.o float.o addr1.o addr2.o codeout.o \
12: getstab.o pass2.o obj.o symlist.o symbols.o
13:
14: as: $(OFILES)
15: $(CC) -o as $(OFILES) -lm
16:
17: parse.c parse.h: parse.y
18: yacc $(YFLAGS) parse.y
19: mv y.tab.c parse.c
20: mv y.tab.h parse.h
21: pass0.o: pass0.h $(INC)/paths.h $(INC)/sgs.h systems.h
22: parse.o: symbols.h $(INC)/filehdr.h instab.h systems.h\
23: gendefs.h $(INC)/storclass.h $(INC)/sgs.h
24: code.o: symbols.h codeout.h gendefs.h systems.h
25: errors.o: gendefs.h systems.h
26: pass1.o: pass1.c $(INC)/paths.h symbols.h gendefs.h systems.h
27: strings.o: gendefs.h systems.h
28: instab.o: instab.h ops.out symbols.h parse.h systems.h
29: gencode.o: symbols.h instab.h systems.h parse.h gendefs.h expand.h expand2.h
30: swagen.o: symbols.h instab.h systems.h parse.h gendefs.h expand.h expand2.h
31: expand1.o: expand.h symbols.h gendefs.h systems.h
32: expand2.o: expand.h expand2.h symbols.h systems.h
33: float.o: instab.h symbols.h systems.h
34: addr1.o: $(INC)/reloc.h $(INC)/syms.h \
35: $(INC)/storclass.h $(INC)/linenum.h $(INC)/filehdr.h \
36: gendefs.h symbols.h codeout.h systems.h
37: addr2.o: $(INC)/reloc.h $(INC)/storclass.h systems.h \
38: $(INC)/syms.h gendefs.h symbols.h \
39: codeout.h instab.h
40: codeout.o: symbols.h codeout.h gendefs.h systems.h
41: getstab.o: gendefs.h symbols.h systems.h
42: pass2.o: gendefs.h symbols.h systems.h
43: obj.o: $(INC)/filehdr.h $(INC)/linenum.h instab.h \
44: $(INC)/reloc.h $(INC)/scnhdr.h $(INC)/syms.h $(INC)/storclass.h \
45: symbols.h codeout.h gendefs.h $(INC)/sgs.h systems.h
46: symlist.o: symbols.h $(INC)/syms.h $(INC)/storclass.h gendefs.h systems.h
47: symbols.o: symbols.c symbols.h symbols2.h systems.h
48:
49: install: as
50: cp as /usr/jerq/bin/3as
51: strip /usr/jerq/bin/3as
52: # I dunno where these go; they aren't documented for the 32000, only the 32100 -rob
53: $(LIBDIR)/cm4defs: cm4defs
54: -rm -f $(LIBDIR)/cm4defs
55: cp cm4defs $(LIBDIR)/cm4defs
56: $(LIBDIR)/cm4tvdefs: cm4tvdefs
57: -rm -f $(LIBDIR)/cm4tvdefs
58: cp cm4tvdefs $(LIBDIR)/cm4tvdefs
59:
60: clean:
61: -rm -f $(OFILES) parse.c parse.h y.output core as
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.