diff level2/coco3/modules/kernel/makefile @ 2048:127b30f90456

Added
author boisy
date Sun, 23 Apr 2006 17:44:50 +0000
parents
children d63587190d9b
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/level2/coco3/modules/kernel/makefile	Sun Apr 23 17:44:50 2006 +0000
@@ -0,0 +1,39 @@
+PORT = coco3
+include $(NITROS9DIR)/rules.mak
+
+vpath %.asm $(6809L2)/modules/kernel:$(6809L1)/modules/kernel
+
+DEPENDS		= ./makefile
+AFLAGS		+= -I$(6809L2)/modules/kernel -I$(6809L1)/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 \
+		freboot.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)