Commit | Line | Data |
---|---|---|
87fa4c38 | 1 | # Build all of the targets for any given host..... |
543cf4ac | 2 | # |
87fa4c38 KC |
3 | # This file is going to be ugly. It will be VERY specific to the |
4 | # Cygnus environment and build-process. | |
543cf4ac | 5 | # |
85195426 DE |
6 | # Useful targets (rt = recursion target): |
7 | # (please correct or expand on this) | |
8 | # FIXME: Might some of these be superfluous? | |
543cf4ac | 9 | # |
85195426 DE |
10 | # all-emacs |
11 | # all-cygnus - set up install directories, build 3stage native and all | |
12 | # supported cross targets, then check 3stage'd native | |
13 | # (rt = $(canonhost)-stamp-3stage-done, do-cygnus for cross) | |
14 | # native - set up install directories, build 3stage native | |
15 | # (rt = $(canonhost)-stamp-3stage-1) | |
16 | # build-cygnus - build 3stage native and all supported cross targets | |
17 | # (rt = $(canonhost)-stamp-3stage-done, build-cygnus for cross) | |
87fa4c38 | 18 | # build-latest - build all supported cross targets |
85195426 DE |
19 | # (rt = build-latest) |
20 | # all-native - set up install directories, build native | |
21 | # (rt = do-native) | |
22 | # all-cross - set up install directories, build all targets | |
23 | # (rt = do-cygnus) | |
24 | # config - configure native and all supported cross targets | |
25 | # (rt = do1-config, do-native-config for cross) | |
26 | # build - build native and all supported cross targets | |
27 | # (rt = do1-build, build-native for cross) | |
28 | # 3build - build 3stage native and all supported cross targets | |
29 | # (rt = all, build-cygnus for cross) | |
30 | # build-all-latest - build 3stage native and all supported cross targets | |
31 | # (rt = $(canonhost)-stamp-3stage-done, build-latest for cross) | |
44c1515d DE |
32 | # clean - remove objdir directories, stamp files |
33 | # (rt = clean) | |
85195426 DE |
34 | # |
35 | # To configure/build for fewer targets, specify TARGETS="native cross1 ...". | |
36 | ||
543cf4ac | 37 | TREE = devo |
022f8f67 | 38 | include $(TREE)/release-info |
543cf4ac | 39 | |
323f277f | 40 | TEST_INSTALL_DISK = /abc |
543cf4ac | 41 | |
022f8f67 | 42 | INSTALLDIR = $(TEST_INSTALL_DISK)/$(TREE)-test/$(RELEASE_TAG) |
543cf4ac | 43 | |
12eda620 ILT |
44 | ifndef host |
45 | host := $(shell $(TREE)/config.guess) | |
46 | endif | |
47 | ||
022f8f67 DZ |
48 | NATIVE = native |
49 | ||
a846e83d | 50 | GCC = gcc -O2 |
e87f9243 | 51 | CFLAGS = -g |
a846e83d | 52 | CXXFLAGS = -g -O2 -fexternal-templates |
9823504d | 53 | MAKEINFOFLAGS = |
543cf4ac DZ |
54 | |
55 | log = 1>$(canonhost)-build-log 2>&1 | |
0689f73a | 56 | clog = 1>$(canonhost)-check-log 2>&1 |
f74859e4 | 57 | cyglog = 1> $(canonhost)-x-$$i-cygnus-build-log 2>&1 |
39ad69d8 | 58 | latestlog = 1> $(canonhost)-x-$$i-latest-build-log 2>&1 |
f74859e4 | 59 | natlog = 1> $(canonhost)-x-$$i-native-build-log 2>&1 |
543cf4ac DZ |
60 | |
61 | canonhost := $(shell $(TREE)/config.sub $(host)) | |
12eda620 ILT |
62 | |
63 | # Convert config.guess results to a simpler form. | |
89da237f ILT |
64 | ifeq ($(canonhost),sparc-sun-solaris2.1) |
65 | canonhost := sparc-sun-solaris2 | |
66 | endif | |
85195426 DE |
67 | ifeq ($(canonhost),sparc-sun-solaris2.3) |
68 | canonhost := sparc-sun-solaris2 | |
69 | endif | |
12eda620 ILT |
70 | ifeq ($(canonhost),mips-dec-ultrix4.2) |
71 | canonhost := mips-dec-ultrix | |
72 | endif | |
73 | ifeq ($(canonhost),mips-sgi-irix4.0.1) | |
74 | canonhost := mips-sgi-irix4 | |
75 | endif | |
85195426 DE |
76 | ifeq ($(canonhost),mips-sgi-irix4.0.5H) |
77 | canonhost := mips-sgi-irix4 | |
78 | endif | |
175e702b KC |
79 | ifeq ($(canonhost),mips-sgi-irix5.2) |
80 | canonhost := mips-sgi-irix5 | |
81 | endif | |
db526bd7 ILT |
82 | ifeq ($(canonhost),rs6000-ibm-aix3.2) |
83 | canonhost := rs6000-ibm-aix | |
84 | endif | |
12eda620 | 85 | ifeq ($(canonhost),i486-unknown-sco3.2v4.0) |
21412832 ILT |
86 | canonhost := i386-sco3.2v4 |
87 | endif | |
ec782faa DZ |
88 | ifeq ($(canonhost),i386-unknown-sco3.2v4.0) |
89 | canonhost := i386-sco3.2v4 | |
90 | endif | |
08629ab8 DZ |
91 | ifeq ($(canonhost),i386-unknown-sco3.2v4) |
92 | canonhost := i386-sco3.2v4 | |
93 | endif | |
60986901 ILT |
94 | ifeq ($(canonhost),i386-unknown-go32) |
95 | canonhost := i386-go32 | |
96 | endif | |
89745e93 DZ |
97 | ifeq ($(canonhost),i386-unknown-sysv4.2) |
98 | canonhost := i386-sysv4.2 | |
99 | endif | |
f358c814 | 100 | ifeq ($(canonhost),i386-lynx-lynxos) |
8456a631 | 101 | canonhost := i386-lynx |
f358c814 DZ |
102 | endif |
103 | ifeq ($(canonhost),m68k-lynx-lynxos) | |
8456a631 | 104 | canonhost := m68k-lynx |
f358c814 | 105 | endif |
c5a1c226 KC |
106 | ifeq ($(canonhost),sparc-lynx-lynxos) |
107 | canonhost := sparc-lynx | |
108 | endif | |
109 | ifeq ($(canonhost),rs6000-lynx-lynxos) | |
055cc3ff KC |
110 | canonhost := rs6000-lynx |
111 | endif | |
543cf4ac | 112 | |
32480238 DZ |
113 | ifeq ($(canonhost),sparc-sun-sunos4.1.3) |
114 | TARGETS = $(NATIVE) \ | |
d5b2cb76 | 115 | i386-go32 \ |
32480238 | 116 | a29k-amd-udi \ |
d5b2cb76 DZ |
117 | h8300-hms \ |
118 | i386-aout \ | |
119 | i386-lynx \ | |
87fa4c38 | 120 | i960-vxworks5.0 i960-vxworks5.1 \ |
055cc3ff | 121 | mips-idt-ecoff mips64-elf mips-elf \ |
32480238 | 122 | m68k-aout m68k-vxworks m68k-coff \ |
d5b2cb76 DZ |
123 | m68k-lynx \ |
124 | sh-hms \ | |
055cc3ff | 125 | sparc-aout sparc-lynx sparc-vxworks \ |
d5b2cb76 | 126 | sparclite-aout sparclite-vxworks \ |
8456a631 | 127 | sparclite-coff z8k-coff |
a846e83d | 128 | GCC = gcc -O2 -pipe |
543cf4ac DZ |
129 | all: all-cygnus |
130 | endif | |
131 | ||
132 | ifeq ($(canonhost),m68k-sun-sunos4.1.1) | |
32480238 | 133 | TARGETS = $(NATIVE) \ |
a4c50dd0 | 134 | m68k-coff |
a846e83d | 135 | GCC = gcc -O2 -msoft-float |
7cc2923a | 136 | CC = cc -J |
543cf4ac DZ |
137 | all: all-cygnus |
138 | endif | |
139 | ||
140 | ifeq ($(canonhost),sparc-sun-solaris2) | |
32480238 | 141 | TARGETS = $(NATIVE) \ |
d5b2cb76 | 142 | a29k-amd-udi \ |
87fa4c38 | 143 | i960-vxworks5.0 i960-vxworks5.1 \ |
8456a631 | 144 | m68k-aout m68k-coff m68k-vxworks \ |
87fa4c38 | 145 | mipsel-idt-ecoff sparc-lynx \ |
175e702b | 146 | sparclite-aout sparclite-coff m88k-coff z8k-coff |
6d98b3d2 | 147 | CC = cc -Xs |
a846e83d | 148 | GCC = gcc -O2 -pipe |
543cf4ac DZ |
149 | all: all-cygnus |
150 | endif | |
151 | ||
152 | ifeq ($(canonhost),mips-dec-ultrix) | |
e110c2a8 | 153 | TARGETS = $(NATIVE) m68k-aout |
872ff7ef | 154 | CC = cc -Wf,-XNg1000 |
543cf4ac DZ |
155 | all: all-cygnus |
156 | endif | |
157 | ||
87fa4c38 KC |
158 | ifeq ($(canonhost),alpha-dec-osf1.3) |
159 | TARGETS = $(NATIVE) | |
160 | CC = cc | |
161 | all: all-cygnus | |
162 | endif | |
163 | ||
543cf4ac | 164 | ifeq ($(canonhost),mips-sgi-irix4) |
89745e93 | 165 | TARGETS = $(NATIVE) \ |
055cc3ff KC |
166 | mips-idt-ecoff sh-hms \ |
167 | mips64-elf | |
fea15001 | 168 | CC = cc -cckr -Wf,-XNg1500 -Wf,-XNk1000 -Wf,-XNh2000 |
543cf4ac DZ |
169 | all: all-cygnus |
170 | endif | |
171 | ||
175e702b KC |
172 | ifeq ($(canonhost),mips-sgi-irix5) |
173 | TARGETS = $(NATIVE) \ | |
174 | mips-idt-ecoff sh-hms \ | |
175 | mips64-elf | |
176 | CC = cc -cckr -Wf,-XNg1500 -Wf,-XNk1000 -Wf,-XNh2000 | |
177 | all: all-cygnus | |
178 | endif | |
179 | ||
543cf4ac | 180 | ifeq ($(canonhost),rs6000-ibm-aix) |
32480238 | 181 | TARGETS = $(NATIVE) \ |
87fa4c38 | 182 | i960-vxworks5.0 i960-vxworks5.1 \ |
a4c50dd0 | 183 | m68k-aout |
543cf4ac DZ |
184 | all: all-cygnus |
185 | endif | |
186 | ||
187 | ifeq ($(canonhost),m68k-hp-hpux) | |
07be0634 | 188 | TARGETS = $(NATIVE) m68k-aout |
e37dbf93 | 189 | TMPDIR := $(shell mkdir $(canonhost)-tmpdir; cd $(canonhost)-tmpdir ; pwd) |
32480238 DZ |
190 | CC = cc -Wp,-P |
191 | #CFLAGS = +O1000 | |
87fa4c38 | 192 | CFLAGS = -g |
eb0293dc | 193 | all: all-cygnus |
543cf4ac DZ |
194 | endif |
195 | ||
196 | ifeq ($(canonhost),hppa1.1-hp-hpux) | |
32480238 | 197 | TARGETS = \ |
d5b2cb76 | 198 | $(NATIVE) \ |
87fa4c38 KC |
199 | i960-vxworks5.0 i960-vxworks5.1 \ |
200 | m68k-aout m68k-coff m68k-vxworks \ | |
201 | z8k-coff | |
055cc3ff | 202 | CC = cc -Wp,-H256000 |
32480238 DZ |
203 | #CFLAGS = +Obb2000 |
204 | CFLAGS = -g | |
055cc3ff | 205 | all: all-cygnus |
543cf4ac DZ |
206 | endif |
207 | ||
21412832 ILT |
208 | ifeq ($(canonhost),i386-sco3.2v4) |
209 | TARGETS = $(NATIVE) i386-aout | |
21412832 ILT |
210 | all: all-cygnus |
211 | endif | |
212 | ||
60986901 | 213 | ifeq ($(canonhost),i386-go32) |
d5b2cb76 | 214 | TARGETS = \ |
32480238 | 215 | a29k-amd-udi \ |
d5b2cb76 DZ |
216 | h8300-hms \ |
217 | i386-aout \ | |
32480238 | 218 | m68k-aout m68k-coff \ |
d5b2cb76 DZ |
219 | mips-idt-ecoff \ |
220 | sh-hms \ | |
32480238 | 221 | sparclite-aout |
60986901 | 222 | CC = i386-go32-gcc |
a846e83d | 223 | GCC = i386-go32-gcc -O2 |
9823504d | 224 | CFLAGS = |
a846e83d | 225 | CXXFLAGS = -O2 |
9823504d | 226 | MAKEINFOFLAGS = --no-split |
055cc3ff | 227 | all: all-dos |
60986901 ILT |
228 | endif |
229 | ||
7f82101d | 230 | ifeq ($(canonhost),i386-sysv4.2) |
a4c50dd0 | 231 | TARGETS = $(NATIVE) i386-netware |
32480238 DZ |
232 | CC = cc |
233 | all: all-cygnus | |
234 | endif | |
235 | ||
8456a631 | 236 | ifeq ($(canonhost),i386-lynx) |
f358c814 | 237 | TARGETS = $(NATIVE) |
756b40d5 | 238 | CC = /usr/cygnus/progressive/bin/gcc |
f358c814 | 239 | all: all-cygnus |
fb682d69 | 240 | SHELL=/bin/bash |
f358c814 DZ |
241 | endif |
242 | ||
8456a631 | 243 | ifeq ($(canonhost),m68k-lynx) |
f358c814 | 244 | TARGETS = $(NATIVE) |
756b40d5 | 245 | CC = /usr/cygnus/progressive/bin/gcc |
f358c814 | 246 | all: all-cygnus |
fb682d69 | 247 | SHELL=/bin/bash |
f358c814 DZ |
248 | endif |
249 | ||
055cc3ff KC |
250 | ifeq ($(canonhost),sparc-lynx) |
251 | TARGETS = $(NATIVE) | |
756b40d5 | 252 | CC = /usr/cygnus/progressive/bin/gcc |
055cc3ff KC |
253 | all: all-cygnus |
254 | SHELL=/bin/bash | |
255 | endif | |
256 | ||
257 | ifeq ($(canonhost),rs6000-lynx) | |
258 | TARGETS = $(NATIVE) | |
b5775df3 | 259 | CC = /usr/cygnus/progressive/bin/gcc |
055cc3ff KC |
260 | all: all-cygnus |
261 | SHELL=/bin/bash | |
262 | endif | |
263 | ||
543cf4ac DZ |
264 | FLAGS_TO_PASS := \ |
265 | "GCC=$(GCC)" \ | |
7cc2923a | 266 | "CC=$(CC)" \ |
543cf4ac | 267 | "CFLAGS=$(CFLAGS)" \ |
e87f9243 | 268 | "CXXFLAGS=$(CXXFLAGS)" \ |
12eda620 | 269 | "host=$(canonhost)" \ |
9823504d | 270 | "MAKEINFOFLAGS=$(MAKEINFOFLAGS)" \ |
fb682d69 ME |
271 | "RELEASE_TAG=$(RELEASE_TAG)" \ |
272 | "SHELL=$(SHELL)" | |
543cf4ac | 273 | |
7ae68194 | 274 | # set GNU_MAKE and CONFIG_SHELL correctly in sub-builds |
87fa4c38 | 275 | ifeq ($(patsubst %-lynx,lynx,$(canonhost)),lynx) |
7ae68194 ME |
276 | FLAGS_TO_PASS := $(FLAGS_TO_PASS) "GNU_MAKE=$(MAKE)" "CONFIG_SHELL=/bin/bash" |
277 | endif | |
278 | ||
57dfb584 DZ |
279 | all-emacs: |
280 | @echo build started at `date` | |
281 | [ -d $(INSTALLDIR) ] || mkdir $(INSTALLDIR) | |
f358c814 | 282 | -rm -f $(ROOTING)/$(RELEASE_TAG) |
022f8f67 | 283 | ln -s $(INSTALLDIR) $(ROOTING)/$(RELEASE_TAG) |
08629ab8 DZ |
284 | $(MAKE) -f test-build.mk $(FLAGS_TO_PASS) do1 > $(canonhost)-emacs-native-log 2>&1 |
285 | $(MAKE) -f test-build.mk $(FLAGS_TO_PASS) do-latest > $(canonhost)-emacs-latest-log 2>&1 | |
57dfb584 DZ |
286 | @echo done at `date` |
287 | ||
543cf4ac DZ |
288 | all-cygnus: |
289 | @echo build started at `date` | |
290 | [ -d $(INSTALLDIR) ] || mkdir $(INSTALLDIR) | |
c262769a | 291 | -rm -f $(ROOTING)/$(RELEASE_TAG) && ln -s $(INSTALLDIR) $(ROOTING)/$(RELEASE_TAG) |
c5a1c226 | 292 | # |
87fa4c38 KC |
293 | # The following line to be used during regular progressive builds |
294 | # to help developers test, but should be commented out for final | |
295 | # progressive build. | |
c5a1c226 | 296 | # |
87fa4c38 | 297 | # -rm -f $(ROOTING)/progressive-beta && ln -s $(RELEASE_TAG) $(ROOTING)/progresssive |
543cf4ac DZ |
298 | @for i in $(TARGETS) ; do \ |
299 | if [ "$$i" = "native" ] ; then \ | |
75217b36 | 300 | if [ ! -f $(canonhost)-stamp-3stage-done ] ; then \ |
543cf4ac | 301 | echo "3staging $(canonhost) native" ; \ |
87fa4c38 | 302 | echo Flags passed to make: $(FLAGS_TO_PASS) ; \ |
21412832 | 303 | $(MAKE) -f test-build.mk $(FLAGS_TO_PASS) $(canonhost)-stamp-3stage-done $(log) && \ |
543cf4ac | 304 | echo " completed successfully" ; \ |
75217b36 ILT |
305 | else \ |
306 | true ; \ | |
1900e815 | 307 | fi ; \ |
543cf4ac DZ |
308 | else \ |
309 | echo "building $(canonhost) cross to $$i" ; \ | |
f74859e4 | 310 | $(MAKE) -f test-build.mk $(FLAGS_TO_PASS) target=$$i do-cygnus $(cyglog) && \ |
543cf4ac DZ |
311 | echo " completed successfully" ; \ |
312 | fi ; \ | |
313 | done | |
0689f73a ME |
314 | @if [ ! -f $(canonhost)-stamp-3stage-checked ] ; then \ |
315 | echo checking $(canonhost) native ; \ | |
316 | $(MAKE) -f test-build.mk $(FLAGS_TO_PASS) $(canonhost)-check-3stage $(clog) ; \ | |
317 | touch $(canonhost)-stamp-3stage-checked ; \ | |
318 | else \ | |
319 | true ; \ | |
320 | fi | |
543cf4ac DZ |
321 | @echo done at `date` |
322 | ||
c676f606 DZ |
323 | native: |
324 | @echo build started at `date` | |
325 | [ -d $(INSTALLDIR) ] || mkdir $(INSTALLDIR) | |
c5a1c226 KC |
326 | -rm -f $(ROOTING)/$(RELEASE_TAG) && ln -s $(INSTALLDIR) $(ROOTING)/$(RELEASE_TAG) |
327 | # -rm -f $(ROOTING)/progressive-beta && ln -s $(RELEASE_TAG) $(ROOTING)/progressive-beta | |
21412832 | 328 | $(MAKE) -f test-build.mk $(FLAGS_TO_PASS) $(canonhost)-stamp-3stage-done $(log) |
c676f606 DZ |
329 | @echo done at `date` |
330 | ||
5ba00487 DZ |
331 | build-cygnus: |
332 | @echo build started at `date` | |
333 | @for i in $(TARGETS) ; do \ | |
334 | if [ "$$i" = "native" ] ; then \ | |
335 | if [ ! -f $(canonhost)-3stage-done ] ; then \ | |
336 | echo "3staging $(canonhost) native" ; \ | |
21412832 | 337 | $(MAKE) -f test-build.mk $(FLAGS_TO_PASS) $(canonhost)-stamp-3stage-done $(log) && \ |
5ba00487 | 338 | echo " completed successfully" ; \ |
1900e815 | 339 | fi ; \ |
5ba00487 | 340 | else \ |
13ec8aad | 341 | echo "building $(canonhost) cross to $$i:" `date` ; \ |
f74859e4 | 342 | $(MAKE) -f test-build.mk $(FLAGS_TO_PASS) target=$$i build-cygnus $(cyglog) && \ |
5ba00487 DZ |
343 | echo " completed successfully" ; \ |
344 | fi ; \ | |
345 | done | |
346 | @echo done at `date` | |
347 | ||
39ad69d8 DZ |
348 | build-latest: |
349 | @echo build started at `date` | |
350 | @for i in $(TARGETS) ; do \ | |
351 | if [ "$$i" != "native" ] ; then \ | |
352 | echo "building $(canonhost) cross to $$i:" `date` ; \ | |
353 | $(MAKE) -f test-build.mk $(FLAGS_TO_PASS) target=$$i build-latest $(latestlog) && \ | |
354 | echo " completed successfully" ; \ | |
355 | fi ; \ | |
356 | done | |
357 | @echo done at `date` | |
358 | ||
543cf4ac DZ |
359 | all-native: |
360 | [ -d $(INSTALLDIR) ] || mkdir $(INSTALLDIR) | |
022f8f67 DZ |
361 | rm -f $(ROOTING)/$(RELEASE_TAG) |
362 | ln -s $(INSTALLDIR) $(ROOTING)/$(RELEASE_TAG) | |
543cf4ac DZ |
363 | @for i in $(TARGETS) ; do \ |
364 | echo "building $(canonhost) cross to $$i" ; \ | |
f74859e4 | 365 | $(MAKE) -f test-build.mk $(FLAGS_TO_PASS) target=$$i do-native $(natlog) && \ |
543cf4ac DZ |
366 | echo " completed successfully" ; \ |
367 | done | |
368 | ||
60986901 ILT |
369 | all-cross: |
370 | [ -d $(INSTALLDIR) ] || mkdir $(INSTALLDIR) | |
a9377e86 ILT |
371 | rm -f $(ROOTING)/$(RELEASE_TAG) |
372 | ln -s $(INSTALLDIR) $(ROOTING)/$(RELEASE_TAG) | |
60986901 ILT |
373 | @for i in $(TARGETS) ; do \ |
374 | echo "building $(canonhost) cross to $$i" ; \ | |
f74859e4 | 375 | $(MAKE) -f test-build.mk $(FLAGS_TO_PASS) target=$$i build=$(build) do-cygnus $(cyglog) && \ |
60986901 ILT |
376 | echo " completed successfully" ; \ |
377 | done | |
378 | ||
8456a631 KC |
379 | do-dos: |
380 | $(MAKE) -f build-all.mk build=$(host) host=i386-go32 all-dos | |
381 | all-dos: | |
382 | @for i in $(TARGETS) ; do \ | |
383 | echo "building $(canonhost) cross to $$i" ; \ | |
055cc3ff | 384 | $(MAKE) -f test-build.mk $(FLAGS_TO_PASS) host=$(host) target=$$i do-dos $(cyglog) && \ |
8456a631 KC |
385 | echo " completed successfully at `date`" ; \ |
386 | done | |
387 | ||
543cf4ac DZ |
388 | config: |
389 | @for i in $(TARGETS) ; do \ | |
390 | if [ "$$i" = "native" ] ; then \ | |
391 | echo "config stage1 for $(canonhost)" ; \ | |
392 | $(MAKE) -f test-build.mk $(FLAGS_TO_PASS) do1-config $(log) && \ | |
393 | echo " completed successfully" ; \ | |
394 | else \ | |
395 | echo "config $(canonhost) cross to $$i" ; \ | |
f74859e4 | 396 | $(MAKE) -f test-build.mk $(FLAGS_TO_PASS) target=$$i do-native-config $(cyglog) && \ |
543cf4ac DZ |
397 | echo " completed successfully" ; \ |
398 | fi ; \ | |
399 | done | |
400 | ||
401 | ||
402 | build: | |
403 | @for i in $(TARGETS) ; do \ | |
404 | if [ "$$i" = "native" ] ; then \ | |
405 | $(MAKE) -f test-build.mk $(FLAGS_TO_PASS) do1-build $(log) && \ | |
406 | echo " completed successfully" ; \ | |
407 | else \ | |
408 | echo "building $(canonhost) cross to $$i" ; \ | |
c262769a | 409 | $(MAKE) -f test-build.mk $(FLAGS_TO_PASS) target=$$i build-native $(natlog) && \ |
543cf4ac DZ |
410 | echo " completed successfully" ; \ |
411 | fi ; \ | |
412 | done | |
413 | ||
414 | ||
415 | 3build: | |
416 | @for i in $(TARGETS) ; do \ | |
417 | if [ "$$i" = "native" ] ; then \ | |
418 | echo "building 3stage for $(canonhost)" ; \ | |
419 | $(MAKE) -f test-build.mk $(FLAGS_TO_PASS) all $(log) && \ | |
420 | echo " completed successfully" ; \ | |
421 | else \ | |
422 | echo "building $(canonhost) cross to $$i" ; \ | |
f74859e4 | 423 | $(MAKE) -f test-build.mk $(FLAGS_TO_PASS) target=$$i build-cygnus $(cyglog) && \ |
543cf4ac DZ |
424 | echo " completed successfully" ; \ |
425 | fi ; \ | |
426 | done | |
427 | ||
87c6c079 DZ |
428 | build-all-latest: |
429 | @for i in $(TARGETS) ; do \ | |
430 | if [ "$$i" = "native" ] ; then \ | |
431 | echo "building 3stage for $(canonhost)" ; \ | |
432 | $(MAKE) -f test-build.mk $(FLAGS_TO_PASS) $(canonhost)-stamp-3stage-done $(log) && \ | |
433 | echo " completed successfully" ; \ | |
434 | else \ | |
435 | echo "building $(canonhost) cross to $$i" ; \ | |
436 | $(MAKE) -f test-build.mk $(FLAGS_TO_PASS) target=$$i build-latest $(cyglog) && \ | |
437 | echo " completed successfully" ; \ | |
438 | fi ; \ | |
439 | done | |
440 | ||
44c1515d DE |
441 | clean: |
442 | $(MAKE) -f test-build.mk $(FLAGS_TO_PASS) clean $(log) | |
443 | ||
543cf4ac DZ |
444 | ### Local Variables: |
445 | ### fill-column: 131 | |
446 | ### End: |