annotate src/os9/level2/Makefile @ 71:eb9be32c701c

fix leval
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sun, 05 Aug 2018 22:17:44 +0900
parents 2088fd998865
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
41
0d570c55ebd4 fix for hg cloned nistros 9 code
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 37
diff changeset
1 OS9SRC=../nitros9-code
33
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
46
ec9f494497e1 vdisk fix
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 41
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 v0 vrbf
ec9f494497e1 vdisk fix
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 41
diff changeset
9
ec9f494497e1 vdisk fix
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 41
diff changeset
10 all : $(ALL)
71
eb9be32c701c fix leval
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 57
diff changeset
11 cd cmds ; make
6
9c2602e1d716 level2 rom done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
12
9c2602e1d716 level2 rom done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
13 clean :
71
eb9be32c701c fix leval
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 57
diff changeset
14 cd cmds ; make clean
46
ec9f494497e1 vdisk fix
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 41
diff changeset
15 rm -rf $(ALL) *.lst *.dSYM
6
9c2602e1d716 level2 rom done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
16
24
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 20
diff changeset
17 LST = -l $@.lst
11
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 8
diff changeset
18 pdisk :
24
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 20
diff changeset
19 $(A09) pdisk.asm -o pdisk $(LST) $(LST)
6
9c2602e1d716 level2 rom done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
20
11
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 8
diff changeset
21 boot : boot.asm
24
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 20
diff changeset
22 $(A09) boot.asm -o boot $(LST)
11
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 8
diff changeset
23
37
7baffb867d70 nitros9 level 1 worked
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 36
diff changeset
24 sysgo : sysgo.asm
7baffb867d70 nitros9 level 1 worked
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 36
diff changeset
25 $(A09) sysgo.asm -o sysgo $(LST)
6
9c2602e1d716 level2 rom done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
26
8
96a067cf4c4f level2 rom done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 7
diff changeset
27 init : init.asm
52
51b437557f42 boot without disk image
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 46
diff changeset
28 $(A09) init.asm -o $@ $(LST)
6
9c2602e1d716 level2 rom done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
29
11
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 8
diff changeset
30 vector : vector.asm
24
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 20
diff changeset
31 $(A09) vector.asm -o vector $(LST)
11
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 8
diff changeset
32
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 8
diff changeset
33 term : pty-dd.asm
24
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 20
diff changeset
34 $(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
35
11
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 8
diff changeset
36 d0 : d0.asm
24
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 20
diff changeset
37 $(A09) d0.asm -o d0 $(LST)
7
a6db579d8c11 level 2 rom preparing...
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 6
diff changeset
38
11
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 8
diff changeset
39 d1 : d1.asm
24
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 20
diff changeset
40 $(A09) d1.asm -o d1 $(LST)
7
a6db579d8c11 level 2 rom preparing...
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 6
diff changeset
41
46
ec9f494497e1 vdisk fix
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 41
diff changeset
42 v0 : v0.asm
ec9f494497e1 vdisk fix
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 41
diff changeset
43 $(A09) $@.asm -o $@ $(LST)
ec9f494497e1 vdisk fix
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 41
diff changeset
44
34
2032755628dc fix for nitros9
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 33
diff changeset
45 clock :
53
fe88cea67ef0 clock interrupt
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 52
diff changeset
46 $(A09) clock.asm -o clock $(LST)
7
a6db579d8c11 level 2 rom preparing...
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 6
diff changeset
47
a6db579d8c11 level 2 rom preparing...
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 6
diff changeset
48 pty :
31
bd2b07db8917 CoCoOS9 version
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 25
diff changeset
49 $(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
50
11
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 8
diff changeset
51 shell :
24
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 20
diff changeset
52 $(A09) ${SRCCMD}/shell_21.asm -o shell $(LST)
11
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 8
diff changeset
53
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 8
diff changeset
54 mdir :
33
7c5379eb406e nitors9 version
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
55 $(A09) ${SRCCMD2}/mdir.asm -o mdir $(LST)
11
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 8
diff changeset
56
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 8
diff changeset
57 dir :
24
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 20
diff changeset
58 $(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
59
6
9c2602e1d716 level2 rom done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
60 os9p1 :
33
7c5379eb406e nitors9 version
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
61 $(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
62
9c2602e1d716 level2 rom done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
63 os9p2 :
33
7c5379eb406e nitors9 version
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
64 $(A09) ${SRCDIR}/kernel/krnp2.asm -o os9p2 $(LST)
6
9c2602e1d716 level2 rom done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
65
9c2602e1d716 level2 rom done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
66 os9p3_perr :
33
7c5379eb406e nitors9 version
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
67 $(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
68
9c2602e1d716 level2 rom done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
69 os9p4_regdump :
33
7c5379eb406e nitors9 version
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
70 $(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
71
7
a6db579d8c11 level 2 rom preparing...
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 6
diff changeset
72 ioman :
24
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 20
diff changeset
73 $(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
74
6
9c2602e1d716 level2 rom done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
75 pipe :
33
7c5379eb406e nitors9 version
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
76 $(A09) $(OS9SRC)/level1/modules/pipe.asm -o $@ $(LST)
6
9c2602e1d716 level2 rom done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
77
9c2602e1d716 level2 rom done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
78 pipeman :
33
7c5379eb406e nitors9 version
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
79 $(A09) $(OS9SRC)/level1/modules/pipeman.asm -o $@ $(LST)
6
9c2602e1d716 level2 rom done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
80
9c2602e1d716 level2 rom done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
81 pipeman_named :
24
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 20
diff changeset
82 $(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
83
9c2602e1d716 level2 rom done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
84 piper :
33
7c5379eb406e nitors9 version
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
85 $(A09) $(OS9SRC)/level1/modules/piper.asm -o $@ $(LST)
6
9c2602e1d716 level2 rom done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
86
9c2602e1d716 level2 rom done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
87 rbf :
24
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 20
diff changeset
88 $(A09) ${SRCDIR}/rbf.asm -o rbf $(LST)
6
9c2602e1d716 level2 rom done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
89
46
ec9f494497e1 vdisk fix
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 41
diff changeset
90 vrbf : vrbf.asm
ec9f494497e1 vdisk fix
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 41
diff changeset
91 $(A09) vrbf.asm -o vrbf $(LST)
ec9f494497e1 vdisk fix
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 41
diff changeset
92
6
9c2602e1d716 level2 rom done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
93 scf :
33
7c5379eb406e nitors9 version
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
94 $(A09) $(OS9SRC)/level1/modules/scf.asm -o $@ $(LST)
6
9c2602e1d716 level2 rom done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
95