view level2/cmds/makefile @ 1214:701f6a80163f

bootscripts and bootlists added
author boisy
date Sat, 28 Jun 2003 18:43:08 +0000
parents a3d0ac951684
children 76b1793dbd1c
line wrap: on
line source

# Makefile for OS-9 Level Two CMDS/

include ../../Makefile.rules

vpath %.asm $(LEVEL1)/CMDS:$(3RDPARTY)/packages/basic09

DEPENDS		= ./Makefile

CMDS		= asm attr backup binex build cmp cobbler copy cputype \
		date dcheck debug ded deiniz del deldir devs dir dirm disasm \
		display dmem dmode dsave dump echo edit error exbin exmode \
		format free grfdrv help ident iniz irqs link list load login \
		makdir mdir merge mfree mmap modpatch montype os9gen park \
		prompt pmap proc procs pwd pxd reboot rename runb save setime \
		shell_21 shellplus sleep smap tee tmode touch \
		tsmon tuneport unlink verify wcreate xmode
SUBS            = gfx2 gfx inkey syscall

SHELLMODS	= shellplus date deiniz echo iniz link load save unlink
UTILPAK1	= attr build copy del deldir dir display list makdir mdir \
		merge mfree procs rename sleep tee tmode

ALLOBJS		= $(CMDS) $(SUBS)

# Files not compilable by os9asm: config
all:	$(ALLOBJS) shell utilpak1 $(DEPENDS)

pwd:	pd.asm
	$(AS) $(AFLAGS) $< $(ASOUT)$@ -aPWD=1

pxd:	pd.asm
	$(AS) $(AFLAGS) $< $(ASOUT)$@ -aPXD=1

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) ""

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

showobjs:
	@$(ECHO) shell utilpak1 $(ALLOBJS)

identify:
	$(IDENT_SHORT) $(ALLOBJS)