Mercurial > hg > Members > kono > nitros9-code
annotate makefile @ 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.
To fix this the code needed to set the envirornment variable that is in the rules.mak is now in the makefile(s) right before the include for the rules.mak file. This should fix the problem for those who do not have the NITROS9DIR envirornment variable preset.
author | drencor-xeen |
---|---|
date | Mon, 14 Jan 2013 14:37:46 -0600 |
parents | 8888cd0cac1a |
children | c03464c24b14 |
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 |
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
|
2 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:
2757
diff
changeset
|
3 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
|
4 include $(NITROS9DIR)/rules.mak |
0 | 5 |
2743
b44abaa5da88
Found that the lib folder was not being processed. Corrected issue.
drencor-xeen
parents:
2737
diff
changeset
|
6 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
|
7 |
0 | 8 # Make all components |
9 all: | |
1363 | 10 @$(ECHO) "**************************************************" |
11 @$(ECHO) "* *" | |
12 @$(ECHO) "* THE NITROS-9 PROJECT *" | |
13 @$(ECHO) "* *" | |
14 @$(ECHO) "**************************************************" | |
1133 | 15 $(foreach dir, $(dirs), ($(CD) $(dir); make);) |
0 | 16 |
17 # Clean all components | |
2224 | 18 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
|
19 -$(RM) nitros9project.zip $(DSKDIR)/*.dsk $(DSKDIR)/ReadMe $(DSKDIR)/index.shtml |
1133 | 20 $(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
|
21 $(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
|
22 $(RM) $(DSKDIR)/index.html |
0 | 23 |
2200 | 24 # Do CVS update |
2606
23bfa8f52dd3
Updated makefile for Mercurial
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2568
diff
changeset
|
25 hgupdate: |
2616 | 26 hg pull |
2606
23bfa8f52dd3
Updated makefile for Mercurial
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2568
diff
changeset
|
27 hg update |
2200 | 28 |
458
aac20055f8ad
Changes for shellplus source provided by Curtis Boyle
boisy
parents:
378
diff
changeset
|
29 # Make DSK images |
1119
f86ef3d1d7c9
Makefiles have been redone to take advantage of size and Make features
boisy
parents:
504
diff
changeset
|
30 dsk: all |
1133 | 31 $(foreach dir, $(dirs), ($(CD) $(dir); make dsk);) |
332 | 32 |
2227 | 33 # Copy DSK images |
2199 | 34 dskcopy: all |
35 $(foreach dir, $(dirs), ($(CD) $(dir); make dskcopy);) | |
2512 | 36 $(MKDSKINDEX) $(DSKDIR) > $(DSKDIR)/index.html |
37 | |
2199 | 38 |
458
aac20055f8ad
Changes for shellplus source provided by Curtis Boyle
boisy
parents:
378
diff
changeset
|
39 # Clean DSK images |
aac20055f8ad
Changes for shellplus source provided by Curtis Boyle
boisy
parents:
378
diff
changeset
|
40 dskclean: |
1133 | 41 $(foreach dir, $(dirs), ($(CD) $(dir); make dskclean);) |
2190 | 42 |
43 # DriveWire 3 DSK images | |
2191 | 44 dw3dsk = $(LEVEL1)/coco/nos96809l1coco1_dw3.dsk $(LEVEL1)/coco/nos96809l1coco2_dw3.dsk \ |
45 $(LEVEL2)/coco3/nos96809l2_dw3.dsk $(LEVEL2)/coco3_6309/nos96309l2_dw3.dsk | |
46 | |
2757
8888cd0cac1a
Added becker archive creation to the main makefile. The command is "make becker".
drencor-xeen
parents:
2749
diff
changeset
|
47 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
|
48 $(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
|
49 |
2191 | 50 dw3: |
51 $(ARCHIVE) nitros9_drivewire3.zip $(dw3dsk) | |
2199 | 52 |
2757
8888cd0cac1a
Added becker archive creation to the main makefile. The command is "make becker".
drencor-xeen
parents:
2749
diff
changeset
|
53 becker: |
8888cd0cac1a
Added becker archive creation to the main makefile. The command is "make becker".
drencor-xeen
parents:
2749
diff
changeset
|
54 $(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
|
55 |
2216 | 56 info: |
57 @$(foreach dir, $(dirs), ($(CD) $(dir); make info);) | |
58 | |
2606
23bfa8f52dd3
Updated makefile for Mercurial
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2568
diff
changeset
|
59 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
|
60 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
|
61 $(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
|
62 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
|
63 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
|
64 ssh $(SOURCEUSER),nitros9@shell.sourceforge.net "./burst" |