Mercurial > hg > Members > kono > nitros9-code
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 |
rev | line source |
---|---|
0 | 1 include ../../Makefile.rules |
2 | |
3 DEPENDS = ./Makefile | |
4 | |
5 CMDS = attr binex build cobbler copy date \ | |
6 deiniz del deldir ddir dir dirm display dmem dump echo exbin \ | |
7 free ident idir iniz link list load login makdir mdir \ | |
8 merge mfree mmap montype pmap proc procs pwd pxd rename save \ | |
9 setime shell_21 sleep swread swset tee tmode tsmon unlink \ | |
10 verify wcreate xmode | |
11 SUBS = gfx inkey | |
12 ALLOBJS = $(CMDS) $(SUBS) | |
13 | |
14 SHELLMODS = shell_21 build copy date deiniz del dir display echo iniz \ | |
15 link list load mdir merge mfree procs tmode unlink | |
16 UTILPAK1 = attr deldir dirm dmem free ident mmap proc rename setime tmode | |
17 UTILPAK2 = ddir idir pmap xmode | |
18 | |
160 | 19 LEVEL1FILES = binex.asm del.asm deldir.asm \ |
20 echo.asm exbin.asm ident.asm link.asm \ | |
21 list.asm load.asm pwd.asm pxd.asm \ | |
22 save.asm sleep.asm tee.asm verify.asm | |
23 | |
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 | 26 unlink.asm wcreate.asm |
27 | |
28 # Files not compilable by os9asm: Config attr cmp dcheck dir dsave | |
0 | 29 all: $(ALLOBJS) shell utilpak1 utilpak2 $(DEPENDS) |
30 $(CHMOD) a+rx $(ALLOBJS) shell utilpak1 utilpak2 | |
31 | |
32 shell: $(SHELLMODS) $(DEPENDS) | |
33 $(MERGE) $(SHELLMODS)>$@ | |
34 @$(ECHO) "*** Be sure the size of this file is less than 7681 bytes! ***" | |
35 @ls -l $@ | |
36 @$(ECHO) | |
37 | |
38 utilpak1: $(UTILPAK1) $(DEPENDS) | |
39 $(MERGE) $(UTILPAK1)>$@ | |
40 @$(ECHO) "*** Be sure the size of this file is less than 7681 bytes! ***" | |
41 @ls -l $@ | |
42 @$(ECHO) | |
43 | |
44 utilpak2: $(UTILPAK2) $(DEPENDS) | |
45 $(MERGE) $(UTILPAK2)>$@ | |
46 @$(ECHO) "*** Be sure the size of this file is less than 7681 bytes! ***" | |
47 @ls -l $@ | |
48 @$(ECHO) | |
49 | |
160 | 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 | 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 | 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 | 57 |
100 | 58 identify: |
59 $(IDENT_SHORT) $(ALLOBJS) |