annotate level2/cmds/makefile @ 161:fed96c42e0b4

The files that are the same between level2 and level2v3 have been removed and in those cases where the documentation is better for level2v3 of the disassebled file, the file has been moved to level2/CMDS
author roug
date Mon, 08 Jul 2002 20:10:06 +0000
parents 0bdd24a428fb
children aa7dad921edd
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
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
5 CMDS = attr binex build cobbler copy date \
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
6 deiniz del deldir ddir dir dirm display dmem dump echo exbin \
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
7 free ident idir iniz link list load login makdir mdir \
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
8 merge mfree mmap montype pmap proc procs pwd pxd rename save \
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
9 setime shell_21 sleep swread swset tee tmode tsmon unlink \
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
10 verify wcreate xmode
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
11 SUBS = gfx inkey
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
12 ALLOBJS = $(CMDS) $(SUBS)
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
13
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
14 SHELLMODS = shell_21 build copy date deiniz del dir display echo iniz \
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
15 link list load mdir merge mfree procs tmode unlink
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
16 UTILPAK1 = attr deldir dirm dmem free ident mmap proc rename setime tmode
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
17 UTILPAK2 = ddir idir pmap xmode
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
18
160
0bdd24a428fb These files are identical to level1 commands
roug
parents: 100
diff changeset
19 LEVEL1FILES = binex.asm del.asm deldir.asm \
0bdd24a428fb These files are identical to level1 commands
roug
parents: 100
diff changeset
20 echo.asm exbin.asm ident.asm link.asm \
0bdd24a428fb These files are identical to level1 commands
roug
parents: 100
diff changeset
21 list.asm load.asm pwd.asm pxd.asm \
0bdd24a428fb These files are identical to level1 commands
roug
parents: 100
diff changeset
22 save.asm sleep.asm tee.asm verify.asm
0bdd24a428fb These files are identical to level1 commands
roug
parents: 100
diff changeset
23
0bdd24a428fb These files are identical to level1 commands
roug
parents: 100
diff changeset
24 LEVEL2FILES = attr.asm build.asm deiniz.asm gfx.asm iniz.asm mdir.asm \
161
fed96c42e0b4 The files that are the same between level2 and level2v3 have been
roug
parents: 160
diff changeset
25 mfree.asm montype.asm procs.asm tmode.asm \
160
0bdd24a428fb These files are identical to level1 commands
roug
parents: 100
diff changeset
26 unlink.asm wcreate.asm
0bdd24a428fb These files are identical to level1 commands
roug
parents: 100
diff changeset
27
0bdd24a428fb These files are identical to level1 commands
roug
parents: 100
diff changeset
28 # Files not compilable by os9asm: Config attr cmp dcheck dir dsave
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
29 all: $(ALLOBJS) shell utilpak1 utilpak2 $(DEPENDS)
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
30 $(CHMOD) a+rx $(ALLOBJS) shell utilpak1 utilpak2
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
31
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
32 shell: $(SHELLMODS) $(DEPENDS)
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
33 $(MERGE) $(SHELLMODS)>$@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
34 @$(ECHO) "*** Be sure the size of this file is less than 7681 bytes! ***"
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
35 @ls -l $@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
36 @$(ECHO)
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
37
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
38 utilpak1: $(UTILPAK1) $(DEPENDS)
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
39 $(MERGE) $(UTILPAK1)>$@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
40 @$(ECHO) "*** Be sure the size of this file is less than 7681 bytes! ***"
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
41 @ls -l $@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
42 @$(ECHO)
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
43
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
44 utilpak2: $(UTILPAK2) $(DEPENDS)
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
45 $(MERGE) $(UTILPAK2)>$@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
46 @$(ECHO) "*** Be sure the size of this file is less than 7681 bytes! ***"
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
47 @ls -l $@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
48 @$(ECHO)
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
49
160
0bdd24a428fb These files are identical to level1 commands
roug
parents: 100
diff changeset
50 $(LEVEL1FILES): ../../level1/CMDS/$@
161
fed96c42e0b4 The files that are the same between level2 and level2v3 have been
roug
parents: 160
diff changeset
51 -ln -s ../../level1/CMDS/$@
160
0bdd24a428fb These files are identical to level1 commands
roug
parents: 100
diff changeset
52
161
fed96c42e0b4 The files that are the same between level2 and level2v3 have been
roug
parents: 160
diff changeset
53 $(LEVEL2FILES): ../../level2/CMDS/$@
fed96c42e0b4 The files that are the same between level2 and level2v3 have been
roug
parents: 160
diff changeset
54 -ln -s ../../level2/CMDS/$@
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
55 clean:
161
fed96c42e0b4 The files that are the same between level2 and level2v3 have been
roug
parents: 160
diff changeset
56 $(RM) $(ALLOBJS) $(LEVEL1FILES) $(LEVEL2FILES) shell utilpak1 utilpak2
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
57
100
5679e0d70acf Added identify target
boisy
parents: 0
diff changeset
58 identify:
5679e0d70acf Added identify target
boisy
parents: 0
diff changeset
59 $(IDENT_SHORT) $(ALLOBJS)