annotate 3rdparty/customboots/boisy/makefile @ 2763:c03464c24b14

Fixed a minor typo in the arcadepak's makefile related to DriveWire3 and Becker. Updated makefile with new option nightlytest. Run option is "make nightlytest". You also need to test environment variable TESTSSHDIR and TESTSSHSERVER before using it. Also updated the nightly option so if the SOURCEUSER environment variable is not set it will report it.
author drencor-xeen
date Wed, 16 Jan 2013 17:33:46 -0600
parents e4a0f58a5f9b
children cfa46960b6bd
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2417
53caf24c6e10 Updated
boisy
parents: 2378
diff changeset
1 # NitrOS-9/6809 Level 2 bootfile for a 128K CoCo 3 with a Motorla 6809
2372
bfb8eefc19e1 Renamed S$Peer to S$HUP
boisy
parents: 2369
diff changeset
2 # For Boisy's thesis work
bfb8eefc19e1 Renamed S$Peer to S$HUP
boisy
parents: 2369
diff changeset
3
2758
e4a0f58a5f9b Found that people who do not have the envirornment variable NITROS9DIR set before building the project get a error missing file "/rules.mak". Found this is caused do to the fact that the code to set this envirornment variable is in the rules.mak which can't get loaded.
drencor-xeen
parents: 2480
diff changeset
4 ifndef NITROS9DIR
e4a0f58a5f9b Found that people who do not have the envirornment variable NITROS9DIR set before building the project get a error missing file "/rules.mak". Found this is caused do to the fact that the code to set this envirornment variable is in the rules.mak which can't get loaded.
drencor-xeen
parents: 2480
diff changeset
5 NITROS9DIR = $(HOME)/nitros9
e4a0f58a5f9b Found that people who do not have the envirornment variable NITROS9DIR set before building the project get a error missing file "/rules.mak". Found this is caused do to the fact that the code to set this envirornment variable is in the rules.mak which can't get loaded.
drencor-xeen
parents: 2480
diff changeset
6 endif
2297
525698e271ed Added customboots for testing
boisy
parents:
diff changeset
7 include $(NITROS9DIR)/rules.mak
525698e271ed Added customboots for testing
boisy
parents:
diff changeset
8
2368
51975fad5123 New work
boisy
parents: 2309
diff changeset
9 vpath %.asm ../../../utils/boisy:..:$(LEVEL2)/cmds:$(LEVEL1)/cmds:$(LEVEL1)/modules:$(NITROS9DIR)/3rdparty/packages/basic09
51975fad5123 New work
boisy
parents: 2309
diff changeset
10
51975fad5123 New work
boisy
parents: 2309
diff changeset
11 AFLAGS += -aNoTerm=1 -acoco3=1
51975fad5123 New work
boisy
parents: 2309
diff changeset
12
2426
5ade5dd9c3cb Updated
boisy
parents: 2425
diff changeset
13 LFLAGS += -y -l=$(NITROS9DIR)/3rdparty/libs/alib/alib.l -l=$(NITROS9DIR)/lib/sys6809l2.l
2417
53caf24c6e10 Updated
boisy
parents: 2378
diff changeset
14 3PDW68 = $(3RDPARTY)/packages/drivewire/6809l2
2376
514dd39968e0 Updates
boisy
parents: 2372
diff changeset
15 3PBOISY = $(3RDPARTY)/utils/boisy
2297
525698e271ed Added customboots for testing
boisy
parents:
diff changeset
16
525698e271ed Added customboots for testing
boisy
parents:
diff changeset
17 DEPENDS = ./makefile
525698e271ed Added customboots for testing
boisy
parents:
diff changeset
18
2417
53caf24c6e10 Updated
boisy
parents: 2378
diff changeset
19 #AFLAGS += -e -aH6309=1
2368
51975fad5123 New work
boisy
parents: 2309
diff changeset
20
51975fad5123 New work
boisy
parents: 2309
diff changeset
21 DSK = thesis.dsk
2417
53caf24c6e10 Updated
boisy
parents: 2378
diff changeset
22 CD = $(LEVEL2)/coco3/cmds
53caf24c6e10 Updated
boisy
parents: 2378
diff changeset
23 MD = $(LEVEL2)/coco3/modules
2418
306d85fb6576 Updated
boisy
parents: 2417
diff changeset
24 SYSTEXT = motd password inetd.conf
2297
525698e271ed Added customboots for testing
boisy
parents:
diff changeset
25 DSKS = $(DSK)
525698e271ed Added customboots for testing
boisy
parents:
diff changeset
26
2471
boisy
parents: 2426
diff changeset
27 CMDS = $(CD)/attr $(CD)/build $(CD)/cmp $(CD)/copy $(CD)/cputype $(CD)/date $(CD)/debug \
2368
51975fad5123 New work
boisy
parents: 2309
diff changeset
28 $(CD)/deiniz $(CD)/del $(CD)/deldir $(CD)/devs $(CD)/dir $(CD)/display \
51975fad5123 New work
boisy
parents: 2309
diff changeset
29 $(CD)/dmem $(CD)/dmode $(CD)/dump $(CD)/echo $(CD)/edit $(CD)/error \
51975fad5123 New work
boisy
parents: 2309
diff changeset
30 $(CD)/free $(CD)/grfdrv $(CD)/help $(CD)/ident $(CD)/iniz $(CD)/link \
51975fad5123 New work
boisy
parents: 2309
diff changeset
31 $(CD)/list $(CD)/load $(CD)/login $(CD)/makdir $(CD)/mdir $(CD)/merge \
51975fad5123 New work
boisy
parents: 2309
diff changeset
32 $(CD)/mfree $(CD)/mmap $(CD)/mpi $(CD)/pmap $(CD)/proc $(CD)/procs \
51975fad5123 New work
boisy
parents: 2309
diff changeset
33 $(CD)/prompt $(CD)/pwd $(CD)/pxd $(CD)/rename $(CD)/save $(CD)/shell \
51975fad5123 New work
boisy
parents: 2309
diff changeset
34 $(CD)/sleep $(CD)/smap $(CD)/tee $(CD)/tmode $(CD)/touch $(CD)/tsmon \
51975fad5123 New work
boisy
parents: 2309
diff changeset
35 $(CD)/unlink $(CD)/verify $(CD)/xmode $(CD)/utilpak1 $(CD)/basic09 $(CD)/syscall
51975fad5123 New work
boisy
parents: 2309
diff changeset
36
2417
53caf24c6e10 Updated
boisy
parents: 2378
diff changeset
37 CMDS_DW = $(3PDW68)/inetd $(3PDW68)/dw \
53caf24c6e10 Updated
boisy
parents: 2378
diff changeset
38 $(3PDW68)/telnet $(3PBOISY)/send
2368
51975fad5123 New work
boisy
parents: 2309
diff changeset
39
2426
5ade5dd9c3cb Updated
boisy
parents: 2425
diff changeset
40 CMDS_THESIS = testmul testtfr testexg testadd testnop
5ade5dd9c3cb Updated
boisy
parents: 2425
diff changeset
41 SRC_THESIS = testmul.a testtfr.a testexg.a testadd.a testnop.a
2297
525698e271ed Added customboots for testing
boisy
parents:
diff changeset
42
525698e271ed Added customboots for testing
boisy
parents:
diff changeset
43 # We make our own bootfile and kernel track
2309
f3e79ee2ffef Driver now moved ISR to dw3, all works
boisy
parents: 2301
diff changeset
44 KERNEL = $(MD)/rel_80 $(MD)/boot_dw3 $(MD)/krn
2423
8194ea2e9906 Updated
boisy
parents: 2419
diff changeset
45 BOOTFILE_DWTERM = $(MD)/krnp2 $(MD)/ioman $(MD)/init \
2368
51975fad5123 New work
boisy
parents: 2309
diff changeset
46 $(MD)/rbf.mn \
51975fad5123 New work
boisy
parents: 2309
diff changeset
47 $(MD)/rbdw3.dr $(MD)/dw3.sb \
51975fad5123 New work
boisy
parents: 2309
diff changeset
48 $(MD)/rammer.dr $(MD)/r0_128k.dd \
51975fad5123 New work
boisy
parents: 2309
diff changeset
49 $(MD)/ddx0.dd $(MD)/x1.dd $(MD)/x2.dd $(MD)/x3.dd \
2297
525698e271ed Added customboots for testing
boisy
parents:
diff changeset
50 $(MD)/scf.mn \
2378
2f771d5be5d3 Added thesis test programs
boisy
parents: 2376
diff changeset
51 $(MD)/sc6551.dr $(MD)/t2_sc6551.dd $(MD)/t3_sc6551.dd \
2368
51975fad5123 New work
boisy
parents: 2309
diff changeset
52 $(MD)/scdwn.dr $(MD)/term_scdwn.dt \
2417
53caf24c6e10 Updated
boisy
parents: 2378
diff changeset
53 $(MD)/n_scdwn.dd \
2368
51975fad5123 New work
boisy
parents: 2309
diff changeset
54 $(MD)/n1_scdwn.dd $(MD)/n2_scdwn.dd $(MD)/n3_scdwn.dd \
51975fad5123 New work
boisy
parents: 2309
diff changeset
55 $(MD)/n4_scdwn.dd $(MD)/n5_scdwn.dd $(MD)/n6_scdwn.dd \
51975fad5123 New work
boisy
parents: 2309
diff changeset
56 $(MD)/n7_scdwn.dd $(MD)/n8_scdwn.dd $(MD)/n9_scdwn.dd \
51975fad5123 New work
boisy
parents: 2309
diff changeset
57 $(MD)/n10_scdwn.dd $(MD)/n11_scdwn.dd $(MD)/n12_scdwn.dd \
51975fad5123 New work
boisy
parents: 2309
diff changeset
58 $(MD)/n13_scdwn.dd $(MD)/n14_scdwn.dd \
51975fad5123 New work
boisy
parents: 2309
diff changeset
59 $(MD)/scdwp.dr $(MD)/p_scdwp.dd \
51975fad5123 New work
boisy
parents: 2309
diff changeset
60 $(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \
2300
boisy
parents: 2297
diff changeset
61 $(MD)/clock_60hz $(MD)/clock2_dw3 \
2419
6735ed1656bc Took out other mods
boisy
parents: 2418
diff changeset
62 $(MD)/sysgo_dd
2423
8194ea2e9906 Updated
boisy
parents: 2419
diff changeset
63
8194ea2e9906 Updated
boisy
parents: 2419
diff changeset
64 BOOTFILE_WINTERM = $(MD)/krnp2 $(MD)/ioman $(MD)/init \
8194ea2e9906 Updated
boisy
parents: 2419
diff changeset
65 $(MD)/rbf.mn \
8194ea2e9906 Updated
boisy
parents: 2419
diff changeset
66 $(MD)/rbdw3.dr $(MD)/dw3.sb \
8194ea2e9906 Updated
boisy
parents: 2419
diff changeset
67 $(MD)/ddx0.dd $(MD)/x1.dd $(MD)/x2.dd $(MD)/x3.dd \
8194ea2e9906 Updated
boisy
parents: 2419
diff changeset
68 $(MD)/scf.mn \
8194ea2e9906 Updated
boisy
parents: 2419
diff changeset
69 $(MD)/vtio.dr \
8194ea2e9906 Updated
boisy
parents: 2419
diff changeset
70 $(MD)/keydrv_cc3.sb $(MD)/joydrv_joy.sb $(MD)/snddrv_cc3.sb \
8194ea2e9906 Updated
boisy
parents: 2419
diff changeset
71 $(MD)/cowin.io $(MD)/covdg.io \
8194ea2e9906 Updated
boisy
parents: 2419
diff changeset
72 $(MD)/term_win80.dt $(MD)/w1.dw $(MD)/w2.dw $(MD)/w3.dw $(MD)/w4.dw \
8194ea2e9906 Updated
boisy
parents: 2419
diff changeset
73 $(MD)/w5.dw $(MD)/w6.dw $(MD)/w7.dw \
8194ea2e9906 Updated
boisy
parents: 2419
diff changeset
74 $(MD)/scdwn.dr \
8194ea2e9906 Updated
boisy
parents: 2419
diff changeset
75 $(MD)/n_scdwn.dd \
8194ea2e9906 Updated
boisy
parents: 2419
diff changeset
76 $(MD)/n1_scdwn.dd $(MD)/n2_scdwn.dd $(MD)/n3_scdwn.dd \
8194ea2e9906 Updated
boisy
parents: 2419
diff changeset
77 $(MD)/n4_scdwn.dd $(MD)/n5_scdwn.dd $(MD)/n6_scdwn.dd \
8194ea2e9906 Updated
boisy
parents: 2419
diff changeset
78 $(MD)/n7_scdwn.dd $(MD)/n8_scdwn.dd $(MD)/n9_scdwn.dd \
8194ea2e9906 Updated
boisy
parents: 2419
diff changeset
79 $(MD)/n10_scdwn.dd $(MD)/n11_scdwn.dd $(MD)/n12_scdwn.dd \
8194ea2e9906 Updated
boisy
parents: 2419
diff changeset
80 $(MD)/n13_scdwn.dd $(MD)/n14_scdwn.dd \
8194ea2e9906 Updated
boisy
parents: 2419
diff changeset
81 $(MD)/scdwp.dr $(MD)/p_scdwp.dd \
8194ea2e9906 Updated
boisy
parents: 2419
diff changeset
82 $(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \
8194ea2e9906 Updated
boisy
parents: 2419
diff changeset
83 $(MD)/clock_60hz $(MD)/clock2_dw3 \
8194ea2e9906 Updated
boisy
parents: 2419
diff changeset
84 $(MD)/sysgo_dd
2297
525698e271ed Added customboots for testing
boisy
parents:
diff changeset
85
525698e271ed Added customboots for testing
boisy
parents:
diff changeset
86 SUPPORTFILES = startup
2480
bdc39414cf50 Fixed issues in makefiles
boisy
parents: 2471
diff changeset
87 BOOTFILE = $(BOOTFILE_WINTERM)
2297
525698e271ed Added customboots for testing
boisy
parents:
diff changeset
88
2368
51975fad5123 New work
boisy
parents: 2309
diff changeset
89 ALLOBJS = $(CMDS) $(CMDS_DW) $(CMDS_THESIS)
2297
525698e271ed Added customboots for testing
boisy
parents:
diff changeset
90
2376
514dd39968e0 Updates
boisy
parents: 2372
diff changeset
91 all: makedepends $(ALLOBJS)
514dd39968e0 Updates
boisy
parents: 2372
diff changeset
92
514dd39968e0 Updates
boisy
parents: 2372
diff changeset
93 makedepends:
2417
53caf24c6e10 Updated
boisy
parents: 2378
diff changeset
94 cd $(LEVEL2)/coco3; make
2376
514dd39968e0 Updates
boisy
parents: 2372
diff changeset
95 cd $(3RDPARTY)/packages/drivewire; make
514dd39968e0 Updates
boisy
parents: 2372
diff changeset
96 cd $(3PBOISY); make
2297
525698e271ed Added customboots for testing
boisy
parents:
diff changeset
97
525698e271ed Added customboots for testing
boisy
parents:
diff changeset
98 clean: dskclean
2378
2f771d5be5d3 Added thesis test programs
boisy
parents: 2376
diff changeset
99 -$(RM) $(CMDS_THESIS)
2297
525698e271ed Added customboots for testing
boisy
parents:
diff changeset
100
525698e271ed Added customboots for testing
boisy
parents:
diff changeset
101 dsk: all $(DSKS)
525698e271ed Added customboots for testing
boisy
parents:
diff changeset
102
525698e271ed Added customboots for testing
boisy
parents:
diff changeset
103 $(DSK):
2368
51975fad5123 New work
boisy
parents: 2309
diff changeset
104 cd $(3RDPARTY)/utils/supercomm; make
2297
525698e271ed Added customboots for testing
boisy
parents:
diff changeset
105 $(RM) $@
2417
53caf24c6e10 Updated
boisy
parents: 2378
diff changeset
106 $(CD) $(LEVEL2)/coco3; make
2297
525698e271ed Added customboots for testing
boisy
parents:
diff changeset
107 $(OS9FORMAT_SS80) -q $@ -n"NitrOS-9 Level 2 DriveWire Server"
525698e271ed Added customboots for testing
boisy
parents:
diff changeset
108 $(MERGE) $(BOOTFILE)>os9boot
525698e271ed Added customboots for testing
boisy
parents:
diff changeset
109 $(MERGE) $(KERNEL)>kernel
525698e271ed Added customboots for testing
boisy
parents:
diff changeset
110 $(OS9GEN) $@ -b=os9boot -t=kernel
525698e271ed Added customboots for testing
boisy
parents:
diff changeset
111 $(RM) os9boot kernel
525698e271ed Added customboots for testing
boisy
parents:
diff changeset
112 $(MAKDIR) $@,CMDS
2368
51975fad5123 New work
boisy
parents: 2309
diff changeset
113 $(MAKDIR) $@,SYS
51975fad5123 New work
boisy
parents: 2309
diff changeset
114 $(CP) $(CMDS) $(CMDS_DW) $(CMDS_THESIS) $@,CMDS
51975fad5123 New work
boisy
parents: 2309
diff changeset
115 $(foreach file, $(CMDS) $(CMDS_DW) $(CMDS_THESIS), $(OS9ATTR_EXEC) $@,CMDS/$(notdir $(file));)
2423
8194ea2e9906 Updated
boisy
parents: 2419
diff changeset
116 $(MAKDIR) $@,SRC
8194ea2e9906 Updated
boisy
parents: 2419
diff changeset
117 $(CPL) $(SRC_THESIS) $@,SRC
2368
51975fad5123 New work
boisy
parents: 2309
diff changeset
118 $(CP) $(3RDPARTY)/utils/supercomm/supercomm $@,CMDS
51975fad5123 New work
boisy
parents: 2309
diff changeset
119 $(OS9ATTR_EXEC) $@,CMDS/supercomm
51975fad5123 New work
boisy
parents: 2309
diff changeset
120 $(CPL) $(SYSTEXT) $@,SYS
51975fad5123 New work
boisy
parents: 2309
diff changeset
121 $(foreach file, $(SYSTEXT), $(OS9ATTR_TEXT) $@,SYS/$(file);)
2297
525698e271ed Added customboots for testing
boisy
parents:
diff changeset
122 $(CPL) $(SUPPORTFILES) $@,.
525698e271ed Added customboots for testing
boisy
parents:
diff changeset
123 $(foreach file, $(SUPPORTFILES), $(OS9ATTR_TEXT) $@,$(file);)
525698e271ed Added customboots for testing
boisy
parents:
diff changeset
124
525698e271ed Added customboots for testing
boisy
parents:
diff changeset
125 dskcopy: dsk
525698e271ed Added customboots for testing
boisy
parents:
diff changeset
126 $(CP) $(DSKS) $(DSKDIR)
525698e271ed Added customboots for testing
boisy
parents:
diff changeset
127
525698e271ed Added customboots for testing
boisy
parents:
diff changeset
128 dskclean:
2378
2f771d5be5d3 Added thesis test programs
boisy
parents: 2376
diff changeset
129 -$(RM) $(DSKS)
2297
525698e271ed Added customboots for testing
boisy
parents:
diff changeset
130
525698e271ed Added customboots for testing
boisy
parents:
diff changeset
131 info:
2417
53caf24c6e10 Updated
boisy
parents: 2378
diff changeset
132 @$(ECHO) "*** NitrOS-9/6809 Level 2 DriveWire Server ***"
2297
525698e271ed Added customboots for testing
boisy
parents:
diff changeset
133 @$(foreach dsk, $(DSKS), $(ECHO) $(dsk);)