Mercurial > hg > Members > kono > nitros9-code
annotate rules.mak @ 350:2c13557a04d6
Added code to read mouse info from init
author | boisy |
---|---|
date | Thu, 25 Jul 2002 01:01:16 +0000 |
parents | 2a7bfa7ce709 |
children | 71b60814fb01 |
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 |
ce65a48362d5
Added BASE macro, o2u/d2u now execute relative to hosttools
boisy
parents:
224
diff
changeset
|
5 BASEDIR = /home/boisy/os9 |
331 | 6 OS9TOOLSDIR = /home/boisy/bin |
7 | |
8 | |
9 #################### DO NOT CHANGE ANYTHING BELOW THIS LINE #################### | |
10 | |
299
ce65a48362d5
Added BASE macro, o2u/d2u now execute relative to hosttools
boisy
parents:
224
diff
changeset
|
11 |
0 | 12 # If we're using the OS-9 emulator and the *real* OS-9 assembler, |
13 # uncomment the following two lines. | |
14 #AS = os9 /mnt2/src/ocem/os9/asm | |
15 #ASOUT = o= | |
16 | |
17 # Use the cross assembler | |
331 | 18 AS = $(OS9TOOLSDIR)/os9asm |
0 | 19 ASOUT = -o= |
20 AFLAGS = -q | |
21 | |
22 # Commands | |
331 | 23 MAKDIR = mkdir |
224 | 24 RM = rm -f |
0 | 25 MERGE = cat |
26 ECHO = echo | |
331 | 27 CD = cd |
28 CP = cp | |
29 TAR = tar | |
0 | 30 CHMOD = chmod |
331 | 31 IDENT = $(OS9TOOLSDIR)/os9ident |
32 IDENT_SHORT = $(IDENT) -s | |
33 UNIX2OS9 = $(OS9TOOLSDIR)/u2o | |
34 OS92UNIX = $(OS9TOOLSDIR)/o2u | |
35 OS9FORMAT = $(OS9TOOLSDIR)/os9format | |
36 OS9GEN = $(OS9TOOLSDIR)/os9gen | |
37 PADROM = $(OS9TOOLSDIR)/os9padrom | |
38 MOUNT = sudo mount | |
39 UMOUNT = sudo umount | |
40 LOREMOVE = sudo /sbin/losetup -d | |
41 LOSETUP = sudo /sbin/losetup | |
42 LINK = ln | |
43 SOFTLINK = $(LINK) -s | |
0 | 44 |
45 # File managers | |
46 %.mn: %.asm | |
47 $(AS) $(AFLAGS) $< $(ASOUT)$@ | |
48 | |
49 # Device drivers | |
50 %.dr: %.asm | |
51 $(AS) $(AFLAGS) $< $(ASOUT)$@ | |
52 | |
53 # Device descriptors | |
54 %.dd: %.asm | |
55 $(AS) $(AFLAGS) $< $(ASOUT)$@ | |
56 | |
57 # Window device descriptors | |
58 %.dw: %.asm | |
59 $(AS) $(AFLAGS) $< $(ASOUT)$@ | |
60 | |
61 # Terminal device descriptors | |
62 %.dt: %.asm | |
63 $(AS) $(AFLAGS) $< $(ASOUT)$@ | |
64 | |
65 # I/O subroutines | |
66 %.io: %.asm | |
67 $(AS) $(AFLAGS) $< $(ASOUT)$@ | |
68 | |
69 # 60Hz clocks | |
70 %.60hz: %.asm | |
63 | 71 $(AS) -aTPS=60 $(AFLAGS) $< $(ASOUT)$@ |
0 | 72 |
73 # 50Hz clocks | |
74 %.50hz: %.asm | |
63 | 75 $(AS) -aTPS=50 $(AFLAGS) $< $(ASOUT)$@ |
0 | 76 |
77 # All other modules | |
78 %: %.asm | |
79 $(AS) $(AFLAGS) $< $(ASOUT)$@ | |
80 |