Mercurial > hg > Members > kono > nitros9-code
annotate level2/cmds/makefile @ 833:143b6d58d434
shellplus and utilpak1 changed
author | boisy |
---|---|
date | Tue, 14 Jan 2003 04:53:54 +0000 |
parents | e0f2a9928c72 |
children | ae50448702ca |
rev | line source |
---|---|
0 | 1 include ../../Makefile.rules |
2 | |
3 DEPENDS = ./Makefile | |
4 | |
745 | 5 CMDS = asm attr backup binex build cmp cobbler copy date dcheck debug \ |
624 | 6 deiniz del deldir dir display dsave dump echo edit error exbin format \ |
340 | 7 free grfdrv help ident iniz link list load login makdir mdir \ |
491 | 8 merge mfree modpatch montype os9gen procs pwd pxd rename runb save \ |
458
aac20055f8ad
Changes for shellplus source provided by Curtis Boyle
boisy
parents:
436
diff
changeset
|
9 setime shell_21 shellplus sleep tee tmode tsmon unlink \ |
0 | 10 verify wcreate xmode |
430 | 11 SUBS = gfx2 gfx inkey syscall |
0 | 12 |
833 | 13 SHELLMODS = shellplus date deiniz echo iniz link load save unlink |
14 UTILPAK1 = attr copy del deldir dir display list makdir mdir \ | |
15 mfree procs rename tmode | |
0 | 16 |
692 | 17 BASIC09FILES = runb.asm gfx.asm gfx2.asm inkey.asm syscall.asm |
745 | 18 LEVEL1FILES = asm.asm attr.asm backup.asm binex.asm build.asm cmp.asm cobbler.asm copy.asm date.asm dcheck.asm debug.asm deiniz.asm del.asm deldir.asm \ |
487
6e9b939a2272
gfx, syscall and inkey are now linked from the Basic09 source directory
boisy
parents:
458
diff
changeset
|
19 dir.asm display.asm dsave.asm dump.asm echo.asm edit.asm error.asm exbin.asm format.asm free.asm help.asm ident.asm iniz.asm link.asm \ |
690
7b42af4e85c2
Modified due to folding of pxd.asm and pwd.asm into pd.asm
boisy
parents:
663
diff
changeset
|
20 list.asm load.asm login.asm makdir.asm merge.asm os9gen.asm pd.asm rename.asm \ |
487
6e9b939a2272
gfx, syscall and inkey are now linked from the Basic09 source directory
boisy
parents:
458
diff
changeset
|
21 save.asm setime.asm sleep.asm tee.asm tmode.asm tuneport.asm tsmon.asm verify.asm xmode.asm |
160 | 22 |
341 | 23 ALLOBJS = $(CMDS) $(SUBS) |
24 | |
335
9edb1a203a78
Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
328
diff
changeset
|
25 # Files not compilable by os9asm: config |
220
7fed7dcadaee
Moved smartwatch commands to 3rdparty/utils/smartwatch
boisy
parents:
219
diff
changeset
|
26 all: $(ALLOBJS) shell utilpak1 $(DEPENDS) |
341 | 27 $(CHMOD) 755 $(ALLOBJS) shell utilpak1 |
0 | 28 |
690
7b42af4e85c2
Modified due to folding of pxd.asm and pwd.asm into pd.asm
boisy
parents:
663
diff
changeset
|
29 pwd: pd.asm |
7b42af4e85c2
Modified due to folding of pxd.asm and pwd.asm into pd.asm
boisy
parents:
663
diff
changeset
|
30 $(AS) $(AFLAGS) $< $(ASOUT)$@ -aPWD=1 |
7b42af4e85c2
Modified due to folding of pxd.asm and pwd.asm into pd.asm
boisy
parents:
663
diff
changeset
|
31 |
7b42af4e85c2
Modified due to folding of pxd.asm and pwd.asm into pd.asm
boisy
parents:
663
diff
changeset
|
32 pxd: pd.asm |
7b42af4e85c2
Modified due to folding of pxd.asm and pwd.asm into pd.asm
boisy
parents:
663
diff
changeset
|
33 $(AS) $(AFLAGS) $< $(ASOUT)$@ -aPXD=1 |
7b42af4e85c2
Modified due to folding of pxd.asm and pwd.asm into pd.asm
boisy
parents:
663
diff
changeset
|
34 |
0 | 35 shell: $(SHELLMODS) $(DEPENDS) |
36 $(MERGE) $(SHELLMODS)>$@ | |
37 @$(ECHO) "*** Be sure the size of this file is less than 7681 bytes! ***" | |
38 @ls -l $@ | |
560 | 39 @$(ECHO) "" |
0 | 40 |
41 utilpak1: $(UTILPAK1) $(DEPENDS) | |
42 $(MERGE) $(UTILPAK1)>$@ | |
43 @$(ECHO) "*** Be sure the size of this file is less than 7681 bytes! ***" | |
44 @ls -l $@ | |
560 | 45 @$(ECHO) "" |
0 | 46 |
487
6e9b939a2272
gfx, syscall and inkey are now linked from the Basic09 source directory
boisy
parents:
458
diff
changeset
|
47 $(BASIC09FILES): $(BASEDIR)/3rdparty/packages/basic09/$@ |
6e9b939a2272
gfx, syscall and inkey are now linked from the Basic09 source directory
boisy
parents:
458
diff
changeset
|
48 -$(SOFTLINK) $(BASEDIR)/3rdparty/packages/basic09/$@ |
6e9b939a2272
gfx, syscall and inkey are now linked from the Basic09 source directory
boisy
parents:
458
diff
changeset
|
49 |
356 | 50 $(LEVEL1FILES): $(LEVEL1)/CMDS/$@ |
51 -$(SOFTLINK) $(LEVEL1)/CMDS/$@ | |
160 | 52 |
0 | 53 clean: |
487
6e9b939a2272
gfx, syscall and inkey are now linked from the Basic09 source directory
boisy
parents:
458
diff
changeset
|
54 $(RM) shell utilpak1 $(ALLOBJS) $(BASIC09FILES) $(LEVEL1FILES) |
0 | 55 |
341 | 56 showobjs: |
431 | 57 @$(ECHO) shell utilpak1 $(ALLOBJS) |
341 | 58 |
100 | 59 identify: |
60 $(IDENT_SHORT) $(ALLOBJS) |