Mercurial > hg > Members > kono > nitros9-code
annotate level2/coco3/bootroms/makefile @ 3135:5095f2b3c81a
coco3: Use port.mak correctly in makefiles
The coco3 makefiles are used by other ports too, so they must not
override settings from the port.mak files.
author | Tormod Volden <debian.tormod@gmail.com> |
---|---|
date | Sat, 04 Feb 2017 02:10:31 +0100 |
parents | 28ed72477814 |
children |
rev | line source |
---|---|
3135
5095f2b3c81a
coco3: Use port.mak correctly in makefiles
Tormod Volden <debian.tormod@gmail.com>
parents:
2898
diff
changeset
|
1 include ../port.mak |
2609
9dd4f422aac7
Added NitrOS-9 ROM Kit from Cloud-9
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
2 |
9dd4f422aac7
Added NitrOS-9 ROM Kit from Cloud-9
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
3 # Module directory |
9dd4f422aac7
Added NitrOS-9 ROM Kit from Cloud-9
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
4 MD = ../modules |
9dd4f422aac7
Added NitrOS-9 ROM Kit from Cloud-9
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
5 # Commands directory |
2847
d9cf60ca6dc3
Makefiles: Avoid double use of CD variable
Tormod Volden <debian.tormod@gmail.com>
parents:
2610
diff
changeset
|
6 CMDSDIR = ../cmds |
2609
9dd4f422aac7
Added NitrOS-9 ROM Kit from Cloud-9
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
7 |
9dd4f422aac7
Added NitrOS-9 ROM Kit from Cloud-9
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
8 DEPENDS = ./makefile |
9dd4f422aac7
Added NitrOS-9 ROM Kit from Cloud-9
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
9 |
9dd4f422aac7
Added NitrOS-9 ROM Kit from Cloud-9
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
10 KERNEL_ROM = $(MD)/rel_32 $(MD)/boot_rom $(MD)/krn |
9dd4f422aac7
Added NitrOS-9 ROM Kit from Cloud-9
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
11 |
9dd4f422aac7
Added NitrOS-9 ROM Kit from Cloud-9
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
12 BOOTFILE_ROM = $(MD)/rominfo $(MD)/krnp2 $(MD)/ioman $(MD)/init \ |
9dd4f422aac7
Added NitrOS-9 ROM Kit from Cloud-9
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
13 $(MD)/scf.mn $(MD)/vtio.dr \ |
9dd4f422aac7
Added NitrOS-9 ROM Kit from Cloud-9
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
14 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \ |
9dd4f422aac7
Added NitrOS-9 ROM Kit from Cloud-9
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
15 $(MD)/covdg.io \ |
9dd4f422aac7
Added NitrOS-9 ROM Kit from Cloud-9
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
16 $(MD)/term_vdg.dt \ |
9dd4f422aac7
Added NitrOS-9 ROM Kit from Cloud-9
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
17 $(MD)/clock_60hz $(MD)/clock2_soft \ |
2610
0db361fd74df
Added NitrOS-9 Arcade Pak
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2609
diff
changeset
|
18 $(MD)/sysgo_rom \ |
2847
d9cf60ca6dc3
Makefiles: Avoid double use of CD variable
Tormod Volden <debian.tormod@gmail.com>
parents:
2610
diff
changeset
|
19 $(CMDSDIR)/shell_21 \ |
d9cf60ca6dc3
Makefiles: Avoid double use of CD variable
Tormod Volden <debian.tormod@gmail.com>
parents:
2610
diff
changeset
|
20 $(CMDSDIR)/mdir |
2609
9dd4f422aac7
Added NitrOS-9 ROM Kit from Cloud-9
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
21 |
9dd4f422aac7
Added NitrOS-9 ROM Kit from Cloud-9
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
22 BOOTROMS = nos96809l2.rom |
9dd4f422aac7
Added NitrOS-9 ROM Kit from Cloud-9
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
23 KERNELS = kernel_rom |
9dd4f422aac7
Added NitrOS-9 ROM Kit from Cloud-9
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
24 |
9dd4f422aac7
Added NitrOS-9 ROM Kit from Cloud-9
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
25 ALLROMS = $(BOOTROMS) |
9dd4f422aac7
Added NitrOS-9 ROM Kit from Cloud-9
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
26 |
9dd4f422aac7
Added NitrOS-9 ROM Kit from Cloud-9
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
27 all: $(ALLROMS) |
9dd4f422aac7
Added NitrOS-9 ROM Kit from Cloud-9
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
28 |
9dd4f422aac7
Added NitrOS-9 ROM Kit from Cloud-9
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
29 # Bootfiles |
9dd4f422aac7
Added NitrOS-9 ROM Kit from Cloud-9
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
30 nos96809l2.rom: $(BOOTFILE_ROM) $(KERNEL_ROM) $(DEPENDS) |
9dd4f422aac7
Added NitrOS-9 ROM Kit from Cloud-9
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
31 $(MERGE) $(BOOTFILE_ROM)>$@.tmp |
9dd4f422aac7
Added NitrOS-9 ROM Kit from Cloud-9
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
32 $(PADROM) 27648 $@.tmp |
9dd4f422aac7
Added NitrOS-9 ROM Kit from Cloud-9
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
33 $(MERGE) $@.tmp $(KERNEL_ROM)>$@.tmp2 |
9dd4f422aac7
Added NitrOS-9 ROM Kit from Cloud-9
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
34 $(PADROM) 32752 $@.tmp2 |
9dd4f422aac7
Added NitrOS-9 ROM Kit from Cloud-9
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
35 $(MERGE) $@.tmp2 $(MD)/vectors>$@ |
9dd4f422aac7
Added NitrOS-9 ROM Kit from Cloud-9
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
36 $(RM) $@.tmp $@.tmp2 |
9dd4f422aac7
Added NitrOS-9 ROM Kit from Cloud-9
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
37 |
9dd4f422aac7
Added NitrOS-9 ROM Kit from Cloud-9
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
38 |
9dd4f422aac7
Added NitrOS-9 ROM Kit from Cloud-9
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
39 # Kernels |
9dd4f422aac7
Added NitrOS-9 ROM Kit from Cloud-9
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
40 kernel_rom: $(KERNEL_ROM) $(DEPENDS) |
9dd4f422aac7
Added NitrOS-9 ROM Kit from Cloud-9
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
41 $(MERGE) $(KERNEL_ROM)>$@ |
9dd4f422aac7
Added NitrOS-9 ROM Kit from Cloud-9
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
42 |
9dd4f422aac7
Added NitrOS-9 ROM Kit from Cloud-9
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
43 clean: |
9dd4f422aac7
Added NitrOS-9 ROM Kit from Cloud-9
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
44 $(RM) $(ALLROMS) $(KERNELS) |
9dd4f422aac7
Added NitrOS-9 ROM Kit from Cloud-9
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
45 |