31
|
1 # OS-9 Level 2 V3 Commands/Utilities
|
|
2 #
|
|
3
|
|
4 include ../../Makefile.rules
|
|
5
|
|
6 #AS = os9 /mnt2/src/ocem/os9/asm
|
|
7 #ASOUT = o=
|
|
8 AS = xasm
|
|
9 ASOUT = -o=
|
|
10 AFLAGS = -q
|
|
11 DEPENDS = ./Makefile
|
|
12
|
|
13 CMDS = attr askmontype binex build cobbler copy date \
|
|
14 deiniz del deldir ddir dir dirm display dmem dump echo exbin \
|
|
15 free ident idir iniz link list load login makdir mdir \
|
|
16 merge mfree mmap montype pmap proc procs pwd pxd rename save \
|
|
17 setime shell_21 sleep swread swset tee tmode tsmon unlink \
|
|
18 verify wcreate xmode
|
|
19 SUBS = gfx inkey
|
|
20 ALLOBJS = $(CMDS) $(SUBS)
|
|
21
|
|
22 SHELLMODS = shell_21 build copy date deiniz del dir display echo iniz \
|
|
23 link list load mdir merge mfree procs tmode unlink
|
|
24 UTILPAK1 = attr deldir dirm dmem free ident mmap proc rename setime tmode
|
|
25 UTILPAK2 = ddir idir pmap xmode
|
|
26
|
|
27 all: $(ALLOBJS) shell utilpak1 utilpak2 $(DEPENDS)
|
|
28 chmod a+rx $(ALLOBJS) shell utilpak1 utilpak2
|
|
29
|
|
30 shell: $(SHELLMODS) $(DEPENDS)
|
|
31 cat $(SHELLMODS)>$@
|
|
32 @echo "*** Be sure the size of this file is less than 7681 bytes! ***"
|
|
33 @ls -l $@
|
|
34 @echo
|
|
35
|
|
36 utilpak1: $(UTILPAK1) $(DEPENDS)
|
|
37 cat $(UTILPAK1)>$@
|
|
38 @echo "*** Be sure the size of this file is less than 7681 bytes! ***"
|
|
39 @ls -l $@
|
|
40 @echo
|
|
41
|
|
42 utilpak2: $(UTILPAK2) $(DEPENDS)
|
|
43 cat $(UTILPAK2)>$@
|
|
44 @echo "*** Be sure the size of this file is less than 7681 bytes! ***"
|
|
45 @ls -l $@
|
|
46 @echo
|
|
47
|
|
48 clean:
|
|
49 $(RM) $(ALLOBJS) shell utilpak1 utilpak2
|
|
50
|