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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
boisy
parents:
diff changeset
2
2050
d63587190d9b For porting
boisy
parents: 2048
diff changeset
3 vpath %.asm $(LEVEL2)/modules/kernel:$(LEVEL1)/modules/kernel
2048
boisy
parents:
diff changeset
4
boisy
parents:
diff changeset
5 DEPENDS = ./makefile
2050
d63587190d9b For porting
boisy
parents: 2048
diff changeset
6 AFLAGS += -I$(LEVEL2)/modules/kernel -I$(LEVEL1)/modules/kernel
2048
boisy
parents:
diff changeset
7
boisy
parents:
diff changeset
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
boisy
parents:
diff changeset
10 KERNELP2 = krnp2
boisy
parents:
diff changeset
11 SYSCALLS = fallimg.asm fallram.asm falltsk.asm faproc.asm fcmpnam.asm \
boisy
parents:
diff changeset
12 fcpymem.asm fdatlog.asm fdelram.asm ffmodul.asm ffreehb.asm \
boisy
parents:
diff changeset
13 fld.asm fldabx.asm flink.asm fmove.asm fnproc.asm fprsnam.asm \
2829
ed9a4cb85fb3 Fixed makefiles and defsfile for level 3
boisy
parents: 2655
diff changeset
14 fdebug.asm fssvc.asm fvmodul.asm \
2048
boisy
parents:
diff changeset
15 fallbit.asm fallprc.asm fchain.asm fclrblk.asm fcrcmod.asm \
boisy
parents:
diff changeset
16 fdelimg.asm fexit.asm ffind64.asm ffork.asm fgblkmp.asm \
boisy
parents:
diff changeset
17 fgcmdir.asm fgmoddr.asm fgprdsc.asm fgprocp.asm ficpt.asm \
boisy
parents:
diff changeset
18 fid.asm fmapblk.asm fmem.asm fsend.asm fsleep.asm fsprior.asm \
boisy
parents:
diff changeset
19 fsswi.asm fstime.asm fsuser.asm funlink.asm funload.asm
boisy
parents:
diff changeset
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
boisy
parents:
diff changeset
22
boisy
parents:
diff changeset
23 all: $(ALLOBJS)
boisy
parents:
diff changeset
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
boisy
parents:
diff changeset
28
boisy
parents:
diff changeset
29 $(KERNELP2): krnp2.asm $(SYSCALLS)
boisy
parents:
diff changeset
30
boisy
parents:
diff changeset
31 clean:
boisy
parents:
diff changeset
32 $(RM) $(ALLOBJS)
boisy
parents:
diff changeset
33
boisy
parents:
diff changeset
34 showobjs:
boisy
parents:
diff changeset
35 @$(ECHO) $(ALLOBJS)
boisy
parents:
diff changeset
36
boisy
parents:
diff changeset
37 showcopyobjs:
boisy
parents:
diff changeset
38 @$(ECHO) $(COPYOBJS)
boisy
parents:
diff changeset
39
boisy
parents:
diff changeset
40 identify:
boisy
parents:
diff changeset
41 $(IDENT_SHORT) $(ALLOBJS)