annotate level2/cmds/makefile @ 1119:f86ef3d1d7c9

Makefiles have been redone to take advantage of size and Make features
author boisy
date Sat, 12 Apr 2003 17:19:55 +0000
parents 1027549ee381
children c847e6ee341d
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
1119
f86ef3d1d7c9 Makefiles have been redone to take advantage of size and Make features
boisy
parents: 1010
diff changeset
3 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
4
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
5 DEPENDS = ./Makefile
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
6
964
4f56e6891d94 Added new commands to standard CMDS toolset
boisy
parents: 858
diff changeset
7 CMDS = asm attr backup binex build cmp cobbler copy cputype \
969
43792cdb993d ded added to std CMDS
boisy
parents: 966
diff changeset
8 date dcheck debug ded deiniz del deldir devs dir dirm disasm \
965
53553cdc265c New commands added to standard CMDS
boisy
parents: 964
diff changeset
9 display dmem dmode dsave dump echo edit error exbin exmode \
53553cdc265c New commands added to standard CMDS
boisy
parents: 964
diff changeset
10 format free grfdrv help ident iniz irqs link list load login \
966
5747fa790c2e Forgot pmap
boisy
parents: 965
diff changeset
11 makdir mdir merge mfree mmap modpatch montype os9gen pmap \
5747fa790c2e Forgot pmap
boisy
parents: 965
diff changeset
12 proc procs pwd pxd reboot rename runb save setime shell_21 \
965
53553cdc265c New commands added to standard CMDS
boisy
parents: 964
diff changeset
13 shellplus sleep smap tee tmode touch \
1010
1027549ee381 Added tuneport
boisy
parents: 969
diff changeset
14 tsmon tuneport unlink verify wcreate xmode
430
a71313ae3643 syscall pulled from level1
boisy
parents: 421
diff changeset
15 SUBS = gfx2 gfx inkey syscall
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
16
833
143b6d58d434 shellplus and utilpak1 changed
boisy
parents: 786
diff changeset
17 SHELLMODS = shellplus date deiniz echo iniz link load save unlink
143b6d58d434 shellplus and utilpak1 changed
boisy
parents: 786
diff changeset
18 UTILPAK1 = attr copy del deldir dir display list makdir mdir \
143b6d58d434 shellplus and utilpak1 changed
boisy
parents: 786
diff changeset
19 mfree procs rename tmode
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
20
341
20944721d3e6 Major makefile mods
boisy
parents: 340
diff changeset
21 ALLOBJS = $(CMDS) $(SUBS)
20944721d3e6 Major makefile mods
boisy
parents: 340
diff changeset
22
335
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents: 328
diff changeset
23 # Files not compilable by os9asm: config
220
7fed7dcadaee Moved smartwatch commands to 3rdparty/utils/smartwatch
boisy
parents: 219
diff changeset
24 all: $(ALLOBJS) shell utilpak1 $(DEPENDS)
341
20944721d3e6 Major makefile mods
boisy
parents: 340
diff changeset
25 $(CHMOD) 755 $(ALLOBJS) shell utilpak1
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
26
690
7b42af4e85c2 Modified due to folding of pxd.asm and pwd.asm into pd.asm
boisy
parents: 663
diff changeset
27 pwd: pd.asm
7b42af4e85c2 Modified due to folding of pxd.asm and pwd.asm into pd.asm
boisy
parents: 663
diff changeset
28 $(AS) $(AFLAGS) $< $(ASOUT)$@ -aPWD=1
7b42af4e85c2 Modified due to folding of pxd.asm and pwd.asm into pd.asm
boisy
parents: 663
diff changeset
29
7b42af4e85c2 Modified due to folding of pxd.asm and pwd.asm into pd.asm
boisy
parents: 663
diff changeset
30 pxd: pd.asm
7b42af4e85c2 Modified due to folding of pxd.asm and pwd.asm into pd.asm
boisy
parents: 663
diff changeset
31 $(AS) $(AFLAGS) $< $(ASOUT)$@ -aPXD=1
7b42af4e85c2 Modified due to folding of pxd.asm and pwd.asm into pd.asm
boisy
parents: 663
diff changeset
32
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
33 shell: $(SHELLMODS) $(DEPENDS)
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
34 $(MERGE) $(SHELLMODS)>$@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
35 @$(ECHO) "*** Be sure the size of this file is less than 7681 bytes! ***"
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
36 @ls -l $@
560
417c5329cba2 Added "" to blank ECHO
boisy
parents: 539
diff changeset
37 @$(ECHO) ""
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
38
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
39 utilpak1: $(UTILPAK1) $(DEPENDS)
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
40 $(MERGE) $(UTILPAK1)>$@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
41 @$(ECHO) "*** Be sure the size of this file is less than 7681 bytes! ***"
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
42 @ls -l $@
560
417c5329cba2 Added "" to blank ECHO
boisy
parents: 539
diff changeset
43 @$(ECHO) ""
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
44
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
45 clean:
1119
f86ef3d1d7c9 Makefiles have been redone to take advantage of size and Make features
boisy
parents: 1010
diff changeset
46 $(RM) shell utilpak1 $(ALLOBJS)
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
47
341
20944721d3e6 Major makefile mods
boisy
parents: 340
diff changeset
48 showobjs:
431
e35722b2087e Changed order of shell/utilpak1
boisy
parents: 430
diff changeset
49 @$(ECHO) shell utilpak1 $(ALLOBJS)
341
20944721d3e6 Major makefile mods
boisy
parents: 340
diff changeset
50
100
5679e0d70acf Added identify target
boisy
parents: 0
diff changeset
51 identify:
5679e0d70acf Added identify target
boisy
parents: 0
diff changeset
52 $(IDENT_SHORT) $(ALLOBJS)