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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2048
boisy
parents:
diff changeset
1 PORT = coco3
boisy
parents:
diff changeset
2 include $(NITROS9DIR)/rules.mak
boisy
parents:
diff changeset
3
2050
d63587190d9b For porting
boisy
parents: 2048
diff changeset
4 vpath %.asm $(LEVEL2)/modules/kernel:$(LEVEL1)/modules/kernel
2048
boisy
parents:
diff changeset
5
boisy
parents:
diff changeset
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
boisy
parents:
diff changeset
8
boisy
parents:
diff changeset
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
boisy
parents:
diff changeset
11 KERNELP2 = krnp2
boisy
parents:
diff changeset
12 SYSCALLS = fallimg.asm fallram.asm falltsk.asm faproc.asm fcmpnam.asm \
boisy
parents:
diff changeset
13 fcpymem.asm fdatlog.asm fdelram.asm ffmodul.asm ffreehb.asm \
boisy
parents:
diff changeset
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
boisy
parents:
diff changeset
16 fallbit.asm fallprc.asm fchain.asm fclrblk.asm fcrcmod.asm \
boisy
parents:
diff changeset
17 fdelimg.asm fexit.asm ffind64.asm ffork.asm fgblkmp.asm \
boisy
parents:
diff changeset
18 fgcmdir.asm fgmoddr.asm fgprdsc.asm fgprocp.asm ficpt.asm \
boisy
parents:
diff changeset
19 fid.asm fmapblk.asm fmem.asm fsend.asm fsleep.asm fsprior.asm \
boisy
parents:
diff changeset
20 fsswi.asm fstime.asm fsuser.asm funlink.asm funload.asm
boisy
parents:
diff changeset
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
boisy
parents:
diff changeset
23
boisy
parents:
diff changeset
24 all: $(ALLOBJS)
boisy
parents:
diff changeset
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
boisy
parents:
diff changeset
29
boisy
parents:
diff changeset
30 $(KERNELP2): krnp2.asm $(SYSCALLS)
boisy
parents:
diff changeset
31
boisy
parents:
diff changeset
32 clean:
boisy
parents:
diff changeset
33 $(RM) $(ALLOBJS)
boisy
parents:
diff changeset
34
boisy
parents:
diff changeset
35 showobjs:
boisy
parents:
diff changeset
36 @$(ECHO) $(ALLOBJS)
boisy
parents:
diff changeset
37
boisy
parents:
diff changeset
38 showcopyobjs:
boisy
parents:
diff changeset
39 @$(ECHO) $(COPYOBJS)
boisy
parents:
diff changeset
40
boisy
parents:
diff changeset
41 identify:
boisy
parents:
diff changeset
42 $(IDENT_SHORT) $(ALLOBJS)