view level1/atari/sys/makefile @ 2791:0df4a4590bc6 lwtools-port

Updated level2/coco3/cmds/makefile to set correct lib file based on H6309 tag. Updated level2/coco3/cmds/makefile to detect if H6309 is present and if so to use the sys6309l2.a lib file and if the value is not set then use sys6809l2.a lib file.
author drencor-xeen
date Sun, 27 Jan 2013 10:41:30 -0600
parents f4870404ccc9
children 99fac4bd9c41
line wrap: on
line source

PORT = atari
include $(NITROS9DIR)/rules.mak
TELNET_PORT	= 6802

vpath %.hp	$(LEVEL1)/sys

DEPENDS		= ./makefile

SYSFILES	= ../../sys/errmsg ../../sys/motd ../../sys/password inetd.conf
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 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
HELPMSG		= helpmsg
ALLOBJS		= $(SYSFILES) $(HELPMSG)


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

all:	$(ALLOBJS) $(DEPENDS)

alldragon: $(ALLOBJS)

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

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

showobjs:
	@$(ECHO) $(ALLOBJS)