Mercurial > hg > Members > kono > nitros9-code
annotate 3rdparty/customboots/boisy/makefile.6309 @ 2724:05b648103e78 lwtools-port
Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
author | Boisy Pitre <boisy.pitre@nuance.com> |
---|---|
date | Mon, 30 Jul 2012 19:35:05 -0500 |
parents | c2cfc8716982 |
children |
rev | line source |
---|---|
2472 | 1 # NitrOS-9/6309 Level 2 bootfile for a 128K CoCo 3 with a Hitatchi 6309 |
2 # For Boisy's thesis work | |
3 | |
4 include $(NITROS9DIR)/rules.mak | |
5 | |
6 vpath %.asm ../../../utils/boisy:..:$(LEVEL2)/cmds:$(LEVEL1)/cmds:$(LEVEL1)/modules:$(NITROS9DIR)/3rdparty/packages/basic09 | |
7 | |
8 AFLAGS += -aNoTerm=1 -acoco3=1 | |
9 | |
10 LFLAGS += -y -l=$(NITROS9DIR)/3rdparty/libs/alib/alib.l -l=$(NITROS9DIR)/lib/sys6309l2.l | |
11 3PDW63 = $(3RDPARTY)/packages/drivewire/6309l2 | |
12 3PBOISY = $(3RDPARTY)/utils/boisy | |
13 | |
14 DEPENDS = ./makefile | |
15 | |
16 #AFLAGS += -e -aH6309=1 | |
17 | |
18 DSK = thesis.dsk | |
19 CD = $(LEVEL2)/coco3_6309/cmds | |
20 MD = $(LEVEL2)/coco3_6309/modules | |
21 SYSTEXT = motd password inetd.conf | |
22 DSKS = $(DSK) | |
23 | |
24 CMDS = $(CD)/attr $(CD)/build $(CD)/cmp $(CD)/copy $(CD)/cputype $(CD)/date $(CD)/debug \ | |
25 $(CD)/deiniz $(CD)/del $(CD)/deldir $(CD)/devs $(CD)/dir $(CD)/display \ | |
26 $(CD)/dmem $(CD)/dmode $(CD)/dump $(CD)/echo $(CD)/edit $(CD)/error \ | |
27 $(CD)/free $(CD)/grfdrv $(CD)/help $(CD)/ident $(CD)/iniz $(CD)/link \ | |
28 $(CD)/list $(CD)/load $(CD)/login $(CD)/makdir $(CD)/mdir $(CD)/merge \ | |
29 $(CD)/mfree $(CD)/mmap $(CD)/mpi $(CD)/pmap $(CD)/proc $(CD)/procs \ | |
30 $(CD)/prompt $(CD)/pwd $(CD)/pxd $(CD)/rename $(CD)/save $(CD)/shell \ | |
31 $(CD)/sleep $(CD)/smap $(CD)/tee $(CD)/tmode $(CD)/touch $(CD)/tsmon \ | |
32 $(CD)/unlink $(CD)/verify $(CD)/xmode $(CD)/utilpak1 $(CD)/basic09 $(CD)/syscall | |
33 | |
34 CMDS_DW = $(3PDW63)/inetd $(3PDW63)/dw \ | |
35 $(3PDW63)/telnet $(3PBOISY)/send | |
36 | |
37 CMDS_THESIS = testmisc testmul testdivq testtfr testexg testadd testnop testsync testlda teststa testlbra | |
38 SRC_THESIS = testmisc.a testmul.a testdivq.a testtfr.a testexg.a testadd.a testnop.a testsync.a testlda.a teststa.a testlbra.a | |
39 | |
40 # We make our own bootfile and kernel track | |
2724
05b648103e78
Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2472
diff
changeset
|
41 KERNEL = $(MD)/rel_80 $(MD)/boot_dw $(MD)/krn |
2472 | 42 BOOTFILE_DWTERM = $(MD)/krnp2 $(MD)/ioman $(MD)/init \ |
43 $(MD)/rbf.mn \ | |
2724
05b648103e78
Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2472
diff
changeset
|
44 $(MD)/rbdw.dr $(MD)/dwio.sb \ |
2472 | 45 $(MD)/rammer.dr $(MD)/r0_128k.dd \ |
46 $(MD)/ddx0.dd $(MD)/x1.dd $(MD)/x2.dd $(MD)/x3.dd \ | |
47 $(MD)/scf.mn \ | |
48 $(MD)/sc6551.dr $(MD)/t2_sc6551.dd $(MD)/t3_sc6551.dd \ | |
49 $(MD)/scdwn.dr $(MD)/term_scdwn.dt \ | |
50 $(MD)/n_scdwn.dd \ | |
51 $(MD)/n1_scdwn.dd $(MD)/n2_scdwn.dd $(MD)/n3_scdwn.dd \ | |
52 $(MD)/n4_scdwn.dd $(MD)/n5_scdwn.dd $(MD)/n6_scdwn.dd \ | |
53 $(MD)/n7_scdwn.dd $(MD)/n8_scdwn.dd $(MD)/n9_scdwn.dd \ | |
54 $(MD)/n10_scdwn.dd $(MD)/n11_scdwn.dd $(MD)/n12_scdwn.dd \ | |
55 $(MD)/n13_scdwn.dd $(MD)/n14_scdwn.dd \ | |
56 $(MD)/scdwp.dr $(MD)/p_scdwp.dd \ | |
57 $(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \ | |
2724
05b648103e78
Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2472
diff
changeset
|
58 $(MD)/clock_60hz $(MD)/clock2_dw \ |
2472 | 59 $(MD)/sysgo_dd |
60 | |
61 BOOTFILE_WINTERM = $(MD)/krnp2 $(MD)/ioman $(MD)/init \ | |
62 $(MD)/rbf.mn \ | |
2724
05b648103e78
Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2472
diff
changeset
|
63 $(MD)/rbdw.dr $(MD)/dwio.sb \ |
2472 | 64 $(MD)/ddx0.dd $(MD)/x1.dd $(MD)/x2.dd $(MD)/x3.dd \ |
65 $(MD)/scf.mn \ | |
66 $(MD)/vtio.dr \ | |
67 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \ | |
68 $(MD)/cowin.io $(MD)/covdg.io \ | |
69 $(MD)/term_win80.dt $(MD)/w1.dw $(MD)/w2.dw $(MD)/w3.dw $(MD)/w4.dw \ | |
70 $(MD)/w5.dw $(MD)/w6.dw $(MD)/w7.dw \ | |
71 $(MD)/scdwn.dr \ | |
72 $(MD)/n_scdwn.dd \ | |
73 $(MD)/n1_scdwn.dd $(MD)/n2_scdwn.dd $(MD)/n3_scdwn.dd \ | |
74 $(MD)/n4_scdwn.dd $(MD)/n5_scdwn.dd $(MD)/n6_scdwn.dd \ | |
75 $(MD)/n7_scdwn.dd $(MD)/n8_scdwn.dd $(MD)/n9_scdwn.dd \ | |
76 $(MD)/n10_scdwn.dd $(MD)/n11_scdwn.dd $(MD)/n12_scdwn.dd \ | |
77 $(MD)/n13_scdwn.dd $(MD)/n14_scdwn.dd \ | |
78 $(MD)/scdwp.dr $(MD)/p_scdwp.dd \ | |
79 $(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \ | |
2724
05b648103e78
Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2472
diff
changeset
|
80 $(MD)/clock_60hz $(MD)/clock2_dw \ |
2472 | 81 $(MD)/sysgo_dd |
82 | |
83 BOOTFILE_VDGTERM = $(MD)/krnp2 $(MD)/ioman $(MD)/init \ | |
84 $(MD)/rbf.mn \ | |
2724
05b648103e78
Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2472
diff
changeset
|
85 $(MD)/rbdw.dr $(MD)/dwio.sb \ |
2472 | 86 $(MD)/ddx0.dd $(MD)/x1.dd $(MD)/x2.dd $(MD)/x3.dd \ |
87 $(MD)/scf.mn \ | |
88 $(MD)/vtio.dr \ | |
89 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \ | |
90 $(MD)/covdg.io \ | |
91 $(MD)/term_vdg.dt \ | |
92 $(MD)/scdwn.dr \ | |
93 $(MD)/n_scdwn.dd \ | |
94 $(MD)/n1_scdwn.dd $(MD)/n2_scdwn.dd $(MD)/n3_scdwn.dd \ | |
95 $(MD)/n4_scdwn.dd $(MD)/n5_scdwn.dd $(MD)/n6_scdwn.dd \ | |
96 $(MD)/n7_scdwn.dd $(MD)/n8_scdwn.dd $(MD)/n9_scdwn.dd \ | |
97 $(MD)/n10_scdwn.dd $(MD)/n11_scdwn.dd $(MD)/n12_scdwn.dd \ | |
98 $(MD)/n13_scdwn.dd $(MD)/n14_scdwn.dd \ | |
2724
05b648103e78
Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2472
diff
changeset
|
99 $(MD)/clock_60hz $(MD)/clock2_dw \ |
2472 | 100 $(MD)/sysgo_dd |
101 | |
102 SUPPORTFILES = startup | |
103 BOOTFILE = $(BOOTFILE_DWTERM) | |
104 | |
105 ALLOBJS = $(CMDS) $(CMDS_DW) $(CMDS_THESIS) | |
106 | |
107 all: makedepends $(ALLOBJS) | |
108 | |
109 makedepends: | |
110 cd $(LEVEL2)/coco3; make | |
111 cd $(3RDPARTY)/packages/drivewire; make | |
112 cd $(3PBOISY); make | |
113 | |
114 clean: dskclean | |
115 -$(RM) $(CMDS_THESIS) | |
116 | |
117 dsk: all $(DSKS) | |
118 | |
119 $(DSK): | |
120 cd $(3RDPARTY)/utils/supercomm; make | |
121 $(RM) $@ | |
122 $(CD) $(LEVEL2)/coco3; make | |
123 $(OS9FORMAT_SS80) -q $@ -n"NitrOS-9 Level 2 DriveWire Server" | |
124 $(MERGE) $(BOOTFILE)>os9boot | |
125 $(MERGE) $(KERNEL)>kernel | |
126 $(OS9GEN) $@ -b=os9boot -t=kernel | |
127 $(RM) os9boot kernel | |
128 $(MAKDIR) $@,CMDS | |
129 $(MAKDIR) $@,SYS | |
130 $(CP) $(CMDS) $(CMDS_DW) $(CMDS_THESIS) $@,CMDS | |
131 $(foreach file, $(CMDS) $(CMDS_DW) $(CMDS_THESIS), $(OS9ATTR_EXEC) $@,CMDS/$(notdir $(file));) | |
132 $(MAKDIR) $@,SRC | |
133 $(CPL) $(SRC_THESIS) $@,SRC | |
134 $(CP) $(3RDPARTY)/utils/supercomm/supercomm $@,CMDS | |
135 $(OS9ATTR_EXEC) $@,CMDS/supercomm | |
136 $(CPL) $(SYSTEXT) $@,SYS | |
137 $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);) | |
138 $(CPL) $(SUPPORTFILES) $@,. | |
139 $(foreach file, $(SUPPORTFILES), $(OS9ATTR_TEXT) $@,$(file);) | |
140 | |
141 dskcopy: dsk | |
142 $(CP) $(DSKS) $(DSKDIR) | |
143 | |
144 dskclean: | |
145 -$(RM) $(DSKS) | |
146 | |
147 info: | |
148 @$(ECHO) "*** NitrOS-9/6309 Level 2 DriveWire Server ***" | |
149 @$(foreach dsk, $(DSKS), $(ECHO) $(dsk);) |