view level2/sys/makefile @ 1155:bee0d880d878

Cleaned up
author boisy
date Wed, 30 Apr 2003 15:41:35 +0000
parents ee8d3667bc71
children a3d0ac951684
line wrap: on
line source

include ../../Makefile.rules

vpath %.hp $(LEVEL1)/SYS

DEPENDS		= ./Makefile

L1TXTFILES	= errmsg password
L2TXTFILES	= motd
L2BINFILES	= stdfonts stdpats_2 stdpats_4 stdpats_16 stdptrs
HELPFILES	= asm.hp attr.hp \
		backup.hp basic09.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 dirm.hp disasm.hp display.hp dmem.hp dmode.hp dsave.hp dump.hp \
		echo.hp edit.hp error.hp ex.hp exbin.hp exmode.hp \
		format.hp free.hp \
		gfx.hp gfx2.hp grfdrv.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 merge.hp mfree.hp mmap.hp modpatch.hp montype.hp \
		os9gen.hp \
		park.hp pmap.hp proc.hp procs.hp pwd.hp pxd.hp \
		reboot.hp rename.hp runb.hp \
		save.hp setime.hp setpr.hp shell.hp sleep.hp smap.hp \
		tee.hp tmode.hp touch.hp tsmon.hp tuneport.hp \
		unlink.hp \
		verify.hp \
		wcreate.hp \
		xmode.hp

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

HELPMSG		= helpmsg

TEXTFILES	= $(L2TXTFILES) $(HELPMSG) $(L1TXTFILES)
BINFILES	= $(L2BINFILES)
ALLOBJS		= $(TEXTFILES) $(BINFILES)

all:	$(ALLOBJS) $(DEPENDS)

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

$(L1TXTFILES): $(LEVEL1)/SYS/$@
	-$(SOFTLINK) $(LEVEL1)/SYS/$@

clean:
	$(RM) $(HELPMSG) $(L1TXTFILES)

showbinobjs:
	@$(ECHO) $(BINFILES)

showtextobjs:
	@$(ECHO) $(TEXTFILES)

showobjs:
	@$(ECHO) $(ALLOBJS)