comparison 3rdparty/packages/mm/makefile @ 2064:c8bb06c82d68

Changes for new NitrOS-9 directory structure
author boisy
date Fri, 05 May 2006 15:26:03 +0000
parents af946652495d
children 2252a95c5725
comparison
equal deleted inserted replaced
2063:5215fb9c6f0f 2064:c8bb06c82d68
3 DEPENDS = ./makefile 3 DEPENDS = ./makefile
4 4
5 DISK = mm.dsk 5 DISK = mm.dsk
6 CMDS = mm mod1.dat mod2.dat mod3.dat mod4.dat mod5.dat \ 6 CMDS = mm mod1.dat mod2.dat mod3.dat mod4.dat mod5.dat \
7 mod6.sbr mod7.sbr mod8.sbr 7 mod6.sbr mod7.sbr mod8.sbr
8 MD = $(6809L2)/modules 8 MD = $(LEVEL2)/coco3/modules
9 9
10 # We make our own bootfile and kernel track 10 # We make our own bootfile and kernel track
11 KERNEL = $(MD)/rel_32 $(MD)/boot_1773_6ms $(MD)/krn 11 KERNEL = $(MD)/rel_32 $(MD)/boot_1773_6ms $(MD)/krn
12 OS9BOOT = $(MD)/krnp2 $(MD)/ioman $(MD)/init \ 12 OS9BOOT = $(MD)/krnp2 $(MD)/ioman $(MD)/init \
13 $(MD)/rbf.mn \ 13 $(MD)/rbf.mn \
26 clean: dskclean 26 clean: dskclean
27 $(RM) $(ALLOBJS) 27 $(RM) $(ALLOBJS)
28 28
29 dsk: all 29 dsk: all
30 $(RM) $(DISK) 30 $(RM) $(DISK)
31 $(CD) $(6809L2); make 31 $(CD) $(LEVEL2)/coco3; make
32 $(OS9FORMAT_DS40) $(DISK) -n"Microscopic Mission" 32 $(OS9FORMAT_DS40) $(DISK) -n"Microscopic Mission"
33 $(MERGE) $(OS9BOOT)>os9boot 33 $(MERGE) $(OS9BOOT)>os9boot
34 $(MERGE) $(KERNEL)>kernel_1773 34 $(MERGE) $(KERNEL)>kernel_1773
35 $(OS9GEN) $(DISK) -b=os9boot -t=kernel_1773 35 $(OS9GEN) $(DISK) -b=os9boot -t=kernel_1773
36 $(RM) os9boot kernel_1773 36 $(RM) os9boot kernel_1773
37 $(MAKDIR) $(DISK),CMDS 37 $(MAKDIR) $(DISK),CMDS
38 $(CP) $(6809L2)/cmds/shell_21 $(DISK),CMDS/shell 38 $(CP) $(LEVEL2)/coco3/cmds/shell_21 $(DISK),CMDS/shell
39 $(OS9ATTR_EXEC) $(DISK),CMDS/shell 39 $(OS9ATTR_EXEC) $(DISK),CMDS/shell
40 $(CP) $(CMDS) $(DISK),CMDS 40 $(CP) $(CMDS) $(DISK),CMDS
41 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $(DISK),CMDS/$(file);) 41 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $(DISK),CMDS/$(file);)
42 $(OS9RENAME) $(DISK),CMDS/mm AutoEx 42 $(OS9RENAME) $(DISK),CMDS/mm AutoEx
43 $(CP) $(SUPPORTFILES) $(DISK),. 43 $(CP) $(SUPPORTFILES) $(DISK),.