annotate level2/cmds/makefile @ 964:4f56e6891d94

Added new commands to standard CMDS toolset
author boisy
date Fri, 31 Jan 2003 17:40:46 +0000
parents 04b393b446cb
children 53553cdc265c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1 include ../../Makefile.rules
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
2
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
3 DEPENDS = ./Makefile
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
4
964
4f56e6891d94 Added new commands to standard CMDS toolset
boisy
parents: 858
diff changeset
5 CMDS = asm attr backup binex build cmp cobbler copy cputype \
4f56e6891d94 Added new commands to standard CMDS toolset
boisy
parents: 858
diff changeset
6 date dcheck debug deiniz del deldir devs dir disasm display \
4f56e6891d94 Added new commands to standard CMDS toolset
boisy
parents: 858
diff changeset
7 dmode dsave dump echo edit error exbin exmode format \
4f56e6891d94 Added new commands to standard CMDS toolset
boisy
parents: 858
diff changeset
8 free grfdrv help ident iniz irqs link list load login makdir \
4f56e6891d94 Added new commands to standard CMDS toolset
boisy
parents: 858
diff changeset
9 mdir merge mfree modpatch montype os9gen procs pwd pxd rename \
4f56e6891d94 Added new commands to standard CMDS toolset
boisy
parents: 858
diff changeset
10 runb save setime shell_21 shellplus sleep tee tmode touch \
4f56e6891d94 Added new commands to standard CMDS toolset
boisy
parents: 858
diff changeset
11 tsmon unlink verify wcreate xmode
430
a71313ae3643 syscall pulled from level1
boisy
parents: 421
diff changeset
12 SUBS = gfx2 gfx inkey syscall
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
13
833
143b6d58d434 shellplus and utilpak1 changed
boisy
parents: 786
diff changeset
14 SHELLMODS = shellplus date deiniz echo iniz link load save unlink
143b6d58d434 shellplus and utilpak1 changed
boisy
parents: 786
diff changeset
15 UTILPAK1 = attr copy del deldir dir display list makdir mdir \
143b6d58d434 shellplus and utilpak1 changed
boisy
parents: 786
diff changeset
16 mfree procs rename tmode
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
17
692
0e5038bbd35f gfx2.asm added to BASIC09FILES
boisy
parents: 690
diff changeset
18 BASIC09FILES = runb.asm gfx.asm gfx2.asm inkey.asm syscall.asm
964
4f56e6891d94 Added new commands to standard CMDS toolset
boisy
parents: 858
diff changeset
19 LEVEL1FILES = asm.asm attr.asm backup.asm binex.asm build.asm cmp.asm \
4f56e6891d94 Added new commands to standard CMDS toolset
boisy
parents: 858
diff changeset
20 cobbler.asm copy.asm cputype.asm date.asm dcheck.asm \
4f56e6891d94 Added new commands to standard CMDS toolset
boisy
parents: 858
diff changeset
21 debug.asm deiniz.asm del.asm deldir.asm devs.asm dir.asm \
4f56e6891d94 Added new commands to standard CMDS toolset
boisy
parents: 858
diff changeset
22 disasm.asm display.asm dmode.asm dsave.asm dump.asm echo.asm \
4f56e6891d94 Added new commands to standard CMDS toolset
boisy
parents: 858
diff changeset
23 edit.asm error.asm exbin.asm exmode.asm format.asm free.asm \
4f56e6891d94 Added new commands to standard CMDS toolset
boisy
parents: 858
diff changeset
24 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
25 list.asm load.asm login.asm makdir.asm merge.asm os9gen.asm pd.asm rename.asm \
858
04b393b446cb Added touch.asm
boisy
parents: 857
diff changeset
26 save.asm setime.asm sleep.asm tee.asm tmode.asm touch.asm tuneport.asm tsmon.asm verify.asm xmode.asm
160
0bdd24a428fb These files are identical to level1 commands
roug
parents: 100
diff changeset
27
341
20944721d3e6 Major makefile mods
boisy
parents: 340
diff changeset
28 ALLOBJS = $(CMDS) $(SUBS)
20944721d3e6 Major makefile mods
boisy
parents: 340
diff changeset
29
335
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents: 328
diff changeset
30 # Files not compilable by os9asm: config
220
7fed7dcadaee Moved smartwatch commands to 3rdparty/utils/smartwatch
boisy
parents: 219
diff changeset
31 all: $(ALLOBJS) shell utilpak1 $(DEPENDS)
341
20944721d3e6 Major makefile mods
boisy
parents: 340
diff changeset
32 $(CHMOD) 755 $(ALLOBJS) shell utilpak1
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
33
690
7b42af4e85c2 Modified due to folding of pxd.asm and pwd.asm into pd.asm
boisy
parents: 663
diff changeset
34 pwd: pd.asm
7b42af4e85c2 Modified due to folding of pxd.asm and pwd.asm into pd.asm
boisy
parents: 663
diff changeset
35 $(AS) $(AFLAGS) $< $(ASOUT)$@ -aPWD=1
7b42af4e85c2 Modified due to folding of pxd.asm and pwd.asm into pd.asm
boisy
parents: 663
diff changeset
36
7b42af4e85c2 Modified due to folding of pxd.asm and pwd.asm into pd.asm
boisy
parents: 663
diff changeset
37 pxd: pd.asm
7b42af4e85c2 Modified due to folding of pxd.asm and pwd.asm into pd.asm
boisy
parents: 663
diff changeset
38 $(AS) $(AFLAGS) $< $(ASOUT)$@ -aPXD=1
7b42af4e85c2 Modified due to folding of pxd.asm and pwd.asm into pd.asm
boisy
parents: 663
diff changeset
39
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
40 shell: $(SHELLMODS) $(DEPENDS)
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
41 $(MERGE) $(SHELLMODS)>$@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
42 @$(ECHO) "*** Be sure the size of this file is less than 7681 bytes! ***"
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
43 @ls -l $@
560
417c5329cba2 Added "" to blank ECHO
boisy
parents: 539
diff changeset
44 @$(ECHO) ""
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
45
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
46 utilpak1: $(UTILPAK1) $(DEPENDS)
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
47 $(MERGE) $(UTILPAK1)>$@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
48 @$(ECHO) "*** Be sure the size of this file is less than 7681 bytes! ***"
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
49 @ls -l $@
560
417c5329cba2 Added "" to blank ECHO
boisy
parents: 539
diff changeset
50 @$(ECHO) ""
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
51
487
6e9b939a2272 gfx, syscall and inkey are now linked from the Basic09 source directory
boisy
parents: 458
diff changeset
52 $(BASIC09FILES): $(BASEDIR)/3rdparty/packages/basic09/$@
6e9b939a2272 gfx, syscall and inkey are now linked from the Basic09 source directory
boisy
parents: 458
diff changeset
53 -$(SOFTLINK) $(BASEDIR)/3rdparty/packages/basic09/$@
6e9b939a2272 gfx, syscall and inkey are now linked from the Basic09 source directory
boisy
parents: 458
diff changeset
54
356
665287f6d3fd Slight changes to use new macros
boisy
parents: 348
diff changeset
55 $(LEVEL1FILES): $(LEVEL1)/CMDS/$@
665287f6d3fd Slight changes to use new macros
boisy
parents: 348
diff changeset
56 -$(SOFTLINK) $(LEVEL1)/CMDS/$@
160
0bdd24a428fb These files are identical to level1 commands
roug
parents: 100
diff changeset
57
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
58 clean:
487
6e9b939a2272 gfx, syscall and inkey are now linked from the Basic09 source directory
boisy
parents: 458
diff changeset
59 $(RM) shell utilpak1 $(ALLOBJS) $(BASIC09FILES) $(LEVEL1FILES)
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
60
341
20944721d3e6 Major makefile mods
boisy
parents: 340
diff changeset
61 showobjs:
431
e35722b2087e Changed order of shell/utilpak1
boisy
parents: 430
diff changeset
62 @$(ECHO) shell utilpak1 $(ALLOBJS)
341
20944721d3e6 Major makefile mods
boisy
parents: 340
diff changeset
63
100
5679e0d70acf Added identify target
boisy
parents: 0
diff changeset
64 identify:
5679e0d70acf Added identify target
boisy
parents: 0
diff changeset
65 $(IDENT_SHORT) $(ALLOBJS)