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