Mercurial > hg > Members > kono > nitros9-code
annotate level2/coco3/cmds/makefile @ 2268:1539e253c343
Makfiles now updated from coco3_6309
author | boisy |
---|---|
date | Mon, 28 Dec 2009 02:44:50 +0000 |
parents | cacf283930e6 |
children | 1e9ab13274ba |
rev | line source |
---|---|
2048 | 1 PORT = coco3 |
2 include $(NITROS9DIR)/rules.mak | |
3 | |
2105
d5824ed9c767
Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents:
2050
diff
changeset
|
4 vpath %.asm $(LEVEL2)/cmds:$(LEVEL1)/cmds:$(NITROS9DIR)/3rdparty/packages/basic09 |
2048 | 5 |
6 DEPENDS = ./makefile | |
2105
d5824ed9c767
Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents:
2050
diff
changeset
|
7 AFLAGS += -i=$(NITROS9DIR)/3rdparty/packages/basic09 |
2048 | 8 |
9 CMDS = asm attr backup binex build cmp cobbler copy cputype \ | |
10 date dcheck debug ded deiniz del deldir devs dir dirsort disasm \ | |
11 display dmem dmode dsave dump echo edit error exbin \ | |
12 format free grfdrv help ident iniz irqs link list load login \ | |
13 makdir mdir megaread merge mfree mmap modpatch montype mpi os9gen padrom park \ | |
2105
d5824ed9c767
Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents:
2050
diff
changeset
|
14 pmap proc procs prompt pwd pxd reboot rename save setime \ |
2243
cacf283930e6
Fixed makefiles so that DriveWire commands only get copied to DriveWire bootable disks.
boisy
parents:
2242
diff
changeset
|
15 shell_21 sleep smap tee tmode touch tsmon tuneport unlink verify wcreate xmode |
2105
d5824ed9c767
Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents:
2050
diff
changeset
|
16 |
2159 | 17 CMDS_D2 = basic09 runb gfx2 gfx inkey syscall copy del echo format \ |
2268 | 18 merge os9gen prompt tmode |
19 | |
20 CMDS_DW = $(CMDS) $(CMDS_D2) dw ftp wget | |
2048 | 21 |
2268 | 22 CMDS_DW_SERVER = attr build cmp copy cputype date deiniz del deldir devs \ |
23 dir display dmem dmode dump echo edit error free grfdrv \ | |
24 help ident iniz link list load login makdir mdir merge \ | |
25 mfree mmap mpi pmap proc procs prompt pwd pxd rename save \ | |
26 shell sleep smap tee tmode touch tsmon unlink verify xmode \ | |
27 utilpak1 \ | |
28 dw ftp wget | |
2243
cacf283930e6
Fixed makefiles so that DriveWire commands only get copied to DriveWire bootable disks.
boisy
parents:
2242
diff
changeset
|
29 |
2048 | 30 SHELLMODS = shellplus date deiniz echo iniz link load save unlink |
31 UTILPAK1 = attr build copy del deldir dir display list makdir mdir \ | |
32 merge mfree procs rename tmode | |
33 | |
34 # Files not compilable by os9asm: config | |
2243
cacf283930e6
Fixed makefiles so that DriveWire commands only get copied to DriveWire bootable disks.
boisy
parents:
2242
diff
changeset
|
35 all: $(CMDS) $(CMDS_D2) $(CMDS_DW) shell utilpak1 $(DEPENDS) |
2048 | 36 |
37 runb: runb.asm | |
38 $(AS) $(AFLAGS) $< $(ASOUT)$@ -aPWD=1 | |
39 $(MERGE) $@ $(SUBS)>$@.tmp | |
40 $(RM) $@ | |
41 $(MOVE) $@.tmp $@ | |
42 | |
43 tmode: xmode.asm | |
44 $(AS) $(AFLAGS) $< $(ASOUT)$@ -aTMODE=1 | |
45 | |
46 xmode: xmode.asm | |
47 $(AS) $(AFLAGS) $< $(ASOUT)$@ -aXMODE=1 | |
48 | |
49 pwd: pd.asm | |
50 $(AS) $(AFLAGS) $< $(ASOUT)$@ -aPWD=1 | |
51 | |
52 pxd: pd.asm | |
53 $(AS) $(AFLAGS) $< $(ASOUT)$@ -aPXD=1 | |
54 | |
55 shell: $(SHELLMODS) $(DEPENDS) | |
56 $(MERGE) $(SHELLMODS)>$@ | |
57 @$(ECHO) "*** Be sure the size of this file is less than 7681 bytes! ***" | |
58 @ls -l $@ | |
59 @$(ECHO) "" | |
60 | |
61 utilpak1: $(UTILPAK1) $(DEPENDS) | |
62 $(MERGE) $(UTILPAK1)>$@ | |
63 @$(ECHO) "*** Be sure the size of this file is less than 7681 bytes! ***" | |
64 @ls -l $@ | |
65 @$(ECHO) "" | |
66 | |
67 clean: | |
2105
d5824ed9c767
Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents:
2050
diff
changeset
|
68 $(RM) shell utilpak1 $(SUBS) $(SHELLMODS) $(CMDS) $(CMDS_D2) |
2048 | 69 |
70 # Only $(CMDS) are shown here | |
71 showobjs: | |
72 @$(ECHO) shell utilpak1 $(CMDS) | |
73 | |
2105
d5824ed9c767
Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents:
2050
diff
changeset
|
74 showobjs_d2: |
d5824ed9c767
Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents:
2050
diff
changeset
|
75 @$(ECHO) $(CMDS_D2) |
d5824ed9c767
Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents:
2050
diff
changeset
|
76 |
2243
cacf283930e6
Fixed makefiles so that DriveWire commands only get copied to DriveWire bootable disks.
boisy
parents:
2242
diff
changeset
|
77 showobjs_dw: |
cacf283930e6
Fixed makefiles so that DriveWire commands only get copied to DriveWire bootable disks.
boisy
parents:
2242
diff
changeset
|
78 @$(ECHO) $(CMDS_DW) |
cacf283930e6
Fixed makefiles so that DriveWire commands only get copied to DriveWire bootable disks.
boisy
parents:
2242
diff
changeset
|
79 |
2268 | 80 showobjs_dw_server: |
81 @$(ECHO) $(CMDS_DW_SERVER) | |
82 | |
2048 | 83 identify: |
84 $(IDENT_SHORT) $(ALLOBJS) |