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 \
|
|
25 mfree.asm montype.asm procs.asm shell_21.asm tmode.asm \
|
|
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/$@
|
|
51 cp ../../level1/CMDS/$@ .
|
|
52
|
0
|
53 clean:
|
160
|
54 $(RM) $(ALLOBJS) $(LEVEL1FILES) shell utilpak1 utilpak2
|
0
|
55
|
100
|
56 identify:
|
|
57 $(IDENT_SHORT) $(ALLOBJS)
|