Mercurial > hg > Members > kono > nitros9-code
annotate level2/coco3/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 | 5095f2b3c81a |
children |
rev | line source |
---|---|
3135
5095f2b3c81a
coco3: Use port.mak correctly in makefiles
Tormod Volden <debian.tormod@gmail.com>
parents:
3105
diff
changeset
|
1 include ../../port.mak |
2048 | 2 |
2050 | 3 vpath %.asm $(LEVEL2)/modules/kernel:$(LEVEL1)/modules/kernel |
2048 | 4 |
5 DEPENDS = ./makefile | |
2050 | 6 AFLAGS += -I$(LEVEL2)/modules/kernel -I$(LEVEL1)/modules/kernel |
2048 | 7 |
8 KERNEL = krn | |
2615
530759e9f289
Added ccbkrn from Brett Gordon (level 2 only for now)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2050
diff
changeset
|
9 KERNEL_CCB = ccbkrn |
2048 | 10 KERNELP2 = krnp2 |
11 SYSCALLS = fallimg.asm fallram.asm falltsk.asm faproc.asm fcmpnam.asm \ | |
12 fcpymem.asm fdatlog.asm fdelram.asm ffmodul.asm ffreehb.asm \ | |
13 fld.asm fldabx.asm flink.asm fmove.asm fnproc.asm fprsnam.asm \ | |
2829 | 14 fdebug.asm fssvc.asm fvmodul.asm \ |
2048 | 15 fallbit.asm fallprc.asm fchain.asm fclrblk.asm fcrcmod.asm \ |
16 fdelimg.asm fexit.asm ffind64.asm ffork.asm fgblkmp.asm \ | |
17 fgcmdir.asm fgmoddr.asm fgprdsc.asm fgprocp.asm ficpt.asm \ | |
18 fid.asm fmapblk.asm fmem.asm fsend.asm fsleep.asm fsprior.asm \ | |
19 fsswi.asm fstime.asm fsuser.asm funlink.asm funload.asm | |
20 | |
3104
f0aaf9c29516
makefiles: Use host copy tool for copying files in build tree
Tormod Volden <debian.tormod@gmail.com>
parents:
2898
diff
changeset
|
21 ALLOBJS = $(KERNEL) $(KERNELP2) $(KERNEL_CCB) |
2048 | 22 |
23 all: $(ALLOBJS) | |
24 | |
2615
530759e9f289
Added ccbkrn from Brett Gordon (level 2 only for now)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2050
diff
changeset
|
25 $(KERNEL): krn.asm $(SYSCALLS) fsrqmem.asm |
530759e9f289
Added ccbkrn from Brett Gordon (level 2 only for now)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2050
diff
changeset
|
26 |
530759e9f289
Added ccbkrn from Brett Gordon (level 2 only for now)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2050
diff
changeset
|
27 $(KERNEL_CCB): ccbkrn.asm $(SYSCALLS) ccbfsrqmem.asm |
2048 | 28 |
29 $(KERNELP2): krnp2.asm $(SYSCALLS) | |
30 | |
31 clean: | |
32 $(RM) $(ALLOBJS) | |
33 | |
34 showobjs: | |
35 @$(ECHO) $(ALLOBJS) | |
36 | |
37 showcopyobjs: | |
38 @$(ECHO) $(COPYOBJS) | |
39 | |
40 identify: | |
41 $(IDENT_SHORT) $(ALLOBJS) |