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