annotate os9/level2/Makefile @ 34:2032755628dc

fix for nitros9
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sun, 15 Jul 2018 14:18:19 +0900
parents 7c5379eb406e
children cc8c2c2464fe
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
33
7c5379eb406e nitors9 version
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
1 OS9SRC=../../../../nitros9-code
7c5379eb406e nitors9 version
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
2 SRCDIR=$(OS9SRC)/level2/modules
7c5379eb406e nitors9 version
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
3 SRCCMD=$(OS9SRC)/level1/cmds
7c5379eb406e nitors9 version
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
4 SRCCMD2=$(OS9SRC)/level2/cmds
6
9c2602e1d716 level2 rom done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
5
33
7c5379eb406e nitors9 version
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
6 A09 = ../../a09 -I $(OS9SRC)/defs/
6
9c2602e1d716 level2 rom done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
7
17
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
8 all : ioman pdisk init os9p1 os9p2 os9p3_perr os9p4_regdump pipe pipeman pipeman_named piper rbf scf term pty d0 d1 clock vector boot shell dir mdir sysgo
6
9c2602e1d716 level2 rom done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
9
9c2602e1d716 level2 rom done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
10 clean :
33
7c5379eb406e nitors9 version
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
11 rm -rf ioman pdisk init os9p1 os9p2 os9p3_perr os9p4_regdump pipe pipeman pipeman_named piper rbf scf term pty d0 d1 clock vector boot shell dir mdir sysgo *.lst *.dSYM
6
9c2602e1d716 level2 rom done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
12
24
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 20
diff changeset
13 LST = -l $@.lst
11
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 8
diff changeset
14 pdisk :
24
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 20
diff changeset
15 $(A09) pdisk.asm -o pdisk $(LST) $(LST)
6
9c2602e1d716 level2 rom done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
16
11
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 8
diff changeset
17 boot : boot.asm
24
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 20
diff changeset
18 $(A09) boot.asm -o boot $(LST)
11
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 8
diff changeset
19
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 8
diff changeset
20 sysgo : sysgo.asm
34
2032755628dc fix for nitros9
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 33
diff changeset
21 $(A09) ../level1/sysgo.asm -o sysgo $(LST)
6
9c2602e1d716 level2 rom done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
22
8
96a067cf4c4f level2 rom done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 7
diff changeset
23 init : init.asm
34
2032755628dc fix for nitros9
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 33
diff changeset
24 $(A09) ${OS9SRC}/level1/modules/init.asm -o $@ $(LST)
6
9c2602e1d716 level2 rom done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
25
11
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 8
diff changeset
26 vector : vector.asm
24
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 20
diff changeset
27 $(A09) vector.asm -o vector $(LST)
11
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 8
diff changeset
28
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 8
diff changeset
29 term : pty-dd.asm
24
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 20
diff changeset
30 $(A09) pty-dd.asm -o term $(LST)
7
a6db579d8c11 level 2 rom preparing...
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 6
diff changeset
31
11
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 8
diff changeset
32 d0 : d0.asm
24
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 20
diff changeset
33 $(A09) d0.asm -o d0 $(LST)
7
a6db579d8c11 level 2 rom preparing...
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 6
diff changeset
34
11
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 8
diff changeset
35 d1 : d1.asm
24
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 20
diff changeset
36 $(A09) d1.asm -o d1 $(LST)
7
a6db579d8c11 level 2 rom preparing...
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 6
diff changeset
37
34
2032755628dc fix for nitros9
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 33
diff changeset
38 clock :
2032755628dc fix for nitros9
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 33
diff changeset
39 $(A09) ../level1/clock.asm -o clock $(LST)
7
a6db579d8c11 level 2 rom preparing...
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 6
diff changeset
40
a6db579d8c11 level 2 rom preparing...
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 6
diff changeset
41 pty :
31
bd2b07db8917 CoCoOS9 version
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 25
diff changeset
42 $(A09) ../level1/pty.asm -o pty $(LST)
7
a6db579d8c11 level 2 rom preparing...
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 6
diff changeset
43
11
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 8
diff changeset
44 shell :
24
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 20
diff changeset
45 $(A09) ${SRCCMD}/shell_21.asm -o shell $(LST)
11
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 8
diff changeset
46
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 8
diff changeset
47 mdir :
33
7c5379eb406e nitors9 version
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
48 $(A09) ${SRCCMD2}/mdir.asm -o mdir $(LST)
11
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 8
diff changeset
49
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 8
diff changeset
50 dir :
24
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 20
diff changeset
51 $(A09) ${SRCCMD}/dir.asm -o dir $(LST)
7
a6db579d8c11 level 2 rom preparing...
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 6
diff changeset
52
6
9c2602e1d716 level2 rom done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
53 os9p1 :
33
7c5379eb406e nitors9 version
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
54 $(A09) -I $(OS9SRC)/level1/modules/kernel/ ${SRCDIR}/kernel/krn.asm -o os9p1 $(LST)
6
9c2602e1d716 level2 rom done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
55
9c2602e1d716 level2 rom done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
56 os9p2 :
33
7c5379eb406e nitors9 version
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
57 $(A09) ${SRCDIR}/kernel/krnp2.asm -o os9p2 $(LST)
6
9c2602e1d716 level2 rom done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
58
9c2602e1d716 level2 rom done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
59 os9p3_perr :
33
7c5379eb406e nitors9 version
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
60 $(A09) ${SRCDIR}/krnp3_perr.asm -o os9p3_perr $(LST)
6
9c2602e1d716 level2 rom done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
61
9c2602e1d716 level2 rom done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
62 os9p4_regdump :
33
7c5379eb406e nitors9 version
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
63 $(A09) ${SRCDIR}/krnp4_regdump.asm -o os9p4_regdump $(LST)
6
9c2602e1d716 level2 rom done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
64
7
a6db579d8c11 level 2 rom preparing...
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 6
diff changeset
65 ioman :
24
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 20
diff changeset
66 $(A09) ${SRCDIR}/ioman.asm -o ioman $(LST)
7
a6db579d8c11 level 2 rom preparing...
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 6
diff changeset
67
6
9c2602e1d716 level2 rom done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
68 pipe :
33
7c5379eb406e nitors9 version
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
69 $(A09) $(OS9SRC)/level1/modules/pipe.asm -o $@ $(LST)
6
9c2602e1d716 level2 rom done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
70
9c2602e1d716 level2 rom done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
71 pipeman :
33
7c5379eb406e nitors9 version
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
72 $(A09) $(OS9SRC)/level1/modules/pipeman.asm -o $@ $(LST)
6
9c2602e1d716 level2 rom done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
73
9c2602e1d716 level2 rom done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
74 pipeman_named :
24
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 20
diff changeset
75 $(A09) ${SRCDIR}/pipeman_named.asm -o pipeman_named $(LST)
6
9c2602e1d716 level2 rom done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
76
9c2602e1d716 level2 rom done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
77 piper :
33
7c5379eb406e nitors9 version
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
78 $(A09) $(OS9SRC)/level1/modules/piper.asm -o $@ $(LST)
6
9c2602e1d716 level2 rom done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
79
9c2602e1d716 level2 rom done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
80 rbf :
24
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 20
diff changeset
81 $(A09) ${SRCDIR}/rbf.asm -o rbf $(LST)
6
9c2602e1d716 level2 rom done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
82
9c2602e1d716 level2 rom done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
83 scf :
33
7c5379eb406e nitors9 version
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
84 $(A09) $(OS9SRC)/level1/modules/scf.asm -o $@ $(LST)
6
9c2602e1d716 level2 rom done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
85