view level2/coco3/sys/makefile @ 3210:6353bb024571

Created makefile and defsfile for NoCan RAMMER module driver and descriptor Updated rammer.asm in the NoCan driver folder to build the NoCan version of the Driver Updated r0.asm file to create the 6MB version of the descriptor. The makefile creates a disk image with two sets of the required drivers for the 6309 and 6809's in their respective module folders. /NITROS9/6309_L2/MODULES/RBF for the 6309 files and /NITROS9/6809_L2/MODULES/RBF for the 6809 files. This will make it easier for doing a dsave from this disk image into a normal distro disk image so people have these drivers ready for when new memory upgrades allow compatible usage of the NoCan registers.
author David Ladd <drencor-xeen@users.sourceforge.net>
date Wed, 20 Dec 2017 15:15:49 -0600
parents 8418259a032d
children 317a503d6180
line wrap: on
line source

include ../port.mak

vpath %.hp $(LEVEL2)/sys:$(LEVEL1)/sys
vpath %.asm $(LEVEL2)/sys

DEPENDS		= ./makefile

L1TXTFILES	= errmsg password
L2TXTFILES	= $(LEVEL2)/sys/motd
L2SYSGOTEXTFILES = $(LEVEL2)/sys/sysgo.cfg
BINFILES	= stdfonts stdpats_2 stdpats_4 stdpats_16 stdptrs \
		ibmedcfont isolatin1font
HELPFILES	= asm.hp attr.hp backup.hp binex.hp build.hp chd.hp \
		chx.hp cmp.hp cobbler.hp config.hp copy.hp cputype.hp date.hp \
		dcheck.hp debug.hp ded.hp deiniz.hp del.hp deldir.hp devs.hp \
		dir.hp dirsort.hp disasm.hp display.hp dmode.hp dsave.hp dump.hp echo.hp \
		edit.hp error.hp ex.hp exbin.hp format.hp free.hp gfx.hp \
		help.hp ident.hp iniz.hp inkey.hp irqs.hp kill.hp link.hp \
		list.hp load.hp login.hp makdir.hp \
		mdir.hp megaread.hp merge.hp minted.hp mpi.hp mfree.hp os9gen.hp \
		padrom.hp park.hp procs.hp prompt.hp pwd.hp pxd.hp \
		rename.hp save.hp setime.hp \
		setpr.hp shell.hp sleep.hp tee.hp tmode.hp touch.hp tsmon.hp \
		tuneport.hp unlink.hp verify.hp xmode.hp

# These are Level 2/3 only
HELPFILES	+= dmem.hp gfx2.hp grfdrv.hp basic09.hp runb.hp \
		wcreate.hp mmap.hp modpatch.hp montype.hp \
		pmap.hp proc.hp reboot.hp smap.hp

#HELPFILES	= make.hp maketerm.hp rdump.hp rlink.hp rma.hp scred.hp

HELPMSG		= helpmsg

TEXTFILES	= $(L2TXTFILES) $(HELPMSG) $(L1TXTFILES)
SYSGOTEXTFILES = $(L2SYSGOTEXTFILES)
ALLOBJS = $(TEXTFILES) $(SYSGOTEXTFILES) $(BINFILES) inetd.conf

all:	$(ALLOBJS) $(DEPENDS)

$(HELPMSG): $(HELPFILES)
	$(MERGE) $^ > $@

$(L1TXTFILES):
	$(SOFTLINK) -f $(LEVEL1)/sys/$@

inetd.conf:     $(LEVEL1)/sys/inetd.conf
	@sed -e 's/%TELNET_PORT%/$(TELNET_PORT)/' -e 's/%HTTPD_PORT%/$(HTTPD_PORT)/' $^ > $@

clean:
	$(RM) $(HELPMSG) $(L1TXTFILES) $(BINFILES) inetd.conf

showbinobjs:
	@$(ECHO) $(BINFILES)

showtextobjs:
	@$(ECHO) $(TEXTFILES) inetd.conf

showsysgotextobjs:
	@$(ECHO) $(SYSGOTEXTFILES)

showobjs:
	@$(ECHO) $(ALLOBJS)