annotate level2/cmds/makefile @ 341:20944721d3e6

Major makefile mods
author boisy
date Wed, 24 Jul 2002 14:34:24 +0000
parents 2c95b3e0ffc8
children 1fdd80bc3f91
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
327
f0a2dcf03503 Moved dir.asm to level1/CMDS
boisy
parents: 321
diff changeset
5 CMDS = attr binex build cmp cobbler copy date \
f0a2dcf03503 Moved dir.asm to level1/CMDS
boisy
parents: 321
diff changeset
6 deiniz del deldir dir display dump echo error exbin \
340
2c95b3e0ffc8 Added grfdrv.asm
boisy
parents: 335
diff changeset
7 free grfdrv help ident iniz link list load login makdir mdir \
219
f213b599d6e2 Moved ddir, dirm, dmem, idir, mmap, pmap, proc to 3rdparty/utils/kdutils
boisy
parents: 218
diff changeset
8 merge mfree montype procs pwd pxd rename save \
220
7fed7dcadaee Moved smartwatch commands to 3rdparty/utils/smartwatch
boisy
parents: 219
diff changeset
9 setime shell_21 sleep tee tmode tsmon unlink \
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
10 verify wcreate xmode
321
2c0ddf807efa Made some changes
boisy
parents: 223
diff changeset
11 SUBS = gfx2 gfx inkey
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
12
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
13 SHELLMODS = shell_21 build copy date deiniz del dir display echo iniz \
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
14 link list load mdir merge mfree procs tmode unlink
220
7fed7dcadaee Moved smartwatch commands to 3rdparty/utils/smartwatch
boisy
parents: 219
diff changeset
15 UTILPAK1 = attr deldir ident rename setime xmode
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
16
328
2e7d4518cb8b Fixed so all commands come from either level1/CMDS or level2/CMDS
boisy
parents: 327
diff changeset
17 LEVEL1FILES = binex.asm attr.asm build.asm cmp.asm cobbler.asm copy.asm date.asm deiniz.asm del.asm deldir.asm \
2e7d4518cb8b Fixed so all commands come from either level1/CMDS or level2/CMDS
boisy
parents: 327
diff changeset
18 dir.asm display.asm dump.asm echo.asm error.asm exbin.asm free.asm gfx.asm help.asm ident.asm iniz.asm inkey.asm link.asm \
2e7d4518cb8b Fixed so all commands come from either level1/CMDS or level2/CMDS
boisy
parents: 327
diff changeset
19 list.asm load.asm login.asm makdir.asm merge.asm os9gen.asm pwd.asm pxd.asm rename.asm \
2e7d4518cb8b Fixed so all commands come from either level1/CMDS or level2/CMDS
boisy
parents: 327
diff changeset
20 save.asm setime.asm sleep.asm tee.asm tmode.asm tuneport.asm tsmon.asm verify.asm xmode.asm
160
0bdd24a428fb These files are identical to level1 commands
roug
parents: 100
diff changeset
21
341
20944721d3e6 Major makefile mods
boisy
parents: 340
diff changeset
22 ALLOBJS = $(CMDS) $(SUBS)
20944721d3e6 Major makefile mods
boisy
parents: 340
diff changeset
23
335
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents: 328
diff changeset
24 # Files not compilable by os9asm: config
220
7fed7dcadaee Moved smartwatch commands to 3rdparty/utils/smartwatch
boisy
parents: 219
diff changeset
25 all: $(ALLOBJS) shell utilpak1 $(DEPENDS)
341
20944721d3e6 Major makefile mods
boisy
parents: 340
diff changeset
26 $(CHMOD) 755 $(ALLOBJS) shell utilpak1
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
27
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
28 shell: $(SHELLMODS) $(DEPENDS)
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
29 $(MERGE) $(SHELLMODS)>$@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
30 @$(ECHO) "*** Be sure the size of this file is less than 7681 bytes! ***"
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
31 @ls -l $@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
32 @$(ECHO)
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
33
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
34 utilpak1: $(UTILPAK1) $(DEPENDS)
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
35 $(MERGE) $(UTILPAK1)>$@
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 $@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
38 @$(ECHO)
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
39
160
0bdd24a428fb These files are identical to level1 commands
roug
parents: 100
diff changeset
40 $(LEVEL1FILES): ../../level1/CMDS/$@
335
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents: 328
diff changeset
41 -$(SOFTLINK) ../../level1/CMDS/$@
160
0bdd24a428fb These files are identical to level1 commands
roug
parents: 100
diff changeset
42
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
43 clean:
335
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents: 328
diff changeset
44 $(RM) $(ALLOBJS) $(LEVEL1FILES) shell utilpak1
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
45
341
20944721d3e6 Major makefile mods
boisy
parents: 340
diff changeset
46 showobjs:
20944721d3e6 Major makefile mods
boisy
parents: 340
diff changeset
47 @$(ECHO) $(ALLOBJS) shell utilpak1
20944721d3e6 Major makefile mods
boisy
parents: 340
diff changeset
48
100
5679e0d70acf Added identify target
boisy
parents: 0
diff changeset
49 identify:
5679e0d70acf Added identify target
boisy
parents: 0
diff changeset
50 $(IDENT_SHORT) $(ALLOBJS)