annotate level2/cmds/makefile @ 539:7447909c9da3

Added asm program
author boisy
date Mon, 14 Oct 2002 00:12:45 +0000
parents 570b83b872f6
children 417c5329cba2
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
539
7447909c9da3 Added asm program
boisy
parents: 491
diff changeset
5 CMDS = asm attr backup binex build cmp cobbler copy date \
421
2cf4b593cebf edit now pulled from level1
boisy
parents: 419
diff changeset
6 deiniz del deldir dir display dsave dump echo edit 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 \
491
570b83b872f6 runb added to CMDS
boisy
parents: 487
diff changeset
8 merge mfree modpatch montype os9gen procs pwd pxd rename runb save \
458
aac20055f8ad Changes for shellplus source provided by Curtis Boyle
boisy
parents: 436
diff changeset
9 setime shell_21 shellplus sleep tee tmode tsmon unlink \
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
10 verify wcreate xmode
430
a71313ae3643 syscall pulled from level1
boisy
parents: 421
diff changeset
11 SUBS = gfx2 gfx inkey syscall
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
12
458
aac20055f8ad Changes for shellplus source provided by Curtis Boyle
boisy
parents: 436
diff changeset
13 SHELLMODS = shellplus deiniz display echo iniz link load save unlink
417
209e67e34d04 Shell+ 2.2a is now standard shell with Level 2 and NitrOS-9
boisy
parents: 414
diff changeset
14 UTILPAK1 = attr build copy date del deldir dir list makdir mdir \
209e67e34d04 Shell+ 2.2a is now standard shell with Level 2 and NitrOS-9
boisy
parents: 414
diff changeset
15 merge mfree procs pwd pxd rename sleep tee tmode
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
16
491
570b83b872f6 runb added to CMDS
boisy
parents: 487
diff changeset
17 BASIC09FILES = runb.asm gfx.asm inkey.asm syscall.asm
539
7447909c9da3 Added asm program
boisy
parents: 491
diff changeset
18 LEVEL1FILES = asm.asm attr.asm backup.asm binex.asm build.asm cmp.asm cobbler.asm copy.asm date.asm deiniz.asm del.asm deldir.asm \
487
6e9b939a2272 gfx, syscall and inkey are now linked from the Basic09 source directory
boisy
parents: 458
diff changeset
19 dir.asm display.asm dsave.asm dump.asm echo.asm edit.asm error.asm exbin.asm format.asm free.asm help.asm ident.asm iniz.asm link.asm \
328
2e7d4518cb8b Fixed so all commands come from either level1/CMDS or level2/CMDS
boisy
parents: 327
diff changeset
20 list.asm load.asm login.asm makdir.asm merge.asm os9gen.asm pwd.asm pxd.asm rename.asm \
487
6e9b939a2272 gfx, syscall and inkey are now linked from the Basic09 source directory
boisy
parents: 458
diff changeset
21 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
22
341
20944721d3e6 Major makefile mods
boisy
parents: 340
diff changeset
23 ALLOBJS = $(CMDS) $(SUBS)
20944721d3e6 Major makefile mods
boisy
parents: 340
diff changeset
24
335
9edb1a203a78 Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents: 328
diff changeset
25 # Files not compilable by os9asm: config
220
7fed7dcadaee Moved smartwatch commands to 3rdparty/utils/smartwatch
boisy
parents: 219
diff changeset
26 all: $(ALLOBJS) shell utilpak1 $(DEPENDS)
341
20944721d3e6 Major makefile mods
boisy
parents: 340
diff changeset
27 $(CHMOD) 755 $(ALLOBJS) shell utilpak1
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
28
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
29 shell: $(SHELLMODS) $(DEPENDS)
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
30 $(MERGE) $(SHELLMODS)>$@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
31 @$(ECHO) "*** Be sure the size of this file is less than 7681 bytes! ***"
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
32 @ls -l $@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
33 @$(ECHO)
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
34
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
35 utilpak1: $(UTILPAK1) $(DEPENDS)
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
36 $(MERGE) $(UTILPAK1)>$@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
37 @$(ECHO) "*** Be sure the size of this file is less than 7681 bytes! ***"
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
38 @ls -l $@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
39 @$(ECHO)
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
40
487
6e9b939a2272 gfx, syscall and inkey are now linked from the Basic09 source directory
boisy
parents: 458
diff changeset
41 $(BASIC09FILES): $(BASEDIR)/3rdparty/packages/basic09/$@
6e9b939a2272 gfx, syscall and inkey are now linked from the Basic09 source directory
boisy
parents: 458
diff changeset
42 -$(SOFTLINK) $(BASEDIR)/3rdparty/packages/basic09/$@
6e9b939a2272 gfx, syscall and inkey are now linked from the Basic09 source directory
boisy
parents: 458
diff changeset
43
356
665287f6d3fd Slight changes to use new macros
boisy
parents: 348
diff changeset
44 $(LEVEL1FILES): $(LEVEL1)/CMDS/$@
665287f6d3fd Slight changes to use new macros
boisy
parents: 348
diff changeset
45 -$(SOFTLINK) $(LEVEL1)/CMDS/$@
160
0bdd24a428fb These files are identical to level1 commands
roug
parents: 100
diff changeset
46
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
47 clean:
487
6e9b939a2272 gfx, syscall and inkey are now linked from the Basic09 source directory
boisy
parents: 458
diff changeset
48 $(RM) shell utilpak1 $(ALLOBJS) $(BASIC09FILES) $(LEVEL1FILES)
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
49
341
20944721d3e6 Major makefile mods
boisy
parents: 340
diff changeset
50 showobjs:
431
e35722b2087e Changed order of shell/utilpak1
boisy
parents: 430
diff changeset
51 @$(ECHO) shell utilpak1 $(ALLOBJS)
341
20944721d3e6 Major makefile mods
boisy
parents: 340
diff changeset
52
100
5679e0d70acf Added identify target
boisy
parents: 0
diff changeset
53 identify:
5679e0d70acf Added identify target
boisy
parents: 0
diff changeset
54 $(IDENT_SHORT) $(ALLOBJS)