|
|
1.1 ! root 1: # ! 2: # Makefile for instruction tests ! 3: # ! 4: ! 5: MAKEPARAM = AS=${AS} CC=${CC} LD=${LD} INCLDIR=${INCLDIR} LIBDIR=${LIBDIR} ULIBDIR=${ULIBDIR} DESTDIR=${DESTDIR} ! 6: ! 7: LD_FLG = -T 800 -x ! 8: ! 9: OBJ1 = mon.o tbl1.o M_error.o bio.o cp.o setjmp.o \ ! 10: cadat.o ab_mode.o abs_mode1.o absin_32k.o aincd_mode.o autodi_mode.o \ ! 11: bdisp_mode.o ca111.o ca112.o ca113.o ca114.o ca123.o ca124.o \ ! 12: ca134.o ca221.o ca222.o ca223.o ca224.o ca234.o ca331.o ca334.o \ ! 13: ca441.o ca444.o dispin_mode.o im_mode.o \ ! 14: lit_mode.o rdi_mode.o reg_mode.o regd_mode.o rel_mode.o \ ! 15: relb_mode.o reld_mode.o reldb_mode.o reldin_mode.o reldw_mode.o \ ! 16: relin_mode.o relw_mode.o ! 17: ! 18: OBJ2 = mon.o tbl2.o M_error.o bio.o cp.o setjmp.o \ ! 19: cadat.o comb_disp.o bb_ssi.o ! 20: ! 21: # dispd_mode.o ldisp_mode.o wdisp_mode.o ! 22: # The above 3 files are combined into comb_disp.s to fit ! 23: # into 1 floppy ! 24: ! 25: OBJ3 = mon.o tbl3.o M_error.o bio.o cp.o setjmp.o \ ! 26: add_b2.o add_b3.o add_l2.o add_l3.o add_w2.o add_w3.o adda.o \ ! 27: and_b2.o and_b3.o and_l2.o and_l3.o and_w2.o and_w3.o aobleq.o \ ! 28: aoblss.o b_cond.o bb_c.o bb_ssi.o bispsw.o bit_b.o bit_l.o bit_w.o \ ! 29: breq.o btcs.o \ ! 30: callf.o calls.o casel.o clr_b.o clr_l.o clr_w.o cmp_b.o cmp_l.o \ ! 31: cmp_w.o decb.o decl.o decw.o ffc.o ffs.o incb.o incl.o \ ! 32: incw.o index.o insque.o jmpbr.o loadr.o movab.o movow.o \ ! 33: moval.o movaw.o movob.o movb.o moveb.o movel.o movew.o movw.o or_b2.o \ ! 34: or_b3.o or_l2.o or_l3.o or_w2.o or_w3.o pushab.o pushal.o \ ! 35: shar.o shll.o shlq.o shrl.o shrq.o storer.o sub_b2.o sub_b3.o \ ! 36: pushaw.o pushb.o pushl.o pushw.o shal.o \ ! 37: sub_l2.o sub_l3.o sub_w2.o sub_w3.o suba.o tst_b.o tst_l.o \ ! 38: tst_w.o ! 39: ! 40: OBJC = xor.o mcom.o mneg.o convert.o movz.o mul.o div.o \ ! 41: adwc.o sbwc.o movblk.o movs.o cmps.o ctail.o chead.o ! 42: ! 43: ALL = macro1 macro2 macro3 dmp1 dmp2 dmp3 ! 44: ! 45: all: $(ALL) ! 46: ! 47: # ! 48: # For composite test in demand paging mode ! 49: # ! 50: dmp1.st : init.o ${OBJ1} ! 51: ${LD} -N -x -o dmp1.st init.o ${OBJ1} ! 52: ! 53: dmp2.st : init.o ${OBJ2} ! 54: ${LD} -N -x -o dmp2.st init.o ${OBJ2} ! 55: ! 56: dmp3.st : init.o ${OBJ3} ${OBJC} ! 57: ${LD} -N -x -o dmp3.st init.o ${OBJ3} ${OBJC} ! 58: ! 59: dmp1 : dmp1.st ! 60: cp dmp1.st $$dmp1.st ! 61: strip $$dmp1.st ! 62: dd if=$$dmp1.st of=dmp1 skip=1 bs=2080 ! 63: rm -f $$dmp1.st ! 64: ! 65: dmp2 : dmp2.st ! 66: cp dmp2.st $$dmp2.st ! 67: strip $$dmp2.st ! 68: dd if=$$dmp2.st of=dmp2 skip=1 bs=2080 ! 69: rm -f $$dmp2.st ! 70: ! 71: dmp3 : dmp3.st ! 72: cp dmp3.st $$dmp3.st ! 73: strip $$dmp3.st ! 74: dd if=$$dmp3.st of=dmp3 skip=1 bs=2080 ! 75: rm -f $$dmp3.st ! 76: ! 77: # ! 78: # ***************************************** ! 79: # ! 80: macro1.st : ${OBJ1} ! 81: ${LD} ${LD_FLG} -o macro1.st ${OBJ1} ! 82: ! 83: macro1 : macro1.st ! 84: cp macro1.st $$macro1.st ! 85: strip $$macro1.st ! 86: dd if=$$macro1.st of=macro1 skip=1 bs=1024 ! 87: rm -f $$macro1.st ! 88: ! 89: macro2.st : ${OBJ2} ! 90: ${LD} ${LD_FLG} -o macro2.st ${OBJ2} ! 91: ! 92: macro2 : macro2.st ! 93: cp macro2.st $$macro2.st ! 94: strip $$macro2.st ! 95: dd if=$$macro2.st of=macro2 skip=1 bs=1024 ! 96: rm -f $$macro2.st ! 97: ! 98: macro3.st : ${OBJ3} ${OBJC} ! 99: ${LD} ${LD_FLG} -o macro3.st ${OBJ3} ${OBJC} ! 100: ! 101: macro3 : macro3.st ! 102: cp macro3.st $$macro3.st ! 103: strip $$macro3.st ! 104: dd if=$$macro3.st of=macro3 skip=1 bs=1024 ! 105: rm -f $$macro3.st ! 106: ! 107: install: all ! 108: for i in $(ALL); \ ! 109: do install -c $$i ${DESTDIR}/d; \ ! 110: done ! 111: ! 112: clean: ! 113: rm -f a.out *.lst* *.o *.sf *.st *.tst $(ALL) ! 114: ! 115: cleansrc: ! 116: ! 117: rm -f *.[csh] init.x definitions makefile ! 118: ! 119: relb_mode.o : relb_mode.s ! 120: ${AS} -d1 relb_mode.s -o relb_mode.o ! 121: relw_mode.o : relw_mode.s ! 122: ${AS} -d2 relw_mode.s -o relw_mode.o ! 123: reldb_mode.o : reldb_mode.s ! 124: ${AS} -d1 reldb_mode.s -o reldb_mode.o ! 125: reldw_mode.o : reldw_mode.s ! 126: ${AS} -d2 reldw_mode.s -o reldw_mode.o ! 127: init.o: init.x ! 128: sed 's/^#\([^id]\)/ #\1/' init.x | /lib/cpp | ${AS} -o $*.o ! 129: ! 130: # ! 131: # For temporary problems ! 132: # ! 133: tmp_aincd.st: tmp_aincd.o tail.o ! 134: ld -T 800 -o tmp_aincd.st tmp_aincd.o tail.o
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.