diff level2/sys/makefile @ 334:7183076e2b49

Files added
author boisy
date Wed, 24 Jul 2002 05:56:33 +0000
parents
children ea288683a557
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/level2/sys/makefile	Wed Jul 24 05:56:33 2002 +0000
@@ -0,0 +1,40 @@
+include ../../Makefile.rules
+
+DEPENDS		= ./Makefile
+
+SYSFILES	= errmsg LogBook
+SYSWINFILES	= stdfonts stdpats_2 stdpats_4 stdpats_16 stdptrs
+LEVEL1FILES	= 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 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 tsmon.hp \
+		tuneport.hp unlink.hp verify.hp xmode.hp
+LEVEL2FILES	= basic09.hp gfx.hp gfx2.hp grfdrv.hp make.hp maketerm.hp \
+		modpatch.hp montype.hp rdump.hp rlink.hp rma.hp runb.hp \
+		scred.hp setime.hp touch.hp wcreate.hp
+
+HELPMSG		= helpmsg
+ALLOBJS		= $(SYSFILES) $(SYSWINFILES) $(HELPMSG)
+
+all:	$(ALLOBJS) $(DEPENDS)
+	$(UNIX2OS9) $(SYSFILES)
+	$(CHMOD) 644 $(ALLOBJS)
+
+$(HELPMSG): $(LEVEL1FILES)
+	$(MERGE) $(LEVEL1FILES) $(LEVEL2FILES) > $@
+	$(UNIX2OS9) $@
+
+$(LEVEL1FILES): ../../level1/SYS/$@
+	-$(SOFTLINK) ../../level1/SYS/$@
+
+clean:
+	$(OS92UNIX) $(SYSFILES)
+	$(RM) $(HELPMSG) $(LEVEL1FILES)
+
+showobjs:
+	@$(ECHO) $(ALLOBJS)