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