Make it sanitize v9 out of sparc-pinsn.c.
[deliverable/binutils-gdb.git] / Makefile.in
1 #
2 # Makefile for directory with subdirs to build.
3 # Copyright (C) 1990, 1991 Cygnus Support
4 #
5 # This file is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 2 of the License, or
8 # (at your option) any later version.
9 #
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
14 #
15 # You should have received a copy of the GNU General Public License
16 # along with this program; if not, write to the Free Software
17 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
18 #
19
20 srcdir = .
21
22 prefix = /usr/local
23
24 datadir = $(prefix)/lib
25 bindir = $(prefix)/bin
26 libdir = $(prefix)/lib
27 mandir = $(datadir)/man
28 man1dir = $(mandir)/man1
29 man2dir = $(mandir)/man2
30 man3dir = $(mandir)/man3
31 man4dir = $(mandir)/man4
32 man5dir = $(mandir)/man5
33 man6dir = $(mandir)/man6
34 man7dir = $(mandir)/man7
35 man8dir = $(mandir)/man8
36 man9dir = $(mandir)/man9
37 infodir = $(datadir)/info
38 includedir = $(prefix)/include
39 docdir = $(datadir)/doc
40
41 SHELL = /bin/sh
42
43 INSTALL = install -c
44 INSTALL_PROGRAM = $(INSTALL)
45 INSTALL_DATA = $(INSTALL)
46
47 AR = ar
48 AR_FLAGS = qv
49 RANLIB = ranlib
50
51 BISON = `if [ -d $(unsubdir)/../bison ] ; \
52 then echo \`pwd\`/$(unsubdir)/../bison$(subdir)/bison -L \`pwd\`/$(unsubdir)/../bison$(subdir)/ -y ; \
53 else echo yacc ; fi`
54
55 MAKEINFO = makeinfo
56 FRESHMAKEINFO = `if [ -d $(unsubdir)/../texinfo/C ] ; \
57 then echo \`pwd\`/$(unsubdir)/../texinfo/C$(subdir)/makeinfo ; \
58 else echo echo ; fi`
59
60 #\`(cd $(srcdir)/bison ; \\`pwd\\`)\`
61 SUBDIRS = libiberty glob readline bfd gdb binutils ld gas gcc gnulib clib
62 OTHERS =
63
64 ALL = all.normal
65 INSTALL_TARGET = install.all
66
67 ### for debugging
68 #GCCVERBOSE=-v
69
70 \f
71 #### host and target specific makefile fragments come in here.
72 ###
73
74 .PHONY: all info install-info clean-info
75
76 all: $(ALL)
77
78 info: configure.info doc.info
79 $(MAKE) subdir_do DO=info "DODIRS=$(SUBDIRS)"
80
81 configure.info: configure.texi
82 $(MAKEINFO) -o configure.info $(srcdir)/configure.texi
83
84 doc.info: doc.texi
85 $(MAKEINFO) -o doc.info $(srcdir)/doc.texi
86
87 install-info: install-info-dirs force
88 $(MAKE) subdir_do DO=install-info "DODIRS=$(SUBDIRS)"
89 $(MAKE) dir.info install-dir.info
90
91 install-dir.info:
92 $(INSTALL_DATA) dir.info $(infodir)/dir.info
93
94 # clib prms
95 all.normal: all-texinfo all-bison all-byacc all-ld all-gnulib all-gdb all-make \
96 all-cvs all-emacs all-ispell
97 all.cross: all-bison all-ld all-gnulib all-gdb
98 # $(MAKE) subdir_do DO=all "DODIRS=$(SUBDIRS) $(OTHERS)"
99
100 clean: clean-libiberty clean-texinfo clean-bfd clean-binutils clean-bison \
101 clean-byacc clean-ld clean-gas clean-gcc clean-gnulib clean-readline \
102 clean-glob clean-gdb clean-make clean-diff clean-grep clean-rcs \
103 clean-gdbm clean-cvs clean-emacs clean-ispell
104 rm -rf *.a TEMP errs core *.o *~ \#* TAGS *.E
105
106 install: $(INSTALL_TARGET)
107 $(INSTALL_DATA) configure.man $(man1dir)/configure.1
108
109 install.all: install-dirs install-libiberty install-texinfo install-binutils install-bison \
110 install-byacc install-ld install-gas install-gcc install-gnulib \
111 install-readline install-glob install-gdb install-make install-cvs \
112 install-emacs install-ispell
113 install.cross: install-dirs install-libiberty install-binutils install-bison \
114 install-byacc install-ld install-gas install-gnulib \
115 install-readline install-glob install-gdb
116 \f
117 ### libiberty
118 .PHONY: all-libiberty just-libiberty
119 all-libiberty: just-libiberty
120 just-libiberty: force
121 if [ -d $(unsubdir)/libiberty ] ; then \
122 (cd $(unsubdir)/libiberty$(subdir); \
123 $(MAKE) \
124 "against=$(against)" \
125 "AR=$(AR)" \
126 "AR_FLAGS=$(AR_FLAGS)" \
127 "CC=$(CC)" \
128 "RANLIB=$(RANLIB)" \
129 "LOADLIBES=$(LOADLIBES)" \
130 "LDFLAGS=$(LDFLAGS)" \
131 "BISON=$(BISON)" \
132 "MAKEINFO=$(MAKEINFO)" \
133 all) ; \
134 else \
135 true ; \
136 fi
137
138 clean-libiberty: force
139 if [ -d $(unsubdir)/libiberty ] ; then \
140 (cd $(unsubdir)/libiberty$(subdir); \
141 $(MAKE) \
142 "against=$(against)" \
143 "AR=$(AR)" \
144 "AR_FLAGS=$(AR_FLAGS)" \
145 "CC=$(CC)" \
146 "RANLIB=$(RANLIB)" \
147 "LOADLIBES=$(LOADLIBES)" \
148 "LDFLAGS=$(LDFLAGS)" \
149 "BISON=$(BISON)" \
150 "MAKEINFO=$(MAKEINFO)" \
151 clean) ; \
152 else \
153 true ; \
154 fi
155
156 install-libiberty: force
157 if [ -d $(unsubdir)/libiberty ] ; then \
158 (cd $(unsubdir)/libiberty$(subdir); \
159 $(MAKE) \
160 "against=$(against)" \
161 "AR=$(AR)" \
162 "AR_FLAGS=$(AR_FLAGS)" \
163 "CC=$(CC)" \
164 "RANLIB=$(RANLIB)" \
165 "LOADLIBES=$(LOADLIBES)" \
166 "LDFLAGS=$(LDFLAGS)" \
167 "BISON=$(BISON)" \
168 "MAKEINFO=$(MAKEINFO)" \
169 install) ; \
170 else \
171 true ; \
172 fi
173 \f
174 ### texinfo
175 .PHONY: all-texinfo just-texinfo
176 all-texinfo: just-texinfo
177 just-texinfo: just-libiberty force
178 if [ -d $(unsubdir)/texinfo ] ; then \
179 (cd $(unsubdir)/texinfo$(subdir); \
180 $(MAKE) \
181 "against=$(against)" \
182 "AR=$(AR)" \
183 "AR_FLAGS=$(AR_FLAGS)" \
184 "CC=$(CC)" \
185 "RANLIB=$(RANLIB)" \
186 "LOADLIBES=$(LOADLIBES)" \
187 "LDFLAGS=$(LDFLAGS)" \
188 "BISON=$(BISON)" \
189 "MAKEINFO=$(MAKEINFO)" \
190 all) ; \
191 else \
192 true ; \
193 fi
194
195 clean-texinfo: force
196 if [ -d $(unsubdir)/texinfo ] ; then \
197 (cd $(unsubdir)/texinfo$(subdir); \
198 $(MAKE) \
199 "against=$(against)" \
200 "AR=$(AR)" \
201 "AR_FLAGS=$(AR_FLAGS)" \
202 "CC=$(CC)" \
203 "RANLIB=$(RANLIB)" \
204 "LOADLIBES=$(LOADLIBES)" \
205 "LDFLAGS=$(LDFLAGS)" \
206 "BISON=$(BISON)" \
207 "MAKEINFO=$(MAKEINFO)" \
208 clean) ; \
209 else \
210 true ; \
211 fi
212
213 install-texinfo: force
214 if [ -d $(unsubdir)/texinfo ] ; then \
215 (cd $(unsubdir)/texinfo$(subdir); \
216 $(MAKE) \
217 "against=$(against)" \
218 "AR=$(AR)" \
219 "AR_FLAGS=$(AR_FLAGS)" \
220 "CC=$(CC)" \
221 "RANLIB=$(RANLIB)" \
222 "LOADLIBES=$(LOADLIBES)" \
223 "LDFLAGS=$(LDFLAGS)" \
224 "BISON=$(BISON)" \
225 "MAKEINFO=$(MAKEINFO)" \
226 install) ; \
227 else \
228 true ; \
229 fi
230 \f
231 ### bfd
232 .PHONY: all-bfd just-bfd
233 all-bfd: just-bfd
234 just-bfd: force
235 if [ -d $(unsubdir)/bfd ] ; then \
236 (cd $(unsubdir)/bfd$(subdir); \
237 $(MAKE) \
238 "against=$(against)" \
239 "AR=$(AR)" \
240 "AR_FLAGS=$(AR_FLAGS)" \
241 "CC=$(CC)" \
242 "RANLIB=$(RANLIB)" \
243 "LOADLIBES=$(LOADLIBES)" \
244 "LDFLAGS=$(LDFLAGS)" \
245 "BISON=$(BISON)" \
246 "MAKEINFO=$(MAKEINFO)" \
247 all) ; \
248 else \
249 true ; \
250 fi
251
252 clean-bfd: force
253 if [ -d $(unsubdir)/bfd ] ; then \
254 (cd $(unsubdir)/bfd$(subdir); \
255 $(MAKE) \
256 "against=$(against)" \
257 "AR=$(AR)" \
258 "AR_FLAGS=$(AR_FLAGS)" \
259 "CC=$(CC)" \
260 "RANLIB=$(RANLIB)" \
261 "LOADLIBES=$(LOADLIBES)" \
262 "LDFLAGS=$(LDFLAGS)" \
263 "BISON=$(BISON)" \
264 "MAKEINFO=$(MAKEINFO)" \
265 clean) ; \
266 else \
267 true ; \
268 fi
269
270 install-bfd: force
271 if [ -d $(unsubdir)/bfd ] ; then \
272 (cd $(unsubdir)/bfd$(subdir); \
273 $(MAKE) \
274 "against=$(against)" \
275 "AR=$(AR)" \
276 "AR_FLAGS=$(AR_FLAGS)" \
277 "CC=$(CC)" \
278 "RANLIB=$(RANLIB)" \
279 "LOADLIBES=$(LOADLIBES)" \
280 "LDFLAGS=$(LDFLAGS)" \
281 "BISON=$(BISON)" \
282 "MAKEINFO=$(MAKEINFO)" \
283 install) ; \
284 else \
285 true ; \
286 fi
287 \f
288 ### binutils
289 .PHONY: all-binutils just-binutils
290 all-binutils: just-binutils
291 just-binutils: just-libiberty just-bfd force
292 if [ -d $(unsubdir)/binutils ] ; then \
293 (cd $(unsubdir)/binutils$(subdir); \
294 $(MAKE) \
295 "against=$(against)" \
296 "AR=$(AR)" \
297 "AR_FLAGS=$(AR_FLAGS)" \
298 "CC=$(CC)" \
299 "RANLIB=$(RANLIB)" \
300 "LOADLIBES=$(LOADLIBES)" \
301 "LDFLAGS=$(LDFLAGS)" \
302 "BISON=$(BISON)" \
303 "MAKEINFO=$(MAKEINFO)" \
304 all) ; \
305 else \
306 true ; \
307 fi
308
309 clean-binutils: force
310 if [ -d $(unsubdir)/binutils ] ; then \
311 (cd $(unsubdir)/binutils$(subdir); \
312 $(MAKE) \
313 "against=$(against)" \
314 "AR=$(AR)" \
315 "AR_FLAGS=$(AR_FLAGS)" \
316 "CC=$(CC)" \
317 "RANLIB=$(RANLIB)" \
318 "LOADLIBES=$(LOADLIBES)" \
319 "LDFLAGS=$(LDFLAGS)" \
320 "BISON=$(BISON)" \
321 "MAKEINFO=$(MAKEINFO)" \
322 clean) ; \
323 else \
324 true ; \
325 fi
326
327 install-binutils: force
328 if [ -d $(unsubdir)/binutils ] ; then \
329 (cd $(unsubdir)/binutils$(subdir); \
330 $(MAKE) \
331 "against=$(against)" \
332 "AR=$(AR)" \
333 "AR_FLAGS=$(AR_FLAGS)" \
334 "CC=$(CC)" \
335 "RANLIB=$(RANLIB)" \
336 "LOADLIBES=$(LOADLIBES)" \
337 "LDFLAGS=$(LDFLAGS)" \
338 "BISON=$(BISON)" \
339 "MAKEINFO=$(MAKEINFO)" \
340 install) ; \
341 else \
342 true ; \
343 fi
344 \f
345 ### byacc
346 .PHONY: all-byacc just-byacc
347 all-byacc: just-byacc
348 just-byacc: force
349 if [ -d $(unsubdir)/byacc ] ; then \
350 (cd $(unsubdir)/byacc$(subdir); \
351 $(MAKE) \
352 "against=$(against)" \
353 "AR=$(AR)" \
354 "AR_FLAGS=$(AR_FLAGS)" \
355 "CC=$(CC)" \
356 "RANLIB=$(RANLIB)" \
357 "LOADLIBES=$(LOADLIBES)" \
358 "LDFLAGS=$(LDFLAGS)" \
359 "BISON=$(BISON)" \
360 "MAKEINFO=$(MAKEINFO)" \
361 all) ; \
362 else \
363 true ; \
364 fi
365
366 clean-byacc: force
367 if [ -d $(unsubdir)/byacc ] ; then \
368 (cd $(unsubdir)/byacc$(subdir); \
369 $(MAKE) \
370 "against=$(against)" \
371 "AR=$(AR)" \
372 "AR_FLAGS=$(AR_FLAGS)" \
373 "CC=$(CC)" \
374 "RANLIB=$(RANLIB)" \
375 "LOADLIBES=$(LOADLIBES)" \
376 "LDFLAGS=$(LDFLAGS)" \
377 "BISON=$(BISON)" \
378 "MAKEINFO=$(MAKEINFO)" \
379 clean) ; \
380 else \
381 true ; \
382 fi
383
384 install-byacc: force
385 if [ -d $(unsubdir)/byacc ] ; then \
386 (cd $(unsubdir)/byacc$(subdir); \
387 $(MAKE) \
388 "against=$(against)" \
389 "AR=$(AR)" \
390 "AR_FLAGS=$(AR_FLAGS)" \
391 "CC=$(CC)" \
392 "RANLIB=$(RANLIB)" \
393 "LOADLIBES=$(LOADLIBES)" \
394 "LDFLAGS=$(LDFLAGS)" \
395 "BISON=$(BISON)" \
396 "MAKEINFO=$(MAKEINFO)" \
397 install) ; \
398 else \
399 true ; \
400 fi
401 \f
402 ### bison
403 .PHONY: all-bison just-bison
404 all-bison: just-bison
405 just-bison: just-libiberty force
406 if [ -d $(unsubdir)/bison ] ; then \
407 (cd $(unsubdir)/bison$(subdir); \
408 $(MAKE) \
409 "against=$(against)" \
410 "AR=$(AR)" \
411 "AR_FLAGS=$(AR_FLAGS)" \
412 "CC=$(CC)" \
413 "RANLIB=$(RANLIB)" \
414 "LOADLIBES=$(LOADLIBES)" \
415 "LDFLAGS=$(LDFLAGS)" \
416 "BISON=$(BISON)" \
417 "MAKEINFO=$(MAKEINFO)" \
418 all) ; \
419 else \
420 true ; \
421 fi
422
423 clean-bison: force
424 if [ -d $(unsubdir)/bison ] ; then \
425 (cd $(unsubdir)/bison$(subdir); \
426 $(MAKE) \
427 "against=$(against)" \
428 "AR=$(AR)" \
429 "AR_FLAGS=$(AR_FLAGS)" \
430 "CC=$(CC)" \
431 "RANLIB=$(RANLIB)" \
432 "LOADLIBES=$(LOADLIBES)" \
433 "LDFLAGS=$(LDFLAGS)" \
434 "BISON=$(BISON)" \
435 "MAKEINFO=$(MAKEINFO)" \
436 clean) ; \
437 else \
438 true ; \
439 fi
440
441 install-bison: force
442 if [ -d $(unsubdir)/bison ] ; then \
443 (cd $(unsubdir)/bison$(subdir); \
444 $(MAKE) \
445 "against=$(against)" \
446 "AR=$(AR)" \
447 "AR_FLAGS=$(AR_FLAGS)" \
448 "CC=$(CC)" \
449 "RANLIB=$(RANLIB)" \
450 "LOADLIBES=$(LOADLIBES)" \
451 "LDFLAGS=$(LDFLAGS)" \
452 "BISON=$(BISON)" \
453 "MAKEINFO=$(MAKEINFO)" \
454 install) ; \
455 else \
456 true ; \
457 fi
458 \f
459 ### gcc
460 .PHONY: all-gcc just-gcc
461 all-gcc: just-gcc
462 just-gcc: just-libiberty just-bison force
463 if [ -d $(unsubdir)/gcc ] ; then \
464 (cd $(unsubdir)/gcc$(subdir); \
465 $(MAKE) \
466 "against=$(against)" \
467 "AR=$(AR)" \
468 "AR_FLAGS=$(AR_FLAGS)" \
469 "CC=$(CC)" \
470 "RANLIB=$(RANLIB)" \
471 "LOADLIBES=$(LOADLIBES)" \
472 "LDFLAGS=$(LDFLAGS)" \
473 "BISON=$(BISON)" \
474 "MAKEINFO=$(MAKEINFO)" \
475 all) ; \
476 else \
477 true ; \
478 fi
479
480 clean-gcc: force
481 if [ -d $(unsubdir)/gcc ] ; then \
482 (cd $(unsubdir)/gcc$(subdir); \
483 $(MAKE) \
484 "against=$(against)" \
485 "AR=$(AR)" \
486 "AR_FLAGS=$(AR_FLAGS)" \
487 "CC=$(CC)" \
488 "RANLIB=$(RANLIB)" \
489 "LOADLIBES=$(LOADLIBES)" \
490 "LDFLAGS=$(LDFLAGS)" \
491 "BISON=$(BISON)" \
492 "MAKEINFO=$(MAKEINFO)" \
493 clean) ; \
494 else \
495 true ; \
496 fi
497
498 install-gcc:
499 if [ -d $(unsubdir)/gcc ] ; then \
500 (cd $(unsubdir)/gcc$(subdir); \
501 $(MAKE) \
502 "against=$(against)" \
503 "AR=$(AR)" \
504 "AR_FLAGS=$(AR_FLAGS)" \
505 "CC=$(CC)" \
506 "RANLIB=$(RANLIB)" \
507 "LOADLIBES=$(LOADLIBES)" \
508 "LDFLAGS=$(LDFLAGS)" \
509 "BISON=$(BISON)" \
510 "MAKEINFO=$(MAKEINFO)" \
511 install) ; \
512 else \
513 true ; \
514 fi
515 \f
516 ### readline
517 .PHONY: all-readline just-readline
518 all-readline: just-readline
519 just-readline: force
520 if [ -d $(unsubdir)/readline ] ; then \
521 (cd $(unsubdir)/readline$(subdir); \
522 $(MAKE) \
523 "against=$(against)" \
524 "AR=$(AR)" \
525 "AR_FLAGS=$(AR_FLAGS)" \
526 "CC=$(CC)" \
527 "RANLIB=$(RANLIB)" \
528 "LOADLIBES=$(LOADLIBES)" \
529 "LDFLAGS=$(LDFLAGS)" \
530 "BISON=$(BISON)" \
531 "MAKEINFO=$(MAKEINFO)" \
532 all) ; \
533 else \
534 true ; \
535 fi
536
537 clean-readline: force
538 if [ -d $(unsubdir)/readline ] ; then \
539 (cd $(unsubdir)/readline$(subdir); \
540 $(MAKE) \
541 "against=$(against)" \
542 "AR=$(AR)" \
543 "AR_FLAGS=$(AR_FLAGS)" \
544 "CC=$(CC)" \
545 "RANLIB=$(RANLIB)" \
546 "LOADLIBES=$(LOADLIBES)" \
547 "LDFLAGS=$(LDFLAGS)" \
548 "BISON=$(BISON)" \
549 "MAKEINFO=$(MAKEINFO)" \
550 clean) ; \
551 else \
552 true ; \
553 fi
554
555 install-readline: force
556 if [ -d $(unsubdir)/readline ] ; then \
557 (cd $(unsubdir)/readline$(subdir); \
558 $(MAKE) \
559 "against=$(against)" \
560 "AR=$(AR)" \
561 "AR_FLAGS=$(AR_FLAGS)" \
562 "CC=$(CC)" \
563 "RANLIB=$(RANLIB)" \
564 "LOADLIBES=$(LOADLIBES)" \
565 "LDFLAGS=$(LDFLAGS)" \
566 "BISON=$(BISON)" \
567 "MAKEINFO=$(MAKEINFO)" \
568 install) ; \
569 else \
570 true ; \
571 fi
572 \f
573 ### glob
574 .PHONY: all-glob just-glob
575 all-glob: just-glob
576 just-glob: force
577 if [ -d $(unsubdir)/glob ] ; then \
578 (cd $(unsubdir)/glob$(subdir); \
579 $(MAKE) \
580 "against=$(against)" \
581 "AR=$(AR)" \
582 "AR_FLAGS=$(AR_FLAGS)" \
583 "CC=$(CC)" \
584 "RANLIB=$(RANLIB)" \
585 "LOADLIBES=$(LOADLIBES)" \
586 "LDFLAGS=$(LDFLAGS)" \
587 "BISON=$(BISON)" \
588 "MAKEINFO=$(MAKEINFO)" \
589 all) ; \
590 else \
591 true ; \
592 fi
593
594 clean-glob: force
595 if [ -d $(unsubdir)/glob ] ; then \
596 (cd $(unsubdir)/glob$(subdir); \
597 $(MAKE) \
598 "against=$(against)" \
599 "AR=$(AR)" \
600 "AR_FLAGS=$(AR_FLAGS)" \
601 "CC=$(CC)" \
602 "RANLIB=$(RANLIB)" \
603 "LOADLIBES=$(LOADLIBES)" \
604 "LDFLAGS=$(LDFLAGS)" \
605 "BISON=$(BISON)" \
606 "MAKEINFO=$(MAKEINFO)" \
607 clean) ; \
608 else \
609 true ; \
610 fi
611
612 install-glob: force
613 if [ -d $(unsubdir)/glob ] ; then \
614 (cd $(unsubdir)/glob$(subdir); \
615 $(MAKE) \
616 "against=$(against)" \
617 "AR=$(AR)" \
618 "AR_FLAGS=$(AR_FLAGS)" \
619 "CC=$(CC)" \
620 "RANLIB=$(RANLIB)" \
621 "LOADLIBES=$(LOADLIBES)" \
622 "LDFLAGS=$(LDFLAGS)" \
623 "BISON=$(BISON)" \
624 "MAKEINFO=$(MAKEINFO)" \
625 install) ; \
626 else \
627 true ; \
628 fi
629 \f
630 ### gas
631 .PHONY: all-gas just-gas
632 all-gas: just-gas
633 just-gas: just-libiberty just-bfd force
634 if [ -d $(unsubdir)/gas ] ; then \
635 (cd $(unsubdir)/gas$(subdir); \
636 $(MAKE) \
637 "against=$(against)" \
638 "AR=$(AR)" \
639 "AR_FLAGS=$(AR_FLAGS)" \
640 "CC=$(CC)" \
641 "RANLIB=$(RANLIB)" \
642 "LOADLIBES=$(LOADLIBES)" \
643 "LDFLAGS=$(LDFLAGS)" \
644 "BISON=$(BISON)" \
645 "MAKEINFO=$(MAKEINFO)" \
646 all) ; \
647 else \
648 true ; \
649 fi
650
651 clean-gas: force
652 if [ -d $(unsubdir)/gas ] ; then \
653 (cd $(unsubdir)/gas$(subdir); \
654 $(MAKE) \
655 "against=$(against)" \
656 "AR=$(AR)" \
657 "AR_FLAGS=$(AR_FLAGS)" \
658 "CC=$(CC)" \
659 "RANLIB=$(RANLIB)" \
660 "LOADLIBES=$(LOADLIBES)" \
661 "LDFLAGS=$(LDFLAGS)" \
662 "BISON=$(BISON)" \
663 "MAKEINFO=$(MAKEINFO)" \
664 clean) ; \
665 else \
666 true ; \
667 fi
668
669 install-gas: force
670 if [ -d $(unsubdir)/gas ] ; then \
671 (cd $(unsubdir)/gas$(subdir); \
672 $(MAKE) \
673 "against=$(against)" \
674 "AR=$(AR)" \
675 "AR_FLAGS=$(AR_FLAGS)" \
676 "CC=$(CC)" \
677 "RANLIB=$(RANLIB)" \
678 "LOADLIBES=$(LOADLIBES)" \
679 "LDFLAGS=$(LDFLAGS)" \
680 "BISON=$(BISON)" \
681 "MAKEINFO=$(MAKEINFO)" \
682 install) ; \
683 else \
684 true ; \
685 fi
686 \f
687 ### ld
688 .PHONY: all-ld just-ld
689 all-ld: just-ld
690 just-ld: just-libiberty just-bfd just-bison force
691 if [ -d $(unsubdir)/ld ] ; then \
692 (cd $(unsubdir)/ld$(subdir); \
693 $(MAKE) \
694 "against=$(against)" \
695 "AR=$(AR)" \
696 "AR_FLAGS=$(AR_FLAGS)" \
697 "CC=$(CC)" \
698 "RANLIB=$(RANLIB)" \
699 "LOADLIBES=$(LOADLIBES)" \
700 "LDFLAGS=$(LDFLAGS)" \
701 "BISON=$(BISON)" \
702 "MAKEINFO=$(MAKEINFO)" \
703 all) ; \
704 else \
705 true ; \
706 fi
707
708 clean-ld: force
709 if [ -d $(unsubdir)/ld ] ; then \
710 (cd $(unsubdir)/ld$(subdir); \
711 $(MAKE) \
712 "against=$(against)" \
713 "AR=$(AR)" \
714 "AR_FLAGS=$(AR_FLAGS)" \
715 "CC=$(CC)" \
716 "RANLIB=$(RANLIB)" \
717 "LOADLIBES=$(LOADLIBES)" \
718 "LDFLAGS=$(LDFLAGS)" \
719 "BISON=$(BISON)" \
720 "MAKEINFO=$(MAKEINFO)" \
721 clean) ; \
722 else \
723 true ; \
724 fi
725
726 install-ld: force
727 if [ -d $(unsubdir)/ld ] ; then \
728 (cd $(unsubdir)/ld$(subdir); \
729 $(MAKE) \
730 "against=$(against)" \
731 "AR=$(AR)" \
732 "AR_FLAGS=$(AR_FLAGS)" \
733 "CC=$(CC)" \
734 "RANLIB=$(RANLIB)" \
735 "LOADLIBES=$(LOADLIBES)" \
736 "LDFLAGS=$(LDFLAGS)" \
737 "BISON=$(BISON)" \
738 "MAKEINFO=$(MAKEINFO)" \
739 install) ; \
740 else \
741 true ; \
742 fi
743 \f
744 ### gnulib
745 .PHONY: all-gnulib just-gnulib
746 all-gnulib: just-gnulib
747 just-gnulib: all-gcc all-gas all-binutils force
748 if [ -d $(unsubdir)/gnulib ] ; then \
749 (cd $(unsubdir)/gnulib$(subdir); \
750 $(MAKE) \
751 "against=$(against)" \
752 "AR=$(AR)" \
753 "AR_FLAGS=$(AR_FLAGS)" \
754 "CC=$(CC)" \
755 "RANLIB=$(RANLIB)" \
756 "LOADLIBES=$(LOADLIBES)" \
757 "LDFLAGS=$(LDFLAGS)" \
758 "BISON=$(BISON)" \
759 "MAKEINFO=$(MAKEINFO)" \
760 all) ; \
761 else \
762 true ; \
763 fi
764
765 clean-gnulib: force
766 if [ -d $(unsubdir)/gnulib ] ; then \
767 (cd $(unsubdir)/gnulib$(subdir); \
768 $(MAKE) \
769 "against=$(against)" \
770 "AR=$(AR)" \
771 "AR_FLAGS=$(AR_FLAGS)" \
772 "CC=$(CC)" \
773 "RANLIB=$(RANLIB)" \
774 "LOADLIBES=$(LOADLIBES)" \
775 "LDFLAGS=$(LDFLAGS)" \
776 "BISON=$(BISON)" \
777 "MAKEINFO=$(MAKEINFO)" \
778 clean) ; \
779 else \
780 true ; \
781 fi
782
783 install-gnulib: force
784 if [ -d $(unsubdir)/gnulib ] ; then \
785 (cd $(unsubdir)/gnulib$(subdir); \
786 $(MAKE) \
787 "against=$(against)" \
788 "AR=$(AR)" \
789 "AR_FLAGS=$(AR_FLAGS)" \
790 "CC=$(CC)" \
791 "RANLIB=$(RANLIB)" \
792 "LOADLIBES=$(LOADLIBES)" \
793 "LDFLAGS=$(LDFLAGS)" \
794 "BISON=$(BISON)" \
795 "MAKEINFO=$(MAKEINFO)" \
796 install) ; \
797 else \
798 true ; \
799 fi
800 \f
801 ### gdb
802 .PHONY: all-gdb just-gdb
803 all-gdb: just-gdb
804 just-gdb: just-bfd just-libiberty just-readline just-glob just-bison force
805 if [ -d $(unsubdir)/gdb ] ; then \
806 (cd $(unsubdir)/gdb$(subdir); \
807 $(MAKE) \
808 "against=$(against)" \
809 "AR=$(AR)" \
810 "AR_FLAGS=$(AR_FLAGS)" \
811 "CC=$(CC)" \
812 "RANLIB=$(RANLIB)" \
813 "LOADLIBES=$(LOADLIBES)" \
814 "LDFLAGS=$(LDFLAGS)" \
815 "BISON=$(BISON)" \
816 "MAKEINFO=$(MAKEINFO)" \
817 all) ; \
818 else \
819 true ; \
820 fi
821
822 clean-gdb: force
823 if [ -d $(unsubdir)/gdb ] ; then \
824 (cd $(unsubdir)/gdb$(subdir); \
825 $(MAKE) \
826 "against=$(against)" \
827 "AR=$(AR)" \
828 "AR_FLAGS=$(AR_FLAGS)" \
829 "CC=$(CC)" \
830 "RANLIB=$(RANLIB)" \
831 "LOADLIBES=$(LOADLIBES)" \
832 "LDFLAGS=$(LDFLAGS)" \
833 "BISON=$(BISON)" \
834 "MAKEINFO=$(MAKEINFO)" \
835 clean) ; \
836 else \
837 true ; \
838 fi
839
840 install-gdb: force
841 if [ -d $(unsubdir)/gdb ] ; then \
842 (cd $(unsubdir)/gdb$(subdir); \
843 $(MAKE) \
844 "against=$(against)" \
845 "AR=$(AR)" \
846 "AR_FLAGS=$(AR_FLAGS)" \
847 "CC=$(CC)" \
848 "RANLIB=$(RANLIB)" \
849 "LOADLIBES=$(LOADLIBES)" \
850 "LDFLAGS=$(LDFLAGS)" \
851 "BISON=$(BISON)" \
852 "MAKEINFO=$(MAKEINFO)" \
853 install) ; \
854 else \
855 true ; \
856 fi
857 \f
858 ### make
859 .PHONY: all-make just-make
860 all-make: just-make
861 just-make: all-libiberty force
862 if [ -d $(unsubdir)/make ] ; then \
863 (cd $(unsubdir)/make$(subdir); \
864 $(MAKE) \
865 "against=$(against)" \
866 "AR=$(AR)" \
867 "AR_FLAGS=$(AR_FLAGS)" \
868 "CC=$(CC)" \
869 "RANLIB=$(RANLIB)" \
870 "LOADLIBES=$(LOADLIBES)" \
871 "LDFLAGS=$(LDFLAGS)" \
872 "BISON=$(BISON)" \
873 "MAKEINFO=$(MAKEINFO)" \
874 all) ; \
875 else \
876 true ; \
877 fi
878
879 clean-make: force
880 if [ -d $(unsubdir)/make ] ; then \
881 (cd $(unsubdir)/make$(subdir); \
882 $(MAKE) \
883 "against=$(against)" \
884 "AR=$(AR)" \
885 "AR_FLAGS=$(AR_FLAGS)" \
886 "CC=$(CC)" \
887 "RANLIB=$(RANLIB)" \
888 "LOADLIBES=$(LOADLIBES)" \
889 "LDFLAGS=$(LDFLAGS)" \
890 "BISON=$(BISON)" \
891 "MAKEINFO=$(MAKEINFO)" \
892 clean) ; \
893 else \
894 true ; \
895 fi
896
897 install-make: force
898 if [ -d $(unsubdir)/make ] ; then \
899 (cd $(unsubdir)/make$(subdir); \
900 $(MAKE) \
901 "against=$(against)" \
902 "AR=$(AR)" \
903 "AR_FLAGS=$(AR_FLAGS)" \
904 "CC=$(CC)" \
905 "RANLIB=$(RANLIB)" \
906 "LOADLIBES=$(LOADLIBES)" \
907 "LDFLAGS=$(LDFLAGS)" \
908 "BISON=$(BISON)" \
909 "MAKEINFO=$(MAKEINFO)" \
910 install) ; \
911 else \
912 true ; \
913 fi
914 \f
915 ### diff
916 .PHONY: all-diff just-diff
917 all-diff: just-diff
918 just-diff: force
919 if [ -d $(unsubdir)/diff ] ; then \
920 (cd $(unsubdir)/diff$(subdir); \
921 $(MAKE) \
922 "against=$(against)" \
923 "AR=$(AR)" \
924 "AR_FLAGS=$(AR_FLAGS)" \
925 "CC=$(CC)" \
926 "RANLIB=$(RANLIB)" \
927 "LOADLIBES=$(LOADLIBES)" \
928 "LDFLAGS=$(LDFLAGS)" \
929 "BISON=$(BISON)" \
930 "MAKEINFO=$(MAKEINFO)" \
931 all) ; \
932 else \
933 true ; \
934 fi
935
936 clean-diff: force
937 if [ -d $(unsubdir)/diff ] ; then \
938 (cd $(unsubdir)/diff$(subdir); \
939 $(MAKE) \
940 "against=$(against)" \
941 "AR=$(AR)" \
942 "AR_FLAGS=$(AR_FLAGS)" \
943 "CC=$(CC)" \
944 "RANLIB=$(RANLIB)" \
945 "LOADLIBES=$(LOADLIBES)" \
946 "LDFLAGS=$(LDFLAGS)" \
947 "BISON=$(BISON)" \
948 "MAKEINFO=$(MAKEINFO)" \
949 clean) ; \
950 else \
951 true ; \
952 fi
953
954 install-diff: force
955 if [ -d $(unsubdir)/diff ] ; then \
956 (cd $(unsubdir)/diff/$(subdir); \
957 $(MAKE) \
958 "against=$(against)" \
959 "AR=$(AR)" \
960 "AR_FLAGS=$(AR_FLAGS)" \
961 "CC=$(CC)" \
962 "RANLIB=$(RANLIB)" \
963 "LOADLIBES=$(LOADLIBES)" \
964 "LDFLAGS=$(LDFLAGS)" \
965 "BISON=$(BISON)" \
966 "MAKEINFO=$(MAKEINFO)" \
967 install) ; \
968 else \
969 true ; \
970 fi
971 \f
972 ### grep
973 .PHONY: all-grep just-grep
974 all-grep: just-grep
975 just-grep: force
976 if [ -d $(unsubdir)/grep ] ; then \
977 (cd $(unsubdir)/grep$(subdir); \
978 $(MAKE) \
979 "against=$(against)" \
980 "AR=$(AR)" \
981 "AR_FLAGS=$(AR_FLAGS)" \
982 "CC=$(CC)" \
983 "RANLIB=$(RANLIB)" \
984 "LOADLIBES=$(LOADLIBES)" \
985 "LDFLAGS=$(LDFLAGS)" \
986 "BISON=$(BISON)" \
987 "MAKEINFO=$(MAKEINFO)" \
988 all) ; \
989 else \
990 true ; \
991 fi
992
993 clean-grep: force
994 if [ -d $(unsubdir)/grep ] ; then \
995 (cd $(unsubdir)/grep$(subdir); \
996 $(MAKE) \
997 "against=$(against)" \
998 "AR=$(AR)" \
999 "AR_FLAGS=$(AR_FLAGS)" \
1000 "CC=$(CC)" \
1001 "RANLIB=$(RANLIB)" \
1002 "LOADLIBES=$(LOADLIBES)" \
1003 "LDFLAGS=$(LDFLAGS)" \
1004 "BISON=$(BISON)" \
1005 "MAKEINFO=$(MAKEINFO)" \
1006 clean) ; \
1007 else \
1008 true ; \
1009 fi
1010
1011 install-grep: force
1012 if [ -d $(unsubdir)/grep ] ; then \
1013 (cd $(unsubdir)/grep$(subdir); \
1014 $(MAKE) \
1015 "against=$(against)" \
1016 "AR=$(AR)" \
1017 "AR_FLAGS=$(AR_FLAGS)" \
1018 "CC=$(CC)" \
1019 "RANLIB=$(RANLIB)" \
1020 "LOADLIBES=$(LOADLIBES)" \
1021 "LDFLAGS=$(LDFLAGS)" \
1022 "BISON=$(BISON)" \
1023 "MAKEINFO=$(MAKEINFO)" \
1024 install) ; \
1025 else \
1026 true ; \
1027 fi
1028 \f
1029 ### rcs
1030 .PHONY: all-rcs just-rcs
1031 all-rcs: just-rcs
1032 just-rcs: just-diff just-grep force
1033 if [ -d $(unsubdir)/rcs ] ; then \
1034 (cd $(unsubdir)/rcs$(subdir); \
1035 $(MAKE) \
1036 "against=$(against)" \
1037 "AR=$(AR)" \
1038 "AR_FLAGS=$(AR_FLAGS)" \
1039 "CC=$(CC)" \
1040 "RANLIB=$(RANLIB)" \
1041 "LOADLIBES=$(LOADLIBES)" \
1042 "LDFLAGS=$(LDFLAGS)" \
1043 "BISON=$(BISON)" \
1044 "MAKEINFO=$(MAKEINFO)" \
1045 all) ; \
1046 else \
1047 true ; \
1048 fi
1049
1050 clean-rcs: force
1051 if [ -d $(unsubdir)/rcs ] ; then \
1052 (cd $(unsubdir)/rcs$(subdir); \
1053 $(MAKE) \
1054 "against=$(against)" \
1055 "AR=$(AR)" \
1056 "AR_FLAGS=$(AR_FLAGS)" \
1057 "CC=$(CC)" \
1058 "RANLIB=$(RANLIB)" \
1059 "LOADLIBES=$(LOADLIBES)" \
1060 "LDFLAGS=$(LDFLAGS)" \
1061 "BISON=$(BISON)" \
1062 "MAKEINFO=$(MAKEINFO)" \
1063 clean) ; \
1064 else \
1065 true ; \
1066 fi
1067
1068 install-rcs: install-grep install-diff force
1069 if [ -d $(unsubdir)/rcs ] ; then \
1070 (cd $(unsubdir)/rcs$(subdir); \
1071 $(MAKE) \
1072 "against=$(against)" \
1073 "AR=$(AR)" \
1074 "AR_FLAGS=$(AR_FLAGS)" \
1075 "CC=$(CC)" \
1076 "RANLIB=$(RANLIB)" \
1077 "LOADLIBES=$(LOADLIBES)" \
1078 "LDFLAGS=$(LDFLAGS)" \
1079 "BISON=$(BISON)" \
1080 "MAKEINFO=$(MAKEINFO)" \
1081 install) ; \
1082 else \
1083 true ; \
1084 fi
1085 \f
1086 ### gdbm
1087 .PHONY: all-gdbm just-gdbm
1088 all-gdbm: just-gdbm
1089 just-gdbm: force
1090 if [ -d $(unsubdir)/gdbm ] ; then \
1091 (cd $(unsubdir)/gdbm$(subdir); \
1092 $(MAKE) \
1093 "against=$(against)" \
1094 "AR=$(AR)" \
1095 "AR_FLAGS=$(AR_FLAGS)" \
1096 "CC=$(CC)" \
1097 "RANLIB=$(RANLIB)" \
1098 "LOADLIBES=$(LOADLIBES)" \
1099 "LDFLAGS=$(LDFLAGS)" \
1100 "BISON=$(BISON)" \
1101 "MAKEINFO=$(MAKEINFO)" \
1102 all) ; \
1103 else \
1104 true ; \
1105 fi
1106
1107 clean-gdbm: force
1108 if [ -d $(unsubdir)/gdbm ] ; then \
1109 (cd $(unsubdir)/gdbm$(subdir); \
1110 $(MAKE) \
1111 "against=$(against)" \
1112 "AR=$(AR)" \
1113 "AR_FLAGS=$(AR_FLAGS)" \
1114 "CC=$(CC)" \
1115 "RANLIB=$(RANLIB)" \
1116 "LOADLIBES=$(LOADLIBES)" \
1117 "LDFLAGS=$(LDFLAGS)" \
1118 "BISON=$(BISON)" \
1119 "MAKEINFO=$(MAKEINFO)" \
1120 clean) ; \
1121 else \
1122 true ; \
1123 fi
1124
1125 install-gdbm: force
1126 if [ -d $(unsubdir)/gdbm ] ; then \
1127 (cd $(unsubdir)/gdbm$(subdir); \
1128 $(MAKE) \
1129 "against=$(against)" \
1130 "AR=$(AR)" \
1131 "AR_FLAGS=$(AR_FLAGS)" \
1132 "CC=$(CC)" \
1133 "RANLIB=$(RANLIB)" \
1134 "LOADLIBES=$(LOADLIBES)" \
1135 "LDFLAGS=$(LDFLAGS)" \
1136 "BISON=$(BISON)" \
1137 "MAKEINFO=$(MAKEINFO)" \
1138 install) ; \
1139 else \
1140 true ; \
1141 fi
1142 \f
1143 ### cvs
1144 .PHONY: all-cvs just-cvs
1145 all-cvs: just-cvs just-rcs just-grep just-diff
1146 just-cvs: just-gdbm force
1147 if [ -d $(unsubdir)/cvs ] ; then \
1148 (cd $(unsubdir)/cvs$(subdir); \
1149 $(MAKE) \
1150 "against=$(against)" \
1151 "AR=$(AR)" \
1152 "AR_FLAGS=$(AR_FLAGS)" \
1153 "CC=$(CC)" \
1154 "RANLIB=$(RANLIB)" \
1155 "LOADLIBES=$(LOADLIBES)" \
1156 "LDFLAGS=$(LDFLAGS)" \
1157 "BISON=$(BISON)" \
1158 "MAKEINFO=$(MAKEINFO)" \
1159 all) ; \
1160 else \
1161 true ; \
1162 fi
1163
1164 clean-cvs: force
1165 if [ -d $(unsubdir)/cvs ] ; then \
1166 (cd $(unsubdir)/cvs$(subdir); \
1167 $(MAKE) \
1168 "against=$(against)" \
1169 "AR=$(AR)" \
1170 "AR_FLAGS=$(AR_FLAGS)" \
1171 "CC=$(CC)" \
1172 "RANLIB=$(RANLIB)" \
1173 "LOADLIBES=$(LOADLIBES)" \
1174 "LDFLAGS=$(LDFLAGS)" \
1175 "BISON=$(BISON)" \
1176 "MAKEINFO=$(MAKEINFO)" \
1177 clean) ; \
1178 else \
1179 true ; \
1180 fi
1181
1182 install-cvs: install-rcs install-gdbm force
1183 if [ -d $(unsubdir)/cvs ] ; then \
1184 (cd $(unsubdir)/cvs$(subdir); \
1185 $(MAKE) \
1186 "against=$(against)" \
1187 "AR=$(AR)" \
1188 "AR_FLAGS=$(AR_FLAGS)" \
1189 "CC=$(CC)" \
1190 "RANLIB=$(RANLIB)" \
1191 "LOADLIBES=$(LOADLIBES)" \
1192 "LDFLAGS=$(LDFLAGS)" \
1193 "BISON=$(BISON)" \
1194 "MAKEINFO=$(MAKEINFO)" \
1195 install) ; \
1196 else \
1197 true ; \
1198 fi
1199 \f
1200 ### emacs
1201 .PHONY: all-emacs just-emacs
1202 all-emacs: just-emacs
1203 just-emacs: force
1204 if [ -d $(unsubdir)/emacs ] ; then \
1205 (cd $(unsubdir)/emacs$(subdir); \
1206 $(MAKE) \
1207 "against=$(against)" \
1208 "AR=$(AR)" \
1209 "AR_FLAGS=$(AR_FLAGS)" \
1210 "CC=$(CC)" \
1211 "RANLIB=$(RANLIB)" \
1212 "LOADLIBES=$(LOADLIBES)" \
1213 "LDFLAGS=$(LDFLAGS)" \
1214 "BISON=$(BISON)" \
1215 "MAKEINFO=$(MAKEINFO)" \
1216 all) ; \
1217 else \
1218 true ; \
1219 fi
1220
1221 clean-emacs: force
1222 if [ -d $(unsubdir)/emacs ] ; then \
1223 (cd $(unsubdir)/emacs$(subdir); \
1224 $(MAKE) \
1225 "against=$(against)" \
1226 "AR=$(AR)" \
1227 "AR_FLAGS=$(AR_FLAGS)" \
1228 "CC=$(CC)" \
1229 "RANLIB=$(RANLIB)" \
1230 "LOADLIBES=$(LOADLIBES)" \
1231 "LDFLAGS=$(LDFLAGS)" \
1232 "BISON=$(BISON)" \
1233 "MAKEINFO=$(MAKEINFO)" \
1234 clean) ; \
1235 else \
1236 true ; \
1237 fi
1238
1239 install-emacs: install-rcs install-gdbm force
1240 if [ -d $(unsubdir)/emacs ] ; then \
1241 (cd $(unsubdir)/emacs$(subdir); \
1242 $(MAKE) \
1243 "against=$(against)" \
1244 "AR=$(AR)" \
1245 "AR_FLAGS=$(AR_FLAGS)" \
1246 "CC=$(CC)" \
1247 "RANLIB=$(RANLIB)" \
1248 "LOADLIBES=$(LOADLIBES)" \
1249 "LDFLAGS=$(LDFLAGS)" \
1250 "BISON=$(BISON)" \
1251 "MAKEINFO=$(MAKEINFO)" \
1252 install) ; \
1253 else \
1254 true ; \
1255 fi
1256 \f
1257 ### ispell
1258 .PHONY: all-ispell just-ispell
1259 all-ispell: just-ispell
1260 just-ispell: all-emacs force
1261 if [ -d $(unsubdir)/ispell ] ; then \
1262 (cd $(unsubdir)/ispell$(subdir); \
1263 $(MAKE) \
1264 "against=$(against)" \
1265 "AR=$(AR)" \
1266 "AR_FLAGS=$(AR_FLAGS)" \
1267 "CC=$(CC)" \
1268 "RANLIB=$(RANLIB)" \
1269 "LOADLIBES=$(LOADLIBES)" \
1270 "LDFLAGS=$(LDFLAGS)" \
1271 "BISON=$(BISON)" \
1272 "MAKEINFO=$(MAKEINFO)" \
1273 all) ; \
1274 else \
1275 true ; \
1276 fi
1277
1278 clean-ispell: force
1279 if [ -d $(unsubdir)/ispell ] ; then \
1280 (cd $(unsubdir)/ispell$(subdir); \
1281 $(MAKE) \
1282 "against=$(against)" \
1283 "AR=$(AR)" \
1284 "AR_FLAGS=$(AR_FLAGS)" \
1285 "CC=$(CC)" \
1286 "RANLIB=$(RANLIB)" \
1287 "LOADLIBES=$(LOADLIBES)" \
1288 "LDFLAGS=$(LDFLAGS)" \
1289 "BISON=$(BISON)" \
1290 "MAKEINFO=$(MAKEINFO)" \
1291 clean) ; \
1292 else \
1293 true ; \
1294 fi
1295
1296 install-ispell: install-rcs install-gdbm force
1297 if [ -d $(unsubdir)/ispell ] ; then \
1298 (cd $(unsubdir)/ispell$(subdir); \
1299 $(MAKE) \
1300 "against=$(against)" \
1301 "AR=$(AR)" \
1302 "AR_FLAGS=$(AR_FLAGS)" \
1303 "CC=$(CC)" \
1304 "RANLIB=$(RANLIB)" \
1305 "LOADLIBES=$(LOADLIBES)" \
1306 "LDFLAGS=$(LDFLAGS)" \
1307 "BISON=$(BISON)" \
1308 "MAKEINFO=$(MAKEINFO)" \
1309 install) ; \
1310 else \
1311 true ; \
1312 fi
1313 \f
1314 ### other supporting targets
1315 # this is a bad hack.
1316 all.xclib: all.normal
1317 if [ -d clib ] ; then \
1318 (cd clib ; $(MAKE)) ; \
1319 fi
1320
1321 subdir_do: force
1322 for i in $(DODIRS); do \
1323 if [ -f $(unsubdir)/$$i/localenv ] ; then \
1324 if (cd $(unsubdir)/$$i$(subdir); \
1325 $(MAKE) \
1326 "against=$(against)" \
1327 "BISON=$(BISON)" \
1328 "MAKEINFO=$(MAKEINFO)" \
1329 $(DO)) ; then true ; \
1330 else exit 1 ; fi ; \
1331 else if [ -d $(unsubdir)/$$i ] ; then \
1332 if (cd $(unsubdir)/$$i$(subdir); \
1333 $(MAKE) \
1334 "against=$(against)" \
1335 "AR=$(AR)" \
1336 "AR_FLAGS=$(AR_FLAGS)" \
1337 "CC=$(CC)" \
1338 "RANLIB=$(RANLIB)" \
1339 "LOADLIBES=$(LOADLIBES)" \
1340 "LDFLAGS=$(LDFLAGS)" \
1341 "BISON=$(BISON)" \
1342 "MAKEINFO=$(MAKEINFO)" \
1343 $(DO)) ; then true ; \
1344 else exit 1 ; fi ; \
1345 else true ; fi ; \
1346 fi ; \
1347 done
1348
1349 bootstrap:
1350 $(MAKE) all info
1351 $(MAKE) stage1
1352 $(MAKE) pass "stagepass=stage1"
1353 $(MAKE) stage2
1354 $(MAKE) pass "stagepass=stage2"
1355 $(MAKE) comparison
1356
1357 bootstrap2:
1358 $(MAKE) pass "stagepass=stage1"
1359 $(MAKE) stage2
1360 $(MAKE) pass "stagepass=stage2"
1361 $(MAKE) comparison
1362
1363 bootstrap3:
1364 $(MAKE) pass "stagepass=stage2"
1365 $(MAKE) comparison
1366
1367 pass:
1368 cp $(srcdir)/gcc/gstdarg.h $(unsubdir)/gas$(subdir)/stdarg.h
1369 $(MAKE) subdir_do "DO=all info" "DODIRS=$(SUBDIRS)" \
1370 "CC=`pwd`/$(unsubdir)/gcc$(subdir)/$(stagepass)/gcc \
1371 -O $(GCCVERBOSE) -I`pwd`/$(unsubdir)/gcc$(subdir)/include \
1372 -B`pwd`/$(unsubdir)/gcc$(subdir)/$(stagepass)/ \
1373 -B`pwd`/$(unsubdir)/gas$(subdir)/$(stagepass)/ \
1374 -B`pwd`/$(unsubdir)/ld$(subdir)/$(stagepass)/" \
1375 "AR=`pwd`/$(unsubdir)/binutils$(subdir)/$(stagepass)/ar" \
1376 "LD=`pwd`/$(unsubdir)/gcc$(subdir)/$(stagepass)/gcc $(GCCVERBOSE)" \
1377 "RANLIB=`pwd`/$(unsubdir)/binutils$(subdir)/$(stagepass)/ranlib" \
1378 "LOADLIBES=`pwd`/$(unsubdir)/gnulib$(subdir)/$(stagepass)/gnulib.a /lib/libc.a" \
1379 "LDFLAGS=-nostdlib /lib/crt0.o \
1380 -L`pwd`/$(unsubdir)/gnulib$(subdir)/$(stagepass)/ \
1381 -B`pwd`/$(unsubdir)/ld$(subdir)/$(stagepass)/"
1382
1383
1384 stage1:
1385 $(MAKE) subdir_do DO=stage1 "DODIRS=$(SUBDIRS)"
1386
1387 stage2:
1388 $(MAKE) subdir_do DO=stage2 "DODIRS=$(SUBDIRS)"
1389
1390 stage3:
1391 $(MAKE) subdir_do DO=stage3 "DODIRS=$(SUBDIRS)"
1392
1393 stage4:
1394 $(MAKE) subdir_do DO=stage4 "DODIRS=$(SUBDIRS)"
1395
1396 against=stage2
1397
1398 comparison:; $(MAKE) subdir_do DO=comparison against=$(against) "DODIRS=$(SUBDIRS)"
1399
1400 de-stage1:; $(MAKE) subdir_do DO=de-stage1 "DODIRS=$(SUBDIRS)"
1401 de-stage2:; $(MAKE) subdir_do DO=de-stage2 "DODIRS=$(SUBDIRS)"
1402 de-stage3:; $(MAKE) subdir_do DO=de-stage3 "DODIRS=$(SUBDIRS)"
1403 de-stage4:; $(MAKE) subdir_do DO=de-stage4 "DODIRS=$(SUBDIRS)"
1404
1405 # The "else true" stuff is for Ultrix; the shell returns the exit code
1406 # of the "if" command, if no commands are run in the "then" or "else" part,
1407 # causing Make to quit.
1408
1409 MAKEDIRS= \
1410 $(prefix) \
1411 $(bindir) \
1412 $(libdir) \
1413 $(includedir) \
1414 $(datadir) \
1415 $(docdir) \
1416 $(mandir) \
1417 $(man1dir) \
1418 $(man5dir)
1419
1420 # $(man2dir) \
1421 # $(man3dir) \
1422 # $(man4dir) \
1423 # $(man6dir) \
1424 # $(man7dir) \
1425 # $(man8dir)
1426
1427 install-dirs: force
1428 for i in $(MAKEDIRS) ; do \
1429 echo Making $$i... ; \
1430 if [ -d $$i ] ; then true ; else mkdir $$i || exit 1 ; fi ; \
1431 done
1432
1433 MAKEINFODIRS= \
1434 $(prefix) \
1435 $(infodir)
1436
1437 install-info-dirs: force
1438 if [ -d $(prefix) ] ; then true ; else mkdir $(prefix) ; fi
1439 if [ -d $(datadir) ] ; then true ; else mkdir $(datadir) ; fi
1440 if [ -d $(infodir) ] ; then true ; else mkdir $(infodir) ; fi
1441
1442 dir.info: force
1443 $(srcdir)/texinfo/gen-info-dir $(infodir) > dir.info.new
1444 mv -f dir.info.new dir.info
1445
1446 etags tags: TAGS
1447
1448 TAGS: FORCE
1449 etags `$(MAKE) ls`
1450
1451 ls:
1452 @echo Makefile
1453 @for i in $(SUBDIRS); \
1454 do \
1455 (cd $$i; \
1456 pwd=`pwd`; \
1457 wd=`basename $$pwd`; \
1458 for j in `$(MAKE) ls`; \
1459 do \
1460 echo $$wd/$$j; \
1461 done) \
1462 done
1463
1464 force:
1465
1466 # with the gnu make, this is done automatically.
1467
1468 Makefile: $(srcdir)/Makefile.in $(host_makefile_frag) $(target_makefile_frag)
1469 $(SHELL) ./config.status
1470
1471 #
1472 # Build GDB distributions that contain BFD, Include, Libiberty, Readline, etc
1473
1474 DEVO_SUPPORT= README DOC.configure Makefile.in configure configure.in \
1475 config.sub config
1476 GDB_SUPPORT_DIRS= bfd include libiberty readline glob
1477 GDB_SUPPORT_FILES= $(GDB_SUPPORT_DIRS) texinfo/fsf/texinfo.tex
1478
1479 setup-dirs: force_update
1480 ./configure sun4
1481 make clean
1482 ./configure -rm sun4
1483 chmod og=u `find $(DEVO_SUPPORT) $(GDB_SUPPORT_FILES) -print`
1484
1485 bfd.ilrt.tar.Z: setup-dirs
1486 rm -f bfd.ilrt.tar.Z
1487 tar cf - $(DEVO_SUPPORT) $(GDB_SUPPORT_FILES) \
1488 | compress -v >bfd.ilrt.tar.Z
1489
1490 gdb.tar.Z: setup-dirs
1491 (cd gdb; $(MAKE) -f Makefile.in make-proto-gdb.dir)
1492 $(MAKE) $(MFLAGS) -f Makefile.in make-gdb.tar.Z
1493
1494 make-gdb.tar.Z: $(DEVO_SUPPORT) $(GDB_SUPPORT_DIRS) gdb texinfo/fsf/texinfo.tex
1495 rm -rf proto-toplev; mkdir proto-toplev
1496 ln -s ../gdb/proto-gdb.dir proto-toplev/gdb
1497 (cd proto-toplev; for i in $(DEVO_SUPPORT) $(GDB_SUPPORT_DIRS); do \
1498 ln -s ../$$i . ; \
1499 done)
1500 # Take out texinfo from configurable dirs
1501 rm proto-toplev/configure.in
1502 sed '/^configdirs=/s/texinfo //' <configure.in >proto-toplev/configure.in
1503 # Take out glob from buildable dirs
1504 rm proto-toplev/Makefile.in
1505 sed '/^SUBDIRS =/s/glob //' <Makefile.in >proto-toplev/Makefile.in
1506 mkdir proto-toplev/texinfo
1507 mkdir proto-toplev/texinfo/fsf
1508 ln -s ../../../texinfo/fsf/texinfo.tex proto-toplev/texinfo/fsf/
1509 chmod og=u `find proto-toplev -print`
1510 (VER=`sed <gdb/Makefile.in -n 's/VERSION = //p'`; \
1511 echo "==> Making gdb-$$VER.tar.Z"; \
1512 ln -s proto-toplev gdb-$$VER; \
1513 tar cfh - gdb-$$VER \
1514 | compress -v >gdb-$$VER.tar.Z)
1515
1516 force_update:
1517
1518 nothing:
1519
1520 # end of Makefile.in
This page took 0.09906 seconds and 4 git commands to generate.