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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
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
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
8 # Make all components
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
9 all:
1363
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1133
diff changeset
10 @$(ECHO) "**************************************************"
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1133
diff changeset
11 @$(ECHO) "* *"
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1133
diff changeset
12 @$(ECHO) "* THE NITROS-9 PROJECT *"
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1133
diff changeset
13 @$(ECHO) "* *"
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1133
diff changeset
14 @$(ECHO) "**************************************************"
1133
4bddc63a59fc More slight Makefile improvements
boisy
parents: 1119
diff changeset
15 $(foreach dir, $(dirs), ($(CD) $(dir); make);)
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
16
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
17 # Clean all components
2224
22b75f9788a5 Removed redundant targets
boisy
parents: 2220
diff changeset
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
4bddc63a59fc More slight Makefile improvements
boisy
parents: 1119
diff changeset
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
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
23
2200
c4ef83e093f8 Updated the top level makefile to do nightly builds
boisy
parents: 2199
diff changeset
24 # Do CVS update
2606
23bfa8f52dd3 Updated makefile for Mercurial
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2568
diff changeset
25 hgupdate:
2616
b9e8bb5a3796 Added pull
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2606
diff changeset
26 hg pull
2606
23bfa8f52dd3 Updated makefile for Mercurial
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2568
diff changeset
27 hg update
2200
c4ef83e093f8 Updated the top level makefile to do nightly builds
boisy
parents: 2199
diff changeset
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
4bddc63a59fc More slight Makefile improvements
boisy
parents: 1119
diff changeset
31 $(foreach dir, $(dirs), ($(CD) $(dir); make dsk);)
332
5a5ada60704b Minor changes
boisy
parents: 0
diff changeset
32
2227
b9fd9c10af89 clean now comes before update
boisy
parents: 2224
diff changeset
33 # Copy DSK images
2199
eab970e382e2 Prep for nightly builds
boisy
parents: 2191
diff changeset
34 dskcopy: all
eab970e382e2 Prep for nightly builds
boisy
parents: 2191
diff changeset
35 $(foreach dir, $(dirs), ($(CD) $(dir); make dskcopy);)
2512
3dcda506604b added pretty indexer to dskcopy process
aaronwolfe
parents: 2382
diff changeset
36 $(MKDSKINDEX) $(DSKDIR) > $(DSKDIR)/index.html
3dcda506604b added pretty indexer to dskcopy process
aaronwolfe
parents: 2382
diff changeset
37
2199
eab970e382e2 Prep for nightly builds
boisy
parents: 2191
diff changeset
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
4bddc63a59fc More slight Makefile improvements
boisy
parents: 1119
diff changeset
41 $(foreach dir, $(dirs), ($(CD) $(dir); make dskclean);)
2190
7887b4e72100 Added target for NitrOS-9 DriveWire
boisy
parents: 2067
diff changeset
42
7887b4e72100 Added target for NitrOS-9 DriveWire
boisy
parents: 2067
diff changeset
43 # DriveWire 3 DSK images
2191
d280490500a8 dw3 target added to makefile
boisy
parents: 2190
diff changeset
44 dw3dsk = $(LEVEL1)/coco/nos96809l1coco1_dw3.dsk $(LEVEL1)/coco/nos96809l1coco2_dw3.dsk \
d280490500a8 dw3 target added to makefile
boisy
parents: 2190
diff changeset
45 $(LEVEL2)/coco3/nos96809l2_dw3.dsk $(LEVEL2)/coco3_6309/nos96309l2_dw3.dsk
d280490500a8 dw3 target added to makefile
boisy
parents: 2190
diff changeset
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
d280490500a8 dw3 target added to makefile
boisy
parents: 2190
diff changeset
50 dw3:
d280490500a8 dw3 target added to makefile
boisy
parents: 2190
diff changeset
51 $(ARCHIVE) nitros9_drivewire3.zip $(dw3dsk)
2199
eab970e382e2 Prep for nightly builds
boisy
parents: 2191
diff changeset
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
d096a278e068 Added info targets
boisy
parents: 2214
diff changeset
56 info:
d096a278e068 Added info targets
boisy
parents: 2214
diff changeset
57 @$(foreach dir, $(dirs), ($(CD) $(dir); make info);)
d096a278e068 Added info targets
boisy
parents: 2214
diff changeset
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"