annotate level2/cmds/makefile @ 217:3572dd193d9b

Slight change
author boisy
date Mon, 15 Jul 2002 22:39:53 +0000
parents b17658d6f0e7
children 586168970ced
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
214
aa7dad921edd date removed, now obtained from level1/CMDS
boisy
parents: 161
diff changeset
19 LEVEL1FILES = binex.asm attr.asm build.asm date.asm deiniz.asm del.asm deldir.asm \
215
b17658d6f0e7 Commands/modules removed are now linked from level1/CMDS and level2/CMDS
boisy
parents: 214
diff changeset
20 dump.asm echo.asm exbin.asm free.asm ident.asm iniz.asm inkey.asm link.asm \
217
3572dd193d9b Slight change
boisy
parents: 215
diff changeset
21 list.asm load.asm login.asm pwd.asm pxd.asm rename.asm \
215
b17658d6f0e7 Commands/modules removed are now linked from level1/CMDS and level2/CMDS
boisy
parents: 214
diff changeset
22 save.asm setime.asm sleep.asm tee.asm tmode.asm tsmon.asm verify.asm
160
0bdd24a428fb These files are identical to level1 commands
roug
parents: 100
diff changeset
23
214
aa7dad921edd date removed, now obtained from level1/CMDS
boisy
parents: 161
diff changeset
24 LEVEL2FILES = gfx.asm mdir.asm mfree.asm montype.asm procs.asm \
160
0bdd24a428fb These files are identical to level1 commands
roug
parents: 100
diff changeset
25 unlink.asm wcreate.asm
0bdd24a428fb These files are identical to level1 commands
roug
parents: 100
diff changeset
26
0bdd24a428fb These files are identical to level1 commands
roug
parents: 100
diff changeset
27 # Files not compilable by os9asm: Config attr cmp dcheck dir dsave
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
28 all: $(ALLOBJS) shell utilpak1 utilpak2 $(DEPENDS)
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
29 $(CHMOD) a+rx $(ALLOBJS) shell utilpak1 utilpak2
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
30
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
31 shell: $(SHELLMODS) $(DEPENDS)
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
32 $(MERGE) $(SHELLMODS)>$@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
33 @$(ECHO) "*** Be sure the size of this file is less than 7681 bytes! ***"
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
34 @ls -l $@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
35 @$(ECHO)
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
36
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
37 utilpak1: $(UTILPAK1) $(DEPENDS)
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
38 $(MERGE) $(UTILPAK1)>$@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
39 @$(ECHO) "*** Be sure the size of this file is less than 7681 bytes! ***"
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
40 @ls -l $@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
41 @$(ECHO)
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
42
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
43 utilpak2: $(UTILPAK2) $(DEPENDS)
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
44 $(MERGE) $(UTILPAK2)>$@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
45 @$(ECHO) "*** Be sure the size of this file is less than 7681 bytes! ***"
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
46 @ls -l $@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
47 @$(ECHO)
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
48
160
0bdd24a428fb These files are identical to level1 commands
roug
parents: 100
diff changeset
49 $(LEVEL1FILES): ../../level1/CMDS/$@
161
fed96c42e0b4 The files that are the same between level2 and level2v3 have been
roug
parents: 160
diff changeset
50 -ln -s ../../level1/CMDS/$@
160
0bdd24a428fb These files are identical to level1 commands
roug
parents: 100
diff changeset
51
161
fed96c42e0b4 The files that are the same between level2 and level2v3 have been
roug
parents: 160
diff changeset
52 $(LEVEL2FILES): ../../level2/CMDS/$@
fed96c42e0b4 The files that are the same between level2 and level2v3 have been
roug
parents: 160
diff changeset
53 -ln -s ../../level2/CMDS/$@
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
54 clean:
161
fed96c42e0b4 The files that are the same between level2 and level2v3 have been
roug
parents: 160
diff changeset
55 $(RM) $(ALLOBJS) $(LEVEL1FILES) $(LEVEL2FILES) shell utilpak1 utilpak2
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
56
100
5679e0d70acf Added identify target
boisy
parents: 0
diff changeset
57 identify:
5679e0d70acf Added identify target
boisy
parents: 0
diff changeset
58 $(IDENT_SHORT) $(ALLOBJS)