view level2/cmds/makefile @ 160:0bdd24a428fb

These files are identical to level1 commands
author roug
date Mon, 08 Jul 2002 19:25:22 +0000
parents 5679e0d70acf
children fed96c42e0b4
line wrap: on
line source

include ../../Makefile.rules

DEPENDS		= ./Makefile

CMDS		= attr binex build cobbler copy date \
		deiniz del deldir ddir dir dirm display dmem dump echo exbin \
		free ident idir iniz link list load login makdir mdir \
		merge mfree mmap montype pmap proc procs pwd pxd rename save \
		setime shell_21 sleep swread swset tee tmode tsmon unlink \
		verify wcreate xmode
SUBS            = gfx inkey
ALLOBJS		= $(CMDS) $(SUBS)

SHELLMODS	= shell_21 build copy date deiniz del dir display echo iniz \
		link list load mdir merge mfree procs tmode unlink
UTILPAK1        = attr deldir dirm dmem free ident mmap proc rename setime tmode
UTILPAK2        = ddir idir pmap xmode

LEVEL1FILES	= binex.asm del.asm deldir.asm \
		echo.asm exbin.asm ident.asm link.asm \
		list.asm load.asm pwd.asm pxd.asm \
		save.asm sleep.asm tee.asm verify.asm

LEVEL2FILES	= attr.asm build.asm deiniz.asm gfx.asm iniz.asm mdir.asm \
		mfree.asm montype.asm procs.asm shell_21.asm tmode.asm \
		unlink.asm wcreate.asm

# Files not compilable by os9asm: Config attr cmp dcheck dir dsave
all:	$(ALLOBJS) shell utilpak1 utilpak2 $(DEPENDS)
	$(CHMOD) a+rx $(ALLOBJS) shell utilpak1 utilpak2

shell:  $(SHELLMODS) $(DEPENDS)
	$(MERGE) $(SHELLMODS)>$@
	@$(ECHO) "*** Be sure the size of this file is less than 7681 bytes! ***"
	@ls -l $@
	@$(ECHO)

utilpak1:  $(UTILPAK1) $(DEPENDS)
	$(MERGE) $(UTILPAK1)>$@
	@$(ECHO) "*** Be sure the size of this file is less than 7681 bytes! ***"
	@ls -l $@
	@$(ECHO)

utilpak2:  $(UTILPAK2) $(DEPENDS)
	$(MERGE) $(UTILPAK2)>$@
	@$(ECHO) "*** Be sure the size of this file is less than 7681 bytes! ***"
	@ls -l $@
	@$(ECHO)

$(LEVEL1FILES): ../../level1/CMDS/$@
	cp ../../level1/CMDS/$@ .

clean:
	$(RM) $(ALLOBJS) $(LEVEL1FILES) shell utilpak1 utilpak2

identify:
	$(IDENT_SHORT) $(ALLOBJS)