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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1 # Rules for making OS-9/6X09 modules
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
2
331
2a7bfa7ce709 Makefile rules updated
boisy
parents: 299
diff changeset
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
2a7bfa7ce709 Makefile rules updated
boisy
parents: 299
diff changeset
6 OS9TOOLSDIR = /home/boisy/bin
2a7bfa7ce709 Makefile rules updated
boisy
parents: 299
diff changeset
7
2a7bfa7ce709 Makefile rules updated
boisy
parents: 299
diff changeset
8
2a7bfa7ce709 Makefile rules updated
boisy
parents: 299
diff changeset
9 #################### DO NOT CHANGE ANYTHING BELOW THIS LINE ####################
2a7bfa7ce709 Makefile rules updated
boisy
parents: 299
diff changeset
10
299
ce65a48362d5 Added BASE macro, o2u/d2u now execute relative to hosttools
boisy
parents: 224
diff changeset
11
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
12 # If we're using the OS-9 emulator and the *real* OS-9 assembler,
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
13 # uncomment the following two lines.
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
14 #AS = os9 /mnt2/src/ocem/os9/asm
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
15 #ASOUT = o=
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
16
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
17 # Use the cross assembler
331
2a7bfa7ce709 Makefile rules updated
boisy
parents: 299
diff changeset
18 AS = $(OS9TOOLSDIR)/os9asm
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
19 ASOUT = -o=
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
20 AFLAGS = -q
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
21
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
22 # Commands
331
2a7bfa7ce709 Makefile rules updated
boisy
parents: 299
diff changeset
23 MAKDIR = mkdir
224
d5c4d7584bb6 Added -f to rm
boisy
parents: 108
diff changeset
24 RM = rm -f
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
25 MERGE = cat
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
26 ECHO = echo
331
2a7bfa7ce709 Makefile rules updated
boisy
parents: 299
diff changeset
27 CD = cd
2a7bfa7ce709 Makefile rules updated
boisy
parents: 299
diff changeset
28 CP = cp
2a7bfa7ce709 Makefile rules updated
boisy
parents: 299
diff changeset
29 TAR = tar
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
30 CHMOD = chmod
331
2a7bfa7ce709 Makefile rules updated
boisy
parents: 299
diff changeset
31 IDENT = $(OS9TOOLSDIR)/os9ident
2a7bfa7ce709 Makefile rules updated
boisy
parents: 299
diff changeset
32 IDENT_SHORT = $(IDENT) -s
2a7bfa7ce709 Makefile rules updated
boisy
parents: 299
diff changeset
33 UNIX2OS9 = $(OS9TOOLSDIR)/u2o
2a7bfa7ce709 Makefile rules updated
boisy
parents: 299
diff changeset
34 OS92UNIX = $(OS9TOOLSDIR)/o2u
2a7bfa7ce709 Makefile rules updated
boisy
parents: 299
diff changeset
35 OS9FORMAT = $(OS9TOOLSDIR)/os9format
2a7bfa7ce709 Makefile rules updated
boisy
parents: 299
diff changeset
36 OS9GEN = $(OS9TOOLSDIR)/os9gen
2a7bfa7ce709 Makefile rules updated
boisy
parents: 299
diff changeset
37 PADROM = $(OS9TOOLSDIR)/os9padrom
2a7bfa7ce709 Makefile rules updated
boisy
parents: 299
diff changeset
38 MOUNT = sudo mount
2a7bfa7ce709 Makefile rules updated
boisy
parents: 299
diff changeset
39 UMOUNT = sudo umount
2a7bfa7ce709 Makefile rules updated
boisy
parents: 299
diff changeset
40 LOREMOVE = sudo /sbin/losetup -d
2a7bfa7ce709 Makefile rules updated
boisy
parents: 299
diff changeset
41 LOSETUP = sudo /sbin/losetup
2a7bfa7ce709 Makefile rules updated
boisy
parents: 299
diff changeset
42 LINK = ln
2a7bfa7ce709 Makefile rules updated
boisy
parents: 299
diff changeset
43 SOFTLINK = $(LINK) -s
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
44
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
45 # File managers
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
46 %.mn: %.asm
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
47 $(AS) $(AFLAGS) $< $(ASOUT)$@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
48
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
49 # Device drivers
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
50 %.dr: %.asm
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
51 $(AS) $(AFLAGS) $< $(ASOUT)$@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
52
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
53 # Device descriptors
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
54 %.dd: %.asm
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
55 $(AS) $(AFLAGS) $< $(ASOUT)$@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
56
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
57 # Window device descriptors
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
58 %.dw: %.asm
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
59 $(AS) $(AFLAGS) $< $(ASOUT)$@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
60
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
61 # Terminal device descriptors
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
62 %.dt: %.asm
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
63 $(AS) $(AFLAGS) $< $(ASOUT)$@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
64
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
65 # I/O subroutines
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
66 %.io: %.asm
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
67 $(AS) $(AFLAGS) $< $(ASOUT)$@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
68
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
69 # 60Hz clocks
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
70 %.60hz: %.asm
63
4ceb0578f0d1 Changed TkPerSec to TPS
boisy
parents: 0
diff changeset
71 $(AS) -aTPS=60 $(AFLAGS) $< $(ASOUT)$@
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
72
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
73 # 50Hz clocks
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
74 %.50hz: %.asm
63
4ceb0578f0d1 Changed TkPerSec to TPS
boisy
parents: 0
diff changeset
75 $(AS) -aTPS=50 $(AFLAGS) $< $(ASOUT)$@
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
76
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
77 # All other modules
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
78 %: %.asm
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
79 $(AS) $(AFLAGS) $< $(ASOUT)$@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
80