|
|
1.1 root 1: #
2: # mkfile for assembly language stuff
3: # this should produce one .o per cpu type,
4: # containing both generic and cpu-specific stuff
5: # don't bother with lo*.s; it has to be done specially
6: # with the scb put out by mkconf
7: #
8: L=../lib
9: GEN= param.s traplist.s start.s boot.s icode.s access.s copy.s setjmp.s \
10: swtch.s trap.s misc.s udiv.s urem.s
11:
12: BVAX= clockparm.s trapbvax.s
13: UVAX= clockparm.s trapmflow.s
14:
15: all:V: $L/asstar.o $L/ascomet.o $L/asnaut.o \
16: $L/asuvemul.o $L/asmflow.o $L/asmfair.o
17:
18: traplist.s: ../sys/trap.h
19: grep ^#define $prereq | sed 's/#define[ ]*\([^ ]*\)[ ]*\([^ ]*\).*/ .set \1,\2/' >$target
20:
21: clockparm.s: ../sys/clock.h
22: grep ^#define $prereq | grep CLK | sed 's/#define[ ]*\([^ ]*\)[ ]*\([^ ]*\).*/ .set \1,\2/' >$target
23:
24: $L/asstar.o: $GEN $BVAX trapdw780.s trapstar.s
25: as -o $target $prereq
26: $L/ascomet.o: $GEN $BVAX trapcomet.s
27: as -o $target $prereq
28: $L/asnaut.o: $GEN $BVAX trapnaut.s
29: as -o $target $prereq
30: $L/asuvemul.o: emulate.s
31: /lib/cpp $prereq | as -o $target
32: $L/asmflow.o: $GEN $UVAX
33: as -o $target $prereq
34: $L/asmfair.o: $GEN $UVAX trapmfair.s
35: as -o $target $prereq
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.