Mercurial > hg > Members > kono > nitros9-code
annotate level2/coco3_6309/modules/kernel/makefile @ 3295:6b7a7b233925 default tip
makefile: Allow PORTS with level1/2 mix
https://sourceforge.net/p/nitros9/feature-requests/10/
author | Tormod Volden <debian.tormod@gmail.com> |
---|---|
date | Tue, 19 Apr 2022 18:12:17 +0200 |
parents | 94470c7cc95e |
children |
rev | line source |
---|---|
2048 | 1 PORT = coco3 |
2 include $(NITROS9DIR)/rules.mak | |
3 | |
2050 | 4 vpath %.asm $(LEVEL2)/modules/kernel:$(LEVEL1)/modules/kernel |
2048 | 5 |
6 DEPENDS = ./makefile | |
2669
53c42701f680
More parameter fixups for lwasm
William Astle <lost@l-w.ca>
parents:
2051
diff
changeset
|
7 AFLAGS += -DH6309=1 -I$(LEVEL2)/modules/kernel -I$(LEVEL1)/modules/kernel |
2048 | 8 |
9 KERNEL = krn | |
3105
94470c7cc95e
l2/6309: Add ccb to kernel makefile
Tormod Volden <debian.tormod@gmail.com>
parents:
2898
diff
changeset
|
10 KERNEL_CCB = ccbkrn |
2048 | 11 KERNELP2 = krnp2 |
12 SYSCALLS = fallimg.asm fallram.asm falltsk.asm faproc.asm fcmpnam.asm \ | |
13 fcpymem.asm fdatlog.asm fdelram.asm ffmodul.asm ffreehb.asm \ | |
14 fld.asm fldabx.asm flink.asm fmove.asm fnproc.asm fprsnam.asm \ | |
3105
94470c7cc95e
l2/6309: Add ccb to kernel makefile
Tormod Volden <debian.tormod@gmail.com>
parents:
2898
diff
changeset
|
15 fdebug.asm fssvc.asm fvmodul.asm \ |
2048 | 16 fallbit.asm fallprc.asm fchain.asm fclrblk.asm fcrcmod.asm \ |
17 fdelimg.asm fexit.asm ffind64.asm ffork.asm fgblkmp.asm \ | |
18 fgcmdir.asm fgmoddr.asm fgprdsc.asm fgprocp.asm ficpt.asm \ | |
19 fid.asm fmapblk.asm fmem.asm fsend.asm fsleep.asm fsprior.asm \ | |
20 fsswi.asm fstime.asm fsuser.asm funlink.asm funload.asm | |
21 | |
3105
94470c7cc95e
l2/6309: Add ccb to kernel makefile
Tormod Volden <debian.tormod@gmail.com>
parents:
2898
diff
changeset
|
22 ALLOBJS = $(KERNEL) $(KERNELP2) $(KERNEL_CCB) |
2048 | 23 |
24 all: $(ALLOBJS) | |
25 | |
3105
94470c7cc95e
l2/6309: Add ccb to kernel makefile
Tormod Volden <debian.tormod@gmail.com>
parents:
2898
diff
changeset
|
26 $(KERNEL): krn.asm $(SYSCALLS) fsrqmem.asm |
94470c7cc95e
l2/6309: Add ccb to kernel makefile
Tormod Volden <debian.tormod@gmail.com>
parents:
2898
diff
changeset
|
27 |
94470c7cc95e
l2/6309: Add ccb to kernel makefile
Tormod Volden <debian.tormod@gmail.com>
parents:
2898
diff
changeset
|
28 $(KERNEL_CCB): ccbkrn.asm $(SYSCALLS) ccbfsrqmem.asm |
2048 | 29 |
30 $(KERNELP2): krnp2.asm $(SYSCALLS) | |
31 | |
32 clean: | |
33 $(RM) $(ALLOBJS) | |
34 | |
35 showobjs: | |
36 @$(ECHO) $(ALLOBJS) | |
37 | |
38 showcopyobjs: | |
39 @$(ECHO) $(COPYOBJS) | |
40 | |
41 identify: | |
42 $(IDENT_SHORT) $(ALLOBJS) |