Mercurial > hg > Members > kono > nitros9-code
comparison makefile @ 2774:1868fbf470e7 lwtools-port
Merged lwtools-port (2773:ce3dba57003b) and mainline (2772:0a3f4d8ea6d5)
changeset: 2773:ce3dba57003b
branch: lwtools-port
tag: tip
parent: 2770:bfe3de781ddf
user: Boisy Pitre <boisy.pitre@nuance.com>
date: Wed Jan 23 14:54:29 2013 -0600
summary: boot_dw now uses dwinit.asm.
changeset: 2772:0a3f4d8ea6d5
author | Boisy Pitre <boisy.pitre@nuance.com> |
---|---|
date | Wed, 23 Jan 2013 21:02:34 -0600 |
parents | 05b648103e78 |
children | c1892376e7a7 |
comparison
equal
deleted
inserted
replaced
2773:ce3dba57003b | 2774:1868fbf470e7 |
---|---|
1 include rules.mak | 1 include rules.mak |
2 | 2 |
3 dirs = lib $(LEVEL1) $(LEVEL2) $(LEVEL3) $(3RDPARTY) | 3 dirs = $(NOSLIB) $(LEVEL1) $(LEVEL2) $(LEVEL3) $(3RDPARTY) |
4 | 4 |
5 # Make all components | 5 # Make all components |
6 all: | 6 all: |
7 @$(ECHO) "**************************************************" | 7 @$(ECHO) "**************************************************" |
8 @$(ECHO) "* *" | 8 @$(ECHO) "* *" |
11 @$(ECHO) "**************************************************" | 11 @$(ECHO) "**************************************************" |
12 $(foreach dir, $(dirs), ($(CD) $(dir); make);) | 12 $(foreach dir, $(dirs), ($(CD) $(dir); make);) |
13 | 13 |
14 # Clean all components | 14 # Clean all components |
15 clean: | 15 clean: |
16 -$(RM) nitros9project.zip dsks/*.dsk | 16 -$(RM) nitros9project.zip $(DSKDIR)/*.dsk $(DSKDIR)/ReadMe $(DSKDIR)/index.shtml |
17 $(foreach dir, $(dirs), ($(CD) $(dir); make clean);) | 17 $(foreach dir, $(dirs), ($(CD) $(dir); make clean);) |
18 $(RM) $(DSKDIR)/ReadMe | |
19 $(RM) $(DSKDIR)/index.html | |
18 | 20 |
19 # Do CVS update | 21 # Do CVS update |
20 hgupdate: | 22 hgupdate: |
21 hg pull | 23 hg pull |
22 hg update | 24 hg update |
37 | 39 |
38 # DriveWire DSK images | 40 # DriveWire DSK images |
39 dwdsk = $(LEVEL1)/coco/nos96809l1coco1_dw.dsk $(LEVEL1)/coco/nos96809l1coco2_dw.dsk \ | 41 dwdsk = $(LEVEL1)/coco/nos96809l1coco1_dw.dsk $(LEVEL1)/coco/nos96809l1coco2_dw.dsk \ |
40 $(LEVEL2)/coco3/nos96809l2_dw.dsk $(LEVEL2)/coco3_6309/nos96309l2_dw.dsk | 42 $(LEVEL2)/coco3/nos96809l2_dw.dsk $(LEVEL2)/coco3_6309/nos96309l2_dw.dsk |
41 | 43 |
42 dw: | 44 dw: dsk |
43 $(ARCHIVE) nitros9_drivewire.zip $(dwdsk) | 45 $(ARCHIVE) nitros9_drivewire3.zip $(dwdsk) |
46 | |
47 # DriveWire Becker DSK Images | |
48 beckerdsk = $(LEVEL1)/coco/nos96809l1coco_becker.dsk \ | |
49 $(LEVEL2)/coco3/nos96809l2_becker.dsk $(LEVEL2)/coco3_6309/nos96309l2_becker.dsk | |
50 | |
51 becker: dsk | |
52 $(ARCHIVE) nitros9_becker.zip $(beckerdsk) | |
44 | 53 |
45 info: | 54 info: |
46 @$(foreach dir, $(dirs), ($(CD) $(dir); make info);) | 55 @$(foreach dir, $(dirs), ($(CD) $(dir); make info);) |
47 | 56 |
57 # This section is to do the nightly build and upload | |
58 # to sourceforge.net you must set the environment | |
59 # variable SOURCEUSER to the userid you have for sourceforge.net | |
60 # The "burst" script is found in the scripts folder and must | |
61 # on your ssh account at sourceforge.net | |
62 ifdef SOURCEUSER | |
48 nightly: clean hgupdate dskcopy | 63 nightly: clean hgupdate dskcopy |
49 make info>dsks/ReadMe | 64 make info>$(DSKDIR)/ReadMe |
50 $(ARCHIVE) nitros9project dsks/* | 65 $(ARCHIVE) nitros9project $(DSKDIR)/* |
51 scp nitros9project.zip boisy,nitros9@web.sourceforge.net:/home/groups/n/ni/nitros9/htdocs | 66 scp nitros9project.zip $(SOURCEUSER),nitros9@web.sourceforge.net:/home/groups/n/ni/nitros9/htdocs |
52 ssh boisy,nitros9@shell.sourceforge.net create | 67 ssh $(SOURCEUSER),nitros9@shell.sourceforge.net create |
53 ssh boisy,nitros9@shell.sourceforge.net "./burst" | 68 ssh $(SOURCEUSER),nitros9@shell.sourceforge.net "./burst" |
69 else | |
70 nightly: | |
71 @echo "" | |
72 @echo "" | |
73 @echo "You need to set the SOURCEUSER variable" | |
74 @echo "You may wish to refer to the nightly" | |
75 @echo "section of the makefile." | |
76 endif | |
77 | |
78 # This section is to run a nightly test. | |
79 # This requires you to setup a environment variable | |
80 # called TESTSSHSERVER. | |
81 # example would be: TESTSSHSERVER='testuser@localhost' | |
82 # another example: TESTSSHSERVER='testuser@test.testhost.com' | |
83 # | |
84 # You are also required to setup a target path for your file | |
85 # and the environment variable that is being used in this | |
86 # section is called TESTSSHDIR | |
87 ifdef TESTSSHSERVER | |
88 ifdef TESTSSHDIR | |
89 nightlytest: clean hgupdate dskcopy | |
90 make info>$(DSKDIR)/ReadMe | |
91 $(ARCHIVE) nitros9project $(DSKDIR)/* | |
92 scp nitros9project.zip $(TESTSSHSERVER):$(TESTSSHDIR) | |
93 ssh $(TESTSSHSERVER) "./burst" | |
94 else | |
95 nightlytest: | |
96 @echo "" | |
97 @echo "" | |
98 @echo "You need to set the TESTSSHDIR variable" | |
99 @echo "You may wish to refer to the nightlytest" | |
100 @echo "section of the makefile to see what" | |
101 @echo "needs to be setup first before using" | |
102 @echo "this option" | |
103 endif | |
104 else | |
105 nightlytest: | |
106 @echo "" | |
107 @echo "" | |
108 @echo "You need to set the TESTSSHSERVER variable" | |
109 @echo "You may wish to refer to the nightlytest" | |
110 @echo "section of the makefile to see what" | |
111 @echo "needs to be setup first before using" | |
112 @echo "this option." | |
113 endif |