Mercurial > hg > Members > kono > nitros9-code
annotate rules.mak @ 408:8de0ac44cbbd
Mistakenly set scsiid to 64 for ID 5, should be 32
author | boisy |
---|---|
date | Wed, 04 Sep 2002 14:08:29 +0000 |
parents | 5f44464f7a4b |
children | e81cac091c79 |
rev | line source |
---|---|
0 | 1 # Rules for making OS-9/6X09 modules |
2 | |
331 | 3 # These macros should change according to where the base directory of the |
299
ce65a48362d5
Added BASE macro, o2u/d2u now execute relative to hosttools
boisy
parents:
224
diff
changeset
|
4 # OS-9 source tree is located |
379 | 5 BASEDIR = $(HOME)/os9 |
6 OS9TOOLSDIR = $(HOME)/bin | |
7 DEFDIR = $(BASEDIR)/defs | |
331 | 8 |
9 | |
10 #################### DO NOT CHANGE ANYTHING BELOW THIS LINE #################### | |
11 | |
299
ce65a48362d5
Added BASE macro, o2u/d2u now execute relative to hosttools
boisy
parents:
224
diff
changeset
|
12 |
0 | 13 # If we're using the OS-9 emulator and the *real* OS-9 assembler, |
14 # uncomment the following two lines. | |
15 #AS = os9 /mnt2/src/ocem/os9/asm | |
16 #ASOUT = o= | |
17 | |
18 # Use the cross assembler | |
379 | 19 AS = $(OS9TOOLSDIR)/os9asm -i=$(DEFDIR) |
0 | 20 ASOUT = -o= |
21 AFLAGS = -q | |
22 | |
23 # Commands | |
374 | 24 MAKDIR = $(OS9TOOLSDIR)/os9makdir |
224 | 25 RM = rm -f |
0 | 26 MERGE = cat |
27 ECHO = echo | |
331 | 28 CD = cd |
374 | 29 CP = $(OS9TOOLSDIR)/os9copy |
331 | 30 TAR = tar |
0 | 31 CHMOD = chmod |
331 | 32 IDENT = $(OS9TOOLSDIR)/os9ident |
33 IDENT_SHORT = $(IDENT) -s | |
34 UNIX2OS9 = $(OS9TOOLSDIR)/u2o | |
35 OS92UNIX = $(OS9TOOLSDIR)/o2u | |
36 OS9FORMAT = $(OS9TOOLSDIR)/os9format | |
37 OS9GEN = $(OS9TOOLSDIR)/os9gen | |
38 PADROM = $(OS9TOOLSDIR)/os9padrom | |
39 MOUNT = sudo mount | |
40 UMOUNT = sudo umount | |
41 LOREMOVE = sudo /sbin/losetup -d | |
42 LOSETUP = sudo /sbin/losetup | |
43 LINK = ln | |
44 SOFTLINK = $(LINK) -s | |
374 | 45 ZIP = zip -D |
0 | 46 |
355 | 47 # Directories |
48 3RDPARTY = $(BASEDIR)/3rdparty | |
49 LEVEL1 = $(BASEDIR)/level1 | |
50 LEVEL2 = $(BASEDIR)/level2v3 | |
378 | 51 NLEVEL2 = $(BASEDIR)/nitros |
355 | 52 |
0 | 53 # File managers |
54 %.mn: %.asm | |
55 $(AS) $(AFLAGS) $< $(ASOUT)$@ | |
56 | |
57 # Device drivers | |
58 %.dr: %.asm | |
59 $(AS) $(AFLAGS) $< $(ASOUT)$@ | |
60 | |
61 # Device descriptors | |
62 %.dd: %.asm | |
63 $(AS) $(AFLAGS) $< $(ASOUT)$@ | |
64 | |
65 # Window device descriptors | |
66 %.dw: %.asm | |
67 $(AS) $(AFLAGS) $< $(ASOUT)$@ | |
68 | |
69 # Terminal device descriptors | |
70 %.dt: %.asm | |
71 $(AS) $(AFLAGS) $< $(ASOUT)$@ | |
72 | |
73 # I/O subroutines | |
74 %.io: %.asm | |
75 $(AS) $(AFLAGS) $< $(ASOUT)$@ | |
76 | |
77 # 60Hz clocks | |
78 %.60hz: %.asm | |
63 | 79 $(AS) -aTPS=60 $(AFLAGS) $< $(ASOUT)$@ |
0 | 80 |
81 # 50Hz clocks | |
82 %.50hz: %.asm | |
63 | 83 $(AS) -aTPS=50 $(AFLAGS) $< $(ASOUT)$@ |
0 | 84 |
85 # All other modules | |
86 %: %.asm | |
87 $(AS) $(AFLAGS) $< $(ASOUT)$@ | |
88 |