Mercurial > hg > Members > kono > nitros9-code
annotate level1/cmds/makefile @ 2050:d63587190d9b
For porting
author | boisy |
---|---|
date | Sun, 23 Apr 2006 19:13:38 +0000 |
parents | fd6a34af179a |
children | e4a0f58a5f9b 41a6f70d842d |
rev | line source |
---|---|
2039 | 1 PORT = |
1363 | 2 include ../../rules.mak |
0 | 3 |
1166 | 4 vpath %.asm $(3RDPARTY)/packages/basic09 |
5 | |
1363 | 6 DEPENDS = ./makefile |
0 | 7 |
490 | 8 BASIC09FILES = runb.asm gfx.asm inkey.asm syscall.asm |
1933 | 9 CMDS = asm attr backup binex build cmp cobbler copy cputype \ |
1960 | 10 date dcheck debug ded deiniz del deldir devs dir dirsort disasm \ |
1656
5b5390b7333a
exmode replaces xmode as the ideal utility. makefiles and help updated accordingly
boisy
parents:
1528
diff
changeset
|
11 display dmode dsave dump echo edit error exbin format \ |
1933 | 12 free grfdrv help ident iniz irqs link list load login makdir \ |
1700 | 13 megaread mdir merge mfree mpi os9gen padrom park printerr procs prompt pwd pxd \ |
1510 | 14 rename runb save setime shellplus shell_21 sleep \ |
1682
e2ac12787e55
Sticking with clock2_smart for now. Also moved Robert's swread and swset to 3rdparty/utils
boisy
parents:
1678
diff
changeset
|
15 tee tmode touch tsmon tuneport unlink verify xmode |
1906 | 16 |
1933 | 17 DRAGONCMDS = asm attr backup binex build cmp cobbler_dragon copy cputype \ |
1960 | 18 date dcheck debug ded deiniz del deldir devs dir dirsort disasm \ |
1906 | 19 display dmode dsave dump echo edit error exbin format \ |
1933 | 20 free grfdrv help ident iniz irqs link list load login makdir \ |
1906 | 21 megaread mdir merge mfree mpi os9gen padrom park printerr procs prompt pwd pxd \ |
22 rename runb save setime shellplus shell_21 sleep \ | |
23 tee tmode touch tsmon tuneport unlink verify xmode | |
24 | |
1974 | 25 DRAGON525CMDS = asm attr backup binex build cmp cobbler copy date del deldir \ |
26 dir display dmode dsave dump echo exbin format free ident link list \ | |
27 load login makdir mdir merge mfree os9gen printerr procs pwd pxd rename \ | |
28 save setime shell_21 sleep tee tmode tsmon unlink verify xmode acia51 dmode | |
29 | |
30 DRAGON525CMDS2 = cputype dcheck debug ded deiniz devs dirsort disasm edit error \ | |
31 grfdrv help iniz irqs megaread mpi os9gen padrom park printerr prompt \ | |
32 runb shellplus shell_21 touch tuneport | |
33 | |
34 | |
1213
4e235f213651
Lots of changes: bootscripts and bootlists added, sources massaged...
boisy
parents:
1166
diff
changeset
|
35 SUBS = gfx inkey syscall |
1505 | 36 ALLOBJS = $(CMDS) $(DRAGONCMDS) $(SUBS) |
0 | 37 |
38 all: $(ALLOBJS) | |
39 | |
1906 | 40 alldragon: $(DRAGONCMDS) $(SUBS) |
41 | |
42 | |
689
92b575ffa143
Folded pxd.asm and pwd.asm into pd.asm for simplicity since almost all code
boisy
parents:
562
diff
changeset
|
43 pwd: pd.asm |
92b575ffa143
Folded pxd.asm and pwd.asm into pd.asm for simplicity since almost all code
boisy
parents:
562
diff
changeset
|
44 $(AS) $(AFLAGS) $< $(ASOUT)$@ -aPWD=1 |
92b575ffa143
Folded pxd.asm and pwd.asm into pd.asm for simplicity since almost all code
boisy
parents:
562
diff
changeset
|
45 |
1678
40322608e006
tmode is now made from xmode, dsave modified to handle new tmode parameter
boisy
parents:
1672
diff
changeset
|
46 xmode: xmode.asm |
40322608e006
tmode is now made from xmode, dsave modified to handle new tmode parameter
boisy
parents:
1672
diff
changeset
|
47 $(AS) $(AFLAGS) $< $(ASOUT)$@ -aXMODE=1 |
40322608e006
tmode is now made from xmode, dsave modified to handle new tmode parameter
boisy
parents:
1672
diff
changeset
|
48 |
40322608e006
tmode is now made from xmode, dsave modified to handle new tmode parameter
boisy
parents:
1672
diff
changeset
|
49 tmode: xmode.asm |
40322608e006
tmode is now made from xmode, dsave modified to handle new tmode parameter
boisy
parents:
1672
diff
changeset
|
50 $(AS) $(AFLAGS) $< $(ASOUT)$@ -aTMODE=1 |
40322608e006
tmode is now made from xmode, dsave modified to handle new tmode parameter
boisy
parents:
1672
diff
changeset
|
51 |
689
92b575ffa143
Folded pxd.asm and pwd.asm into pd.asm for simplicity since almost all code
boisy
parents:
562
diff
changeset
|
52 pxd: pd.asm |
92b575ffa143
Folded pxd.asm and pwd.asm into pd.asm for simplicity since almost all code
boisy
parents:
562
diff
changeset
|
53 $(AS) $(AFLAGS) $< $(ASOUT)$@ -aPXD=1 |
1906 | 54 |
55 cobbler_dragon: cobbler.asm | |
2021
3ff157692e5d
fixed error including cobbler when it should be cobbler_dragon
boisy
parents:
1974
diff
changeset
|
56 $(AS) $(AFLAGS) $< $(ASOUT)cobbler_dragon -aDRAGON=1 |
689
92b575ffa143
Folded pxd.asm and pwd.asm into pd.asm for simplicity since almost all code
boisy
parents:
562
diff
changeset
|
57 |
0 | 58 clean: |
1166 | 59 $(RM) $(ALLOBJS) |
0 | 60 |
95 | 61 identify: |
62 $(IDENT_SHORT) $(ALLOBJS) | |
107 | 63 |
322 | 64 showallobjs: |
65 @$(ECHO) $(ALLOBJS) | |
66 | |
67 showcocoobjs: | |
1505 | 68 @$(ECHO) $(CMDS) $(SUBS) |
322 | 69 |
70 showdragonobjs: | |
71 @$(ECHO) $(CMDS) $(DRAGONCMDS) | |
1974 | 72 |
73 showdragon525objs: | |
74 @$(ECHO) $(DRAGON525CMDS) $(SUBS) | |
75 | |
76 showdragon525objs2: | |
2039 | 77 @$(ECHO) $(DRAGON525CMDS2) $(SUBS) |