annotate 3rdparty/packages/mm/makefile @ 1126:85eed1cde1b7

attr used throughout the makefiles now
author boisy
date Sun, 13 Apr 2003 23:42:51 +0000
parents 6a058c03adb1
children c847e6ee341d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
780
ddf8da14d4a9 Import of MM
boisy
parents:
diff changeset
1 include ../../../Makefile.rules
ddf8da14d4a9 Import of MM
boisy
parents:
diff changeset
2
ddf8da14d4a9 Import of MM
boisy
parents:
diff changeset
3 DEPENDS = ./Makefile
ddf8da14d4a9 Import of MM
boisy
parents:
diff changeset
4
ddf8da14d4a9 Import of MM
boisy
parents:
diff changeset
5 DISK = mm.dsk
ddf8da14d4a9 Import of MM
boisy
parents:
diff changeset
6 CMDS = mm mod1.dat mod2.dat mod3.dat mod4.dat mod5.dat \
ddf8da14d4a9 Import of MM
boisy
parents:
diff changeset
7 mod6.sbr mod7.sbr mod8.sbr
ddf8da14d4a9 Import of MM
boisy
parents:
diff changeset
8 MD = $(LEVEL2)/MODULES
ddf8da14d4a9 Import of MM
boisy
parents:
diff changeset
9
ddf8da14d4a9 Import of MM
boisy
parents:
diff changeset
10 # We make our own bootfile and kernel track
ddf8da14d4a9 Import of MM
boisy
parents:
diff changeset
11 KERNEL = $(MD)/rel $(MD)/boot_1773 $(MD)/os9p1
ddf8da14d4a9 Import of MM
boisy
parents:
diff changeset
12 OS9BOOT = $(MD)/os9p2 $(MD)/ioman $(MD)/init \
ddf8da14d4a9 Import of MM
boisy
parents:
diff changeset
13 $(MD)/rbf.mn \
ddf8da14d4a9 Import of MM
boisy
parents:
diff changeset
14 $(MD)/cc3disk.dr $(MD)/ddd0_40d.dd \
ddf8da14d4a9 Import of MM
boisy
parents:
diff changeset
15 $(MD)/scf.mn $(MD)/cc3io.dr \
ddf8da14d4a9 Import of MM
boisy
parents:
diff changeset
16 $(MD)/keydrv $(MD)/joydrv_joy $(MD)/snddrv \
ddf8da14d4a9 Import of MM
boisy
parents:
diff changeset
17 $(MD)/vdgint_small.io $(MD)/term_vdg.dt \
ddf8da14d4a9 Import of MM
boisy
parents:
diff changeset
18 $(MD)/clock_soft $(MD)/cc3go
ddf8da14d4a9 Import of MM
boisy
parents:
diff changeset
19
ddf8da14d4a9 Import of MM
boisy
parents:
diff changeset
20 SUPPORTFILES = global.dat mm.lib mm.pnl mm.ttl mod7.lib
ddf8da14d4a9 Import of MM
boisy
parents:
diff changeset
21
ddf8da14d4a9 Import of MM
boisy
parents:
diff changeset
22 ALLOBJS = $(CMDS)
ddf8da14d4a9 Import of MM
boisy
parents:
diff changeset
23
ddf8da14d4a9 Import of MM
boisy
parents:
diff changeset
24 all: $(ALLOBJS)
ddf8da14d4a9 Import of MM
boisy
parents:
diff changeset
25 $(CHMOD) 755 $(CMDS)
ddf8da14d4a9 Import of MM
boisy
parents:
diff changeset
26
ddf8da14d4a9 Import of MM
boisy
parents:
diff changeset
27 clean: dskclean
ddf8da14d4a9 Import of MM
boisy
parents:
diff changeset
28 $(RM) $(ALLOBJS)
ddf8da14d4a9 Import of MM
boisy
parents:
diff changeset
29
ddf8da14d4a9 Import of MM
boisy
parents:
diff changeset
30 dsk: all
ddf8da14d4a9 Import of MM
boisy
parents:
diff changeset
31 $(RM) $(DISK)
ddf8da14d4a9 Import of MM
boisy
parents:
diff changeset
32 $(CD) $(LEVEL2); make
960
ea69ed12af12 Added OS9FORMAT macros which inherently specify the disk format, so that
boisy
parents: 806
diff changeset
33 $(OS9FORMAT_DS40) $(DISK) -n"Microscopic Mission"
780
ddf8da14d4a9 Import of MM
boisy
parents:
diff changeset
34 $(MERGE) $(OS9BOOT)>os9boot
ddf8da14d4a9 Import of MM
boisy
parents:
diff changeset
35 $(MERGE) $(KERNEL)>kernel_1773
1036
f174634f2306 added new options for os9gen
boisy
parents: 960
diff changeset
36 $(OS9GEN) $(DISK) -b=os9boot -t=kernel_1773
780
ddf8da14d4a9 Import of MM
boisy
parents:
diff changeset
37 $(RM) os9boot kernel_1773
ddf8da14d4a9 Import of MM
boisy
parents:
diff changeset
38 $(MAKDIR) $(DISK),CMDS
ddf8da14d4a9 Import of MM
boisy
parents:
diff changeset
39 $(CP) $(LEVEL2)/CMDS/shell_21 $(DISK),CMDS/shell
1126
85eed1cde1b7 attr used throughout the makefiles now
boisy
parents: 1121
diff changeset
40 $(OS9ATTR_EXEC) $(DISK),CMDS/shell
780
ddf8da14d4a9 Import of MM
boisy
parents:
diff changeset
41 $(CP) $(CMDS) $(DISK),CMDS
1126
85eed1cde1b7 attr used throughout the makefiles now
boisy
parents: 1121
diff changeset
42 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $(DISK),CMDS/$(file);)
780
ddf8da14d4a9 Import of MM
boisy
parents:
diff changeset
43 $(OS9RENAME) $(DISK),CMDS/mm AutoEx
ddf8da14d4a9 Import of MM
boisy
parents:
diff changeset
44 $(CP) $(SUPPORTFILES) $(DISK),.
1126
85eed1cde1b7 attr used throughout the makefiles now
boisy
parents: 1121
diff changeset
45 $(foreach file, $(SUPPORTFILES), $(OS9ATTR_EXEC) $(DISK),$(file);)
780
ddf8da14d4a9 Import of MM
boisy
parents:
diff changeset
46
1121
6a058c03adb1 More Makefile changes
boisy
parents: 1036
diff changeset
47 dskcopy: dsk
6a058c03adb1 More Makefile changes
boisy
parents: 1036
diff changeset
48 $(CP) $(DISK) $(DSKDIR)
6a058c03adb1 More Makefile changes
boisy
parents: 1036
diff changeset
49
780
ddf8da14d4a9 Import of MM
boisy
parents:
diff changeset
50 dskclean:
ddf8da14d4a9 Import of MM
boisy
parents:
diff changeset
51 $(RM) $(DISK)