annotate level2/cmds/makefile @ 1167:a3d0ac951684

Miscellaneous source improvements
author boisy
date Mon, 19 May 2003 11:10:57 +0000
parents c847e6ee341d
children 701f6a80163f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1167
a3d0ac951684 Miscellaneous source improvements
boisy
parents: 1129
diff changeset
1 # Makefile for OS-9 Level Two CMDS/
a3d0ac951684 Miscellaneous source improvements
boisy
parents: 1129
diff changeset
2
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
3 include ../../Makefile.rules
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
4
1119
f86ef3d1d7c9 Makefiles have been redone to take advantage of size and Make features
boisy
parents: 1010
diff changeset
5 vpath %.asm $(LEVEL1)/CMDS:$(3RDPARTY)/packages/basic09
f86ef3d1d7c9 Makefiles have been redone to take advantage of size and Make features
boisy
parents: 1010
diff changeset
6
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
7 DEPENDS = ./Makefile
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
8
964
4f56e6891d94 Added new commands to standard CMDS toolset
boisy
parents: 858
diff changeset
9 CMDS = asm attr backup binex build cmp cobbler copy cputype \
969
43792cdb993d ded added to std CMDS
boisy
parents: 966
diff changeset
10 date dcheck debug ded deiniz del deldir devs dir dirm disasm \
965
53553cdc265c New commands added to standard CMDS
boisy
parents: 964
diff changeset
11 display dmem dmode dsave dump echo edit error exbin exmode \
53553cdc265c New commands added to standard CMDS
boisy
parents: 964
diff changeset
12 format free grfdrv help ident iniz irqs link list load login \
966
5747fa790c2e Forgot pmap
boisy
parents: 965
diff changeset
13 makdir mdir merge mfree mmap modpatch montype os9gen pmap \
5747fa790c2e Forgot pmap
boisy
parents: 965
diff changeset
14 proc procs pwd pxd reboot rename runb save setime shell_21 \
965
53553cdc265c New commands added to standard CMDS
boisy
parents: 964
diff changeset
15 shellplus sleep smap tee tmode touch \
1010
1027549ee381 Added tuneport
boisy
parents: 969
diff changeset
16 tsmon tuneport unlink verify wcreate xmode
430
a71313ae3643 syscall pulled from level1
boisy
parents: 421
diff changeset
17 SUBS = gfx2 gfx inkey syscall
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
18
833
143b6d58d434 shellplus and utilpak1 changed
boisy
parents: 786
diff changeset
19 SHELLMODS = shellplus date deiniz echo iniz link load save unlink
1167
a3d0ac951684 Miscellaneous source improvements
boisy
parents: 1129
diff changeset
20 UTILPAK1 = attr build copy del deldir dir display list makdir mdir \
a3d0ac951684 Miscellaneous source improvements
boisy
parents: 1129
diff changeset
21 merge mfree procs rename sleep tee tmode
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
22
341
20944721d3e6 Major makefile mods
boisy
parents: 340
diff changeset
23 ALLOBJS = $(CMDS) $(SUBS)
20944721d3e6 Major makefile mods
boisy
parents: 340
diff changeset
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)
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
27
690
7b42af4e85c2 Modified due to folding of pxd.asm and pwd.asm into pd.asm
boisy
parents: 663
diff changeset
28 pwd: pd.asm
7b42af4e85c2 Modified due to folding of pxd.asm and pwd.asm into pd.asm
boisy
parents: 663
diff changeset
29 $(AS) $(AFLAGS) $< $(ASOUT)$@ -aPWD=1
7b42af4e85c2 Modified due to folding of pxd.asm and pwd.asm into pd.asm
boisy
parents: 663
diff changeset
30
7b42af4e85c2 Modified due to folding of pxd.asm and pwd.asm into pd.asm
boisy
parents: 663
diff changeset
31 pxd: pd.asm
7b42af4e85c2 Modified due to folding of pxd.asm and pwd.asm into pd.asm
boisy
parents: 663
diff changeset
32 $(AS) $(AFLAGS) $< $(ASOUT)$@ -aPXD=1
7b42af4e85c2 Modified due to folding of pxd.asm and pwd.asm into pd.asm
boisy
parents: 663
diff changeset
33
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
34 shell: $(SHELLMODS) $(DEPENDS)
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
35 $(MERGE) $(SHELLMODS)>$@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
36 @$(ECHO) "*** Be sure the size of this file is less than 7681 bytes! ***"
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
37 @ls -l $@
560
417c5329cba2 Added "" to blank ECHO
boisy
parents: 539
diff changeset
38 @$(ECHO) ""
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
39
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
40 utilpak1: $(UTILPAK1) $(DEPENDS)
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
41 $(MERGE) $(UTILPAK1)>$@
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 clean:
1119
f86ef3d1d7c9 Makefiles have been redone to take advantage of size and Make features
boisy
parents: 1010
diff changeset
47 $(RM) shell utilpak1 $(ALLOBJS)
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
48
341
20944721d3e6 Major makefile mods
boisy
parents: 340
diff changeset
49 showobjs:
431
e35722b2087e Changed order of shell/utilpak1
boisy
parents: 430
diff changeset
50 @$(ECHO) shell utilpak1 $(ALLOBJS)
341
20944721d3e6 Major makefile mods
boisy
parents: 340
diff changeset
51
100
5679e0d70acf Added identify target
boisy
parents: 0
diff changeset
52 identify:
5679e0d70acf Added identify target
boisy
parents: 0
diff changeset
53 $(IDENT_SHORT) $(ALLOBJS)