Mercurial > hg > Members > kono > nitros9-code
annotate makefile @ 2887:a1296ceb6797
boot_scsi.asm: Remove misplaced # in CntrSlot FCB constant
author | Tormod Volden <debian.tormod@gmail.com> |
---|---|
date | Sun, 24 Nov 2013 17:03:01 +0100 |
parents | cfa46960b6bd |
children | 1addfd8c9d5f |
rev | line source |
---|---|
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:
2757
diff
changeset
|
1 ifndef NITROS9DIR |
2763
c03464c24b14
Fixed a minor typo in the arcadepak's makefile related to DriveWire3 and Becker.
drencor-xeen
parents:
2758
diff
changeset
|
2 NITROS9DIR := $(HOME)/nitros9 |
c03464c24b14
Fixed a minor typo in the arcadepak's makefile related to DriveWire3 and Becker.
drencor-xeen
parents:
2758
diff
changeset
|
3 export NITROS9DIR |
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:
2757
diff
changeset
|
4 endif |
2737
17cf591458c4
Changed the nightly build section to user a environment variable for the user name when connecting to sourceforge.
drencor-xeen
parents:
2731
diff
changeset
|
5 include $(NITROS9DIR)/rules.mak |
0 | 6 |
2743
b44abaa5da88
Found that the lib folder was not being processed. Corrected issue.
drencor-xeen
parents:
2737
diff
changeset
|
7 dirs = $(NOSLIB) $(LEVEL1) $(LEVEL2) $(LEVEL3) $(3RDPARTY) |
1119
f86ef3d1d7c9
Makefiles have been redone to take advantage of size and Make features
boisy
parents:
504
diff
changeset
|
8 |
0 | 9 # Make all components |
10 all: | |
1363 | 11 @$(ECHO) "**************************************************" |
12 @$(ECHO) "* *" | |
13 @$(ECHO) "* THE NITROS-9 PROJECT *" | |
14 @$(ECHO) "* *" | |
15 @$(ECHO) "**************************************************" | |
1133 | 16 $(foreach dir, $(dirs), ($(CD) $(dir); make);) |
0 | 17 |
18 # Clean all components | |
2224 | 19 clean: |
2749
7f7274884574
Updated makefile(s) for spacequest1, spacequest2, subsim, mm, multivue, and rof so that becker disks, for use in DriveWire4 server, are created.
drencor-xeen
parents:
2743
diff
changeset
|
20 -$(RM) nitros9project.zip $(DSKDIR)/*.dsk $(DSKDIR)/ReadMe $(DSKDIR)/index.shtml |
1133 | 21 $(foreach dir, $(dirs), ($(CD) $(dir); make clean);) |
2749
7f7274884574
Updated makefile(s) for spacequest1, spacequest2, subsim, mm, multivue, and rof so that becker disks, for use in DriveWire4 server, are created.
drencor-xeen
parents:
2743
diff
changeset
|
22 $(RM) $(DSKDIR)/ReadMe |
7f7274884574
Updated makefile(s) for spacequest1, spacequest2, subsim, mm, multivue, and rof so that becker disks, for use in DriveWire4 server, are created.
drencor-xeen
parents:
2743
diff
changeset
|
23 $(RM) $(DSKDIR)/index.html |
0 | 24 |
2200 | 25 # Do CVS update |
2606
23bfa8f52dd3
Updated makefile for Mercurial
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2568
diff
changeset
|
26 hgupdate: |
2616 | 27 hg pull |
2606
23bfa8f52dd3
Updated makefile for Mercurial
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2568
diff
changeset
|
28 hg update |
2200 | 29 |
458
aac20055f8ad
Changes for shellplus source provided by Curtis Boyle
boisy
parents:
378
diff
changeset
|
30 # Make DSK images |
1119
f86ef3d1d7c9
Makefiles have been redone to take advantage of size and Make features
boisy
parents:
504
diff
changeset
|
31 dsk: all |
1133 | 32 $(foreach dir, $(dirs), ($(CD) $(dir); make dsk);) |
332 | 33 |
2227 | 34 # Copy DSK images |
2199 | 35 dskcopy: all |
36 $(foreach dir, $(dirs), ($(CD) $(dir); make dskcopy);) | |
2512 | 37 $(MKDSKINDEX) $(DSKDIR) > $(DSKDIR)/index.html |
38 | |
2199 | 39 |
458
aac20055f8ad
Changes for shellplus source provided by Curtis Boyle
boisy
parents:
378
diff
changeset
|
40 # Clean DSK images |
aac20055f8ad
Changes for shellplus source provided by Curtis Boyle
boisy
parents:
378
diff
changeset
|
41 dskclean: |
1133 | 42 $(foreach dir, $(dirs), ($(CD) $(dir); make dskclean);) |
2190 | 43 |
44 # DriveWire 3 DSK images | |
2868
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2764
diff
changeset
|
45 dwdsk = $(LEVEL1)/coco/nos96809l1coco1_dw.dsk $(LEVEL1)/coco/nos96809l1coco2_dw.dsk \ |
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2764
diff
changeset
|
46 $(LEVEL2)/coco3/nos96809l2_dw.dsk $(LEVEL2)/coco3_6309/nos96309l2_dw.dsk |
2191 | 47 |
2868
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2764
diff
changeset
|
48 dw: dsk |
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2764
diff
changeset
|
49 $(ARCHIVE) nitros9_drivewire3.zip $(dwdsk) |
2764
2af3df45f157
Updated main makefile so that when "dw3" and "becker" are activated they call the dependency "dsk".
drencor-xeen
parents:
2763
diff
changeset
|
50 |
2af3df45f157
Updated main makefile so that when "dw3" and "becker" are activated they call the dependency "dsk".
drencor-xeen
parents:
2763
diff
changeset
|
51 # DriveWire 3 Becker DSK Images |
2757
8888cd0cac1a
Added becker archive creation to the main makefile. The command is "make becker".
drencor-xeen
parents:
2749
diff
changeset
|
52 beckerdsk = $(LEVEL1)/coco/nos96809l1coco_becker.dsk \ |
8888cd0cac1a
Added becker archive creation to the main makefile. The command is "make becker".
drencor-xeen
parents:
2749
diff
changeset
|
53 $(LEVEL2)/coco3/nos96809l2_becker.dsk $(LEVEL2)/coco3_6309/nos96309l2_becker.dsk |
8888cd0cac1a
Added becker archive creation to the main makefile. The command is "make becker".
drencor-xeen
parents:
2749
diff
changeset
|
54 |
2764
2af3df45f157
Updated main makefile so that when "dw3" and "becker" are activated they call the dependency "dsk".
drencor-xeen
parents:
2763
diff
changeset
|
55 becker: dsk |
2757
8888cd0cac1a
Added becker archive creation to the main makefile. The command is "make becker".
drencor-xeen
parents:
2749
diff
changeset
|
56 $(ARCHIVE) nitros9_becker.zip $(beckerdsk) |
8888cd0cac1a
Added becker archive creation to the main makefile. The command is "make becker".
drencor-xeen
parents:
2749
diff
changeset
|
57 |
2216 | 58 info: |
59 @$(foreach dir, $(dirs), ($(CD) $(dir); make info);) | |
2763
c03464c24b14
Fixed a minor typo in the arcadepak's makefile related to DriveWire3 and Becker.
drencor-xeen
parents:
2758
diff
changeset
|
60 |
c03464c24b14
Fixed a minor typo in the arcadepak's makefile related to DriveWire3 and Becker.
drencor-xeen
parents:
2758
diff
changeset
|
61 # This section is to do the nightly build and upload |
c03464c24b14
Fixed a minor typo in the arcadepak's makefile related to DriveWire3 and Becker.
drencor-xeen
parents:
2758
diff
changeset
|
62 # to sourceforge.net you must set the environment |
c03464c24b14
Fixed a minor typo in the arcadepak's makefile related to DriveWire3 and Becker.
drencor-xeen
parents:
2758
diff
changeset
|
63 # variable SOURCEUSER to the userid you have for sourceforge.net |
c03464c24b14
Fixed a minor typo in the arcadepak's makefile related to DriveWire3 and Becker.
drencor-xeen
parents:
2758
diff
changeset
|
64 # The "burst" script is found in the scripts folder and must |
c03464c24b14
Fixed a minor typo in the arcadepak's makefile related to DriveWire3 and Becker.
drencor-xeen
parents:
2758
diff
changeset
|
65 # on your ssh account at sourceforge.net |
c03464c24b14
Fixed a minor typo in the arcadepak's makefile related to DriveWire3 and Becker.
drencor-xeen
parents:
2758
diff
changeset
|
66 ifdef SOURCEUSER |
2606
23bfa8f52dd3
Updated makefile for Mercurial
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2568
diff
changeset
|
67 nightly: clean hgupdate dskcopy |
2749
7f7274884574
Updated makefile(s) for spacequest1, spacequest2, subsim, mm, multivue, and rof so that becker disks, for use in DriveWire4 server, are created.
drencor-xeen
parents:
2743
diff
changeset
|
68 make info>$(DSKDIR)/ReadMe |
7f7274884574
Updated makefile(s) for spacequest1, spacequest2, subsim, mm, multivue, and rof so that becker disks, for use in DriveWire4 server, are created.
drencor-xeen
parents:
2743
diff
changeset
|
69 $(ARCHIVE) nitros9project $(DSKDIR)/* |
2737
17cf591458c4
Changed the nightly build section to user a environment variable for the user name when connecting to sourceforge.
drencor-xeen
parents:
2731
diff
changeset
|
70 scp nitros9project.zip $(SOURCEUSER),nitros9@web.sourceforge.net:/home/groups/n/ni/nitros9/htdocs |
17cf591458c4
Changed the nightly build section to user a environment variable for the user name when connecting to sourceforge.
drencor-xeen
parents:
2731
diff
changeset
|
71 ssh $(SOURCEUSER),nitros9@shell.sourceforge.net create |
17cf591458c4
Changed the nightly build section to user a environment variable for the user name when connecting to sourceforge.
drencor-xeen
parents:
2731
diff
changeset
|
72 ssh $(SOURCEUSER),nitros9@shell.sourceforge.net "./burst" |
2763
c03464c24b14
Fixed a minor typo in the arcadepak's makefile related to DriveWire3 and Becker.
drencor-xeen
parents:
2758
diff
changeset
|
73 else |
c03464c24b14
Fixed a minor typo in the arcadepak's makefile related to DriveWire3 and Becker.
drencor-xeen
parents:
2758
diff
changeset
|
74 nightly: |
c03464c24b14
Fixed a minor typo in the arcadepak's makefile related to DriveWire3 and Becker.
drencor-xeen
parents:
2758
diff
changeset
|
75 @echo "" |
c03464c24b14
Fixed a minor typo in the arcadepak's makefile related to DriveWire3 and Becker.
drencor-xeen
parents:
2758
diff
changeset
|
76 @echo "" |
c03464c24b14
Fixed a minor typo in the arcadepak's makefile related to DriveWire3 and Becker.
drencor-xeen
parents:
2758
diff
changeset
|
77 @echo "You need to set the SOURCEUSER variable" |
c03464c24b14
Fixed a minor typo in the arcadepak's makefile related to DriveWire3 and Becker.
drencor-xeen
parents:
2758
diff
changeset
|
78 @echo "You may wish to refer to the nightly" |
c03464c24b14
Fixed a minor typo in the arcadepak's makefile related to DriveWire3 and Becker.
drencor-xeen
parents:
2758
diff
changeset
|
79 @echo "section of the makefile." |
c03464c24b14
Fixed a minor typo in the arcadepak's makefile related to DriveWire3 and Becker.
drencor-xeen
parents:
2758
diff
changeset
|
80 endif |
c03464c24b14
Fixed a minor typo in the arcadepak's makefile related to DriveWire3 and Becker.
drencor-xeen
parents:
2758
diff
changeset
|
81 |
c03464c24b14
Fixed a minor typo in the arcadepak's makefile related to DriveWire3 and Becker.
drencor-xeen
parents:
2758
diff
changeset
|
82 # This section is to run a nightly test. |
c03464c24b14
Fixed a minor typo in the arcadepak's makefile related to DriveWire3 and Becker.
drencor-xeen
parents:
2758
diff
changeset
|
83 # This requires you to setup a environment variable |
c03464c24b14
Fixed a minor typo in the arcadepak's makefile related to DriveWire3 and Becker.
drencor-xeen
parents:
2758
diff
changeset
|
84 # called TESTSSHSERVER. |
c03464c24b14
Fixed a minor typo in the arcadepak's makefile related to DriveWire3 and Becker.
drencor-xeen
parents:
2758
diff
changeset
|
85 # example would be: TESTSSHSERVER='testuser@localhost' |
c03464c24b14
Fixed a minor typo in the arcadepak's makefile related to DriveWire3 and Becker.
drencor-xeen
parents:
2758
diff
changeset
|
86 # another example: TESTSSHSERVER='testuser@test.testhost.com' |
c03464c24b14
Fixed a minor typo in the arcadepak's makefile related to DriveWire3 and Becker.
drencor-xeen
parents:
2758
diff
changeset
|
87 # |
c03464c24b14
Fixed a minor typo in the arcadepak's makefile related to DriveWire3 and Becker.
drencor-xeen
parents:
2758
diff
changeset
|
88 # You are also required to setup a target path for your file |
c03464c24b14
Fixed a minor typo in the arcadepak's makefile related to DriveWire3 and Becker.
drencor-xeen
parents:
2758
diff
changeset
|
89 # and the environment variable that is being used in this |
c03464c24b14
Fixed a minor typo in the arcadepak's makefile related to DriveWire3 and Becker.
drencor-xeen
parents:
2758
diff
changeset
|
90 # section is called TESTSSHDIR |
c03464c24b14
Fixed a minor typo in the arcadepak's makefile related to DriveWire3 and Becker.
drencor-xeen
parents:
2758
diff
changeset
|
91 ifdef TESTSSHSERVER |
c03464c24b14
Fixed a minor typo in the arcadepak's makefile related to DriveWire3 and Becker.
drencor-xeen
parents:
2758
diff
changeset
|
92 ifdef TESTSSHDIR |
c03464c24b14
Fixed a minor typo in the arcadepak's makefile related to DriveWire3 and Becker.
drencor-xeen
parents:
2758
diff
changeset
|
93 nightlytest: clean hgupdate dskcopy |
c03464c24b14
Fixed a minor typo in the arcadepak's makefile related to DriveWire3 and Becker.
drencor-xeen
parents:
2758
diff
changeset
|
94 make info>$(DSKDIR)/ReadMe |
c03464c24b14
Fixed a minor typo in the arcadepak's makefile related to DriveWire3 and Becker.
drencor-xeen
parents:
2758
diff
changeset
|
95 $(ARCHIVE) nitros9project $(DSKDIR)/* |
c03464c24b14
Fixed a minor typo in the arcadepak's makefile related to DriveWire3 and Becker.
drencor-xeen
parents:
2758
diff
changeset
|
96 scp nitros9project.zip $(TESTSSHSERVER):$(TESTSSHDIR) |
c03464c24b14
Fixed a minor typo in the arcadepak's makefile related to DriveWire3 and Becker.
drencor-xeen
parents:
2758
diff
changeset
|
97 ssh $(TESTSSHSERVER) "./burst" |
c03464c24b14
Fixed a minor typo in the arcadepak's makefile related to DriveWire3 and Becker.
drencor-xeen
parents:
2758
diff
changeset
|
98 else |
c03464c24b14
Fixed a minor typo in the arcadepak's makefile related to DriveWire3 and Becker.
drencor-xeen
parents:
2758
diff
changeset
|
99 nightlytest: |
c03464c24b14
Fixed a minor typo in the arcadepak's makefile related to DriveWire3 and Becker.
drencor-xeen
parents:
2758
diff
changeset
|
100 @echo "" |
c03464c24b14
Fixed a minor typo in the arcadepak's makefile related to DriveWire3 and Becker.
drencor-xeen
parents:
2758
diff
changeset
|
101 @echo "" |
c03464c24b14
Fixed a minor typo in the arcadepak's makefile related to DriveWire3 and Becker.
drencor-xeen
parents:
2758
diff
changeset
|
102 @echo "You need to set the TESTSSHDIR variable" |
c03464c24b14
Fixed a minor typo in the arcadepak's makefile related to DriveWire3 and Becker.
drencor-xeen
parents:
2758
diff
changeset
|
103 @echo "You may wish to refer to the nightlytest" |
c03464c24b14
Fixed a minor typo in the arcadepak's makefile related to DriveWire3 and Becker.
drencor-xeen
parents:
2758
diff
changeset
|
104 @echo "section of the makefile to see what" |
c03464c24b14
Fixed a minor typo in the arcadepak's makefile related to DriveWire3 and Becker.
drencor-xeen
parents:
2758
diff
changeset
|
105 @echo "needs to be setup first before using" |
c03464c24b14
Fixed a minor typo in the arcadepak's makefile related to DriveWire3 and Becker.
drencor-xeen
parents:
2758
diff
changeset
|
106 @echo "this option" |
c03464c24b14
Fixed a minor typo in the arcadepak's makefile related to DriveWire3 and Becker.
drencor-xeen
parents:
2758
diff
changeset
|
107 endif |
c03464c24b14
Fixed a minor typo in the arcadepak's makefile related to DriveWire3 and Becker.
drencor-xeen
parents:
2758
diff
changeset
|
108 else |
c03464c24b14
Fixed a minor typo in the arcadepak's makefile related to DriveWire3 and Becker.
drencor-xeen
parents:
2758
diff
changeset
|
109 nightlytest: |
c03464c24b14
Fixed a minor typo in the arcadepak's makefile related to DriveWire3 and Becker.
drencor-xeen
parents:
2758
diff
changeset
|
110 @echo "" |
c03464c24b14
Fixed a minor typo in the arcadepak's makefile related to DriveWire3 and Becker.
drencor-xeen
parents:
2758
diff
changeset
|
111 @echo "" |
c03464c24b14
Fixed a minor typo in the arcadepak's makefile related to DriveWire3 and Becker.
drencor-xeen
parents:
2758
diff
changeset
|
112 @echo "You need to set the TESTSSHSERVER variable" |
c03464c24b14
Fixed a minor typo in the arcadepak's makefile related to DriveWire3 and Becker.
drencor-xeen
parents:
2758
diff
changeset
|
113 @echo "You may wish to refer to the nightlytest" |
c03464c24b14
Fixed a minor typo in the arcadepak's makefile related to DriveWire3 and Becker.
drencor-xeen
parents:
2758
diff
changeset
|
114 @echo "section of the makefile to see what" |
c03464c24b14
Fixed a minor typo in the arcadepak's makefile related to DriveWire3 and Becker.
drencor-xeen
parents:
2758
diff
changeset
|
115 @echo "needs to be setup first before using" |
c03464c24b14
Fixed a minor typo in the arcadepak's makefile related to DriveWire3 and Becker.
drencor-xeen
parents:
2758
diff
changeset
|
116 @echo "this option." |
c03464c24b14
Fixed a minor typo in the arcadepak's makefile related to DriveWire3 and Becker.
drencor-xeen
parents:
2758
diff
changeset
|
117 endif |