view level2/sys/makefile @ 1132:2690efca4eaf

More sensible changes to Mkaefiles
author boisy
date Mon, 14 Apr 2003 15:49:33 +0000
parents c847e6ee341d
children ee8d3667bc71
line wrap: on
line source

include ../../Makefile.rules

vpath %.hp $(LEVEL1)/SYS

DEPENDS		= ./Makefile

SYSTXTFILES	= motd
SYSBINFILES	= stdfonts stdpats_2 stdpats_4 stdpats_16 stdptrs
L1TXTFILES	= errmsg password
L1HELPFILES	= asm.hp attr.hp backup.hp binex.hp build.hp chd.hp \
		chx.hp cmp.hp cobbler.hp config.hp copy.hp date.hp \
		dcheck.hp debug.hp deiniz.hp del.hp deldir.hp dir.hp \
		display.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 kill.hp link.hp list.hp load.hp login.hp makdir.hp \
		mdir.hp merge.hp mfree.hp os9gen.hp \
		park.hp procs.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
L2HELPFILES	= basic09.hp gfx2.hp grfdrv.hp make.hp maketerm.hp \
		modpatch.hp montype.hp rdump.hp rlink.hp rma.hp runb.hp \
		scred.hp wcreate.hp

HELPMSG		= helpmsg

TEXTFILES	= $(SYSTXTFILES) $(HELPMSG) $(L1TXTFILES)
BINFILES	= $(SYSBINFILES)
ALLOBJS		= $(TEXTFILES) $(BINFILES)

all:	$(ALLOBJS) $(DEPENDS)

$(HELPMSG): $(L1HELPFILES) $(L2HELPFILES)
	$(MERGE) $^ > $@

#$(L1HELPFILES): $(LEVEL1)/SYS/$@
#	-$(SOFTLINK) $(LEVEL1)/SYS/$@

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

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

showbinobjs:
	@$(ECHO) $(BINFILES)

showtextobjs:
	@$(ECHO) $(TEXTFILES)

showobjs:
	@$(ECHO) $(ALLOBJS)