annotate level2/cmds/makefile @ 404:bd914df47bf8

Grab format from level1
author boisy
date Fri, 30 Aug 2002 03:13:30 +0000
parents 665287f6d3fd
children e5dfb2271401
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 \
404
bd914df47bf8 Grab format from level1
boisy
parents: 356
diff changeset
6 deiniz del deldir dir display dump echo error exbin format \
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 \
348
1fdd80bc3f91 Added more commands to shell and utilpak1 file
boisy
parents: 341
diff changeset
14 link list load makdir mdir merge mfree procs save tee tmode \
1fdd80bc3f91 Added more commands to shell and utilpak1 file
boisy
parents: 341
diff changeset
15 unlink
1fdd80bc3f91 Added more commands to shell and utilpak1 file
boisy
parents: 341
diff changeset
16 UTILPAK1 = attr deldir dump free ident pwd pxd rename setime \
1fdd80bc3f91 Added more commands to shell and utilpak1 file
boisy
parents: 341
diff changeset
17 sleep verify wcreate xmode
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
18
356
665287f6d3fd Slight changes to use new macros
boisy
parents: 348
diff changeset
19 LEVEL1FILES = attr.asm binex.asm build.asm cmp.asm cobbler.asm copy.asm date.asm deiniz.asm del.asm deldir.asm \
404
bd914df47bf8 Grab format from level1
boisy
parents: 356
diff changeset
20 dir.asm display.asm dump.asm echo.asm error.asm exbin.asm format.asm free.asm gfx.asm help.asm ident.asm iniz.asm inkey.asm link.asm \
328
2e7d4518cb8b Fixed so all commands come from either level1/CMDS or level2/CMDS
boisy
parents: 327
diff changeset
21 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
22 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
23
341
20944721d3e6 Major makefile mods
boisy
parents: 340
diff changeset
24 ALLOBJS = $(CMDS) $(SUBS)
20944721d3e6 Major makefile mods
boisy
parents: 340
diff changeset
25
335
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents: 328
diff changeset
26 # Files not compilable by os9asm: config
220
7fed7dcadaee Moved smartwatch commands to 3rdparty/utils/smartwatch
boisy
parents: 219
diff changeset
27 all: $(ALLOBJS) shell utilpak1 $(DEPENDS)
341
20944721d3e6 Major makefile mods
boisy
parents: 340
diff changeset
28 $(CHMOD) 755 $(ALLOBJS) shell utilpak1
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
29
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
30 shell: $(SHELLMODS) $(DEPENDS)
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
31 $(MERGE) $(SHELLMODS)>$@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
32 @$(ECHO) "*** Be sure the size of this file is less than 7681 bytes! ***"
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
33 @ls -l $@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
34 @$(ECHO)
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
35
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
36 utilpak1: $(UTILPAK1) $(DEPENDS)
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
37 $(MERGE) $(UTILPAK1)>$@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
38 @$(ECHO) "*** Be sure the size of this file is less than 7681 bytes! ***"
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
39 @ls -l $@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
40 @$(ECHO)
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
41
356
665287f6d3fd Slight changes to use new macros
boisy
parents: 348
diff changeset
42 $(LEVEL1FILES): $(LEVEL1)/CMDS/$@
665287f6d3fd Slight changes to use new macros
boisy
parents: 348
diff changeset
43 -$(SOFTLINK) $(LEVEL1)/CMDS/$@
160
0bdd24a428fb These files are identical to level1 commands
roug
parents: 100
diff changeset
44
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
45 clean:
335
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents: 328
diff changeset
46 $(RM) $(ALLOBJS) $(LEVEL1FILES) shell utilpak1
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
47
341
20944721d3e6 Major makefile mods
boisy
parents: 340
diff changeset
48 showobjs:
20944721d3e6 Major makefile mods
boisy
parents: 340
diff changeset
49 @$(ECHO) $(ALLOBJS) shell utilpak1
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)