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