view level3/coco3/modules/kernel/makefile @ 2916:56f26b87fa8a

Make level3 buildable again coco3: adapt to lwasm: change -a to -D and -i to -I rename scdwn* to scdwv take out missing freboot.asm, add fdebug.asm coco3_6309: added DW stuff from coco3 both: update defs files (like level2) coco3 and coco3_6309 are now almost identical (apart from the obvious -D6309) and should be factored out to avoid further bifurcation. However, there are some differences in bootfiles/makefile that someone should take a look at. The coco3 port does not currently build because of this.
author Tormod Volden <debian.tormod@gmail.com>
date Sun, 12 Jan 2014 12:45:56 +0100
parents 1addfd8c9d5f
children
line wrap: on
line source

PORT = coco3
include $(NITROS9DIR)/rules.mak

vpath %.asm $(LEVEL3)/modules/kernel:$(LEVEL2)/modules/kernel:$(LEVEL1)/modules/kernel

DEPENDS		= ./makefile
AFLAGS		+= -I$(LEVEL2)/modules/kernel -I$(LEVEL1)/modules/kernel

KERNEL		= krn
KERNELP2	= krnp2
SYSCALLS	= fallimg.asm fallram.asm falltsk.asm faproc.asm fcmpnam.asm \
		fcpymem.asm fdatlog.asm fdelram.asm ffmodul.asm ffreehb.asm \
		fld.asm fldabx.asm flink.asm fmove.asm fnproc.asm fprsnam.asm \
		fdebug.asm fsrqmem.asm fssvc.asm fvmodul.asm \
		fallbit.asm fallprc.asm fchain.asm fclrblk.asm fcrcmod.asm \
		fdelimg.asm fexit.asm ffind64.asm ffork.asm fgblkmp.asm \
		fgcmdir.asm fgmoddr.asm fgprdsc.asm fgprocp.asm ficpt.asm \
		fid.asm fmapblk.asm fmem.asm fsend.asm fsleep.asm fsprior.asm \
		fsswi.asm fstime.asm fsuser.asm funlink.asm funload.asm

ALLOBJS		= $(KERNEL) $(KERNELP2)

all:	$(ALLOBJS)

$(KERNEL):	krn.asm $(SYSCALLS)

$(KERNELP2):	krnp2.asm $(SYSCALLS)

clean:
	$(RM) $(ALLOBJS)

showobjs:
	@$(ECHO) $(ALLOBJS)

showcopyobjs:
	@$(ECHO) $(COPYOBJS)

identify:
	$(IDENT_SHORT) $(ALLOBJS)