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
|
2050
|
7 AFLAGS += -I$(LEVEL2)/modules/kernel -I$(LEVEL1)/modules/kernel
|
2048
|
8
|
|
9 KERNEL = krn
|
|
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 \
|
|
14 freboot.asm fsrqmem.asm fssvc.asm fvmodul.asm \
|
|
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
|
|
21 ALLOBJS = $(KERNEL) $(KERNELP2)
|
|
22
|
|
23 all: $(ALLOBJS)
|
|
24
|
|
25 $(KERNEL): krn.asm $(SYSCALLS)
|
|
26
|
|
27 $(KERNELP2): krnp2.asm $(SYSCALLS)
|
|
28
|
|
29 clean:
|
|
30 $(RM) $(ALLOBJS)
|
|
31
|
|
32 showobjs:
|
|
33 @$(ECHO) $(ALLOBJS)
|
|
34
|
|
35 showcopyobjs:
|
|
36 @$(ECHO) $(COPYOBJS)
|
|
37
|
|
38 identify:
|
|
39 $(IDENT_SHORT) $(ALLOBJS)
|