09f0c1153300f8fe82e682fe26ddd813fb97061f
[deliverable/binutils-gdb.git] / Makefile.in
1 #
2 # Makefile for directory with subdirs to build.
3 # Copyright (C) 1990, 1991, 1992 Free Software Foundation
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 exec_prefix = $(prefix)
25 bindir = $(exec_prefix)/bin
26 libdir = $(exec_prefix)/lib
27 tooldir = $(libdir)
28
29 program_transform_name =
30
31 datadir = $(prefix)/lib
32 mandir = $(prefix)/man
33 man1dir = $(mandir)/man1
34 man2dir = $(mandir)/man2
35 man3dir = $(mandir)/man3
36 man4dir = $(mandir)/man4
37 man5dir = $(mandir)/man5
38 man6dir = $(mandir)/man6
39 man7dir = $(mandir)/man7
40 man8dir = $(mandir)/man8
41 man9dir = $(mandir)/man9
42 infodir = $(prefix)/info
43 includedir = $(prefix)/include
44 docdir = $(datadir)/doc
45
46 SHELL = /bin/sh
47
48 INSTALL = cp
49 INSTALL_PROGRAM = $(INSTALL)
50 INSTALL_DATA = $(INSTALL)
51
52 AS = as
53 AR = ar
54 AR_FLAGS = rc
55 CC = cc
56 CFLAGS = -g
57 CXX = gcc
58 CXXFLAGS = -g -O
59 RANLIB = ranlib
60 NM = nm
61
62 BISON = `if [ -f $${rootme}/byacc/byacc ] ; \
63 then echo $${rootme}/byacc/byacc ; \
64 else echo byacc ; \
65 fi`
66
67 LEX = `if [ -f $${rootme}/flex/flex ] ; \
68 then echo $${rootme}/flex/flex ; \
69 else echo flex ; fi`
70
71 MAKEINFO = `if [ -f $${rootme}/texinfo/C/makeinfo ] ; \
72 then echo $${rootme}/texinfo/C/makeinfo ; \
73 else echo makeinfo ; fi`
74
75 # compilers to use to create programs which must be run in the build
76 # environment.
77 CC_FOR_BUILD = $(CC)
78 CXX_FOR_BUILD = $(CXX)
79
80 SUBDIRS = libiberty mmalloc glob readline opcodes bfd h8300sim z8ksim gdb binutils ld gas tgas gcc libg++ newlib deja-gnu
81 OTHERS =
82
83 ALL = all.normal
84 INSTALL_TARGET = install.all
85
86 ### for debugging
87 #GCCVERBOSE=-v
88
89 CC_FOR_TARGET = ` \
90 if [ -f $${rootme}/gcc/Makefile ] ; then \
91 echo $${rootme}/gcc/gcc -B$${rootme}/gcc/; \
92 else \
93 if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
94 echo $(CC); \
95 else \
96 t='$(program_transform_name)'; echo gcc | sed -e '' $$t; \
97 fi; \
98 fi`
99
100 CXX_FOR_TARGET = ` \
101 if [ -f $${rootme}/gcc/Makefile ] ; then \
102 echo $${rootme}/gcc/gcc -B$${rootme}/gcc/; \
103 else \
104 if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
105 echo $(CXX); \
106 else \
107 t='$(program_transform_name)'; echo gcc | sed -e '' $$t; \
108 fi; \
109 fi`
110
111 AS_FOR_TARGET = ` \
112 if [ -f $${rootme}/gas/Makefile ] ; then \
113 echo $${rootme}/gas/as.new ; \
114 else \
115 if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
116 echo $(AS); \
117 else \
118 t='$(program_transform_name)'; echo as | sed -e '' $$t ; \
119 fi \
120 fi`
121
122 AR_FOR_TARGET = ` \
123 if [ -f $${rootme}/binutils/Makefile ] ; then \
124 echo $${rootme}/binutils/ar ; \
125 else \
126 if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
127 echo $(AR); \
128 else \
129 t='$(program_transform_name)'; echo ar | sed -e '' $$t ; \
130 fi \
131 fi`
132
133 RANLIB_FOR_TARGET = ` \
134 if [ -f $${rootme}/binutils/Makefile ] ; then \
135 echo $${rootme}/binutils/ranlib ; \
136 else \
137 if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
138 echo $(RANLIB); \
139 else \
140 t='$(program_transform_name)'; echo ranlib | sed -e '' $$t ; \
141 fi \
142 fi`
143
144 NM_FOR_TARGET = ` \
145 if [ -f $${rootme}/binutils/Makefile ] ; then \
146 echo $${rootme}/binutils/nm ; \
147 else \
148 if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
149 echo $(NM); \
150 else \
151 t='$(program_transform_name)'; echo nm | sed -e '' $$t ; \
152 fi \
153 fi`
154
155 XTRAFLAGS = ` \
156 if [ -f $${rootme}/gcc/Makefile ] ; then \
157 if [ -f $${rootme}/newlib/Makefile ] ; then \
158 echo -I$${rootme}/newlib/targ-include -I$${srcroot}/newlib/libc/include -I$${rootme}/gcc/include -nostdinc ; \
159 else \
160 echo -I$${rootme}/gcc/include ; \
161 fi ; \
162 else \
163 echo ; \
164 fi`
165
166
167 #### host and target specific makefile fragments come in here.
168 ###
169
170 # Flags to pass down to sub-makes -- please keep these in alphabetical order
171 FLAGS_TO_PASS = \
172 "AR=$(AR)" \
173 "AR_FLAGS=$(AR_FLAGS)" \
174 "BISON=$(BISON)" \
175 "CXXFLAGS=$(CXXFLAGS)" \
176 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
177 "CC=$(CC)" \
178 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
179 "CFLAGS=$(CFLAGS)" \
180 "INSTALL=$(INSTALL)" \
181 "INSTALL_DATA=$(INSTALL_DATA)" \
182 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
183 "LDFLAGS=$(LDFLAGS)" \
184 "LEX=$(LEX)" \
185 "LOADLIBES=$(LOADLIBES)" \
186 "MAKEINFO=$(MAKEINFO)" \
187 "RANLIB=$(RANLIB)" \
188 "exec_prefix=$(exec_prefix)" \
189 "prefix=$(prefix)" \
190 "tooldir=$(tooldir)"
191
192 # Flags that are concerned with the location of the X11 include files
193 # and library files
194 X11_FLAGS_TO_PASS = \
195 "X11_INCLUDE_FLAGS=$(X11_INCLUDE_FLAGS)" \
196 "X11_LIB_FLAGS=$(X11_LIB_FLAGS)"
197
198 # Flags to pass down to makes which are built with the target
199 # environment (e.g. libg++, xiberty, newlib). -- keep these in alpha order please
200 TARGET_FLAGS_TO_PASS = \
201 "AR=$(AR_FOR_TARGET)" \
202 "AR_FLAGS=$(AR_FLAGS)" \
203 "AS=$(AS_FOR_TARGET)" \
204 "BISON=$(BISON)" \
205 "CXX=$(CXX_FOR_TARGET)" \
206 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
207 "CXXFLAGS=$(CXXFLAGS)" \
208 "CC=$(CC_FOR_TARGET)" \
209 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
210 "CFLAGS=$(CFLAGS)" \
211 "INSTALL=$(INSTALL)" \
212 "INSTALL_DATA=$(INSTALL_DATA)" \
213 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
214 "LDFLAGS=$(LDFLAGS)" \
215 "LEX=$(LEX)" \
216 "LOADLIBES=$(LOADLIBES)" \
217 "MAKEINFO=$(MAKEINFO)" \
218 "NM=$(NM_FOR_TARGET)" \
219 "RANLIB=$(RANLIB_FOR_TARGET)" \
220 "XTRAFLAGS=$(XTRAFLAGS)" \
221 "exec_prefix=$(exec_prefix)" \
222 "prefix=$(prefix)" \
223 "tooldir=$(tooldir)"
224
225 # The first rule in the file had better be this one. Don't put any above it.
226 all: $(ALL)
227
228 .PHONY: all check dvi info install-info
229 .NOEXPORT:
230
231 info check dvi:
232 @rootme=`pwd` ; export rootme ; \
233 $(MAKE) $(FLAGS_TO_PASS) DO=$@ "DODIRS=$(SUBDIRS)" subdir_do
234
235 install-info: install-info-dirs force
236 -parent=`echo $(infodir)|sed -e 's@/[^/]*$$@@'`; \
237 if [ -d $$parent ] ; then true ; else mkdir $$parent ; fi
238 -if [ -d $(infodir) ] ; then true ; else mkdir $(infodir) ; fi
239 @rootme='pwd' ; export rootme ; $(MAKE) $(FLAGS_TO_PASS) DO=install-info "DODIRS=$(SUBDIRS)" subdir_do
240 @rootme='pwd' ; export rootme ; $(MAKE) $(FLAGS_TO_PASS) dir.info install-dir.info
241
242 install-dir.info:
243 -parent=`echo $(infodir)|sed -e 's@/[^/]*$$@@'`; \
244 if [ -d $$parent ] ; then true ; else mkdir $$parent ; fi
245 -if [ -d $(infodir) ] ; then true ; else mkdir $(infodir) ; fi
246 $(INSTALL_DATA) dir.info $(infodir)/dir.info
247
248 all.normal: all-m4 all-autoconf all-libiberty all-mmalloc all-texinfo \
249 all-byacc all-flex all-opcodes all-bfd all-ld all-gas all-tgas \
250 all-gcc all-binutils all-libg++ all-readline all-z8ksim all-h8300sim all-gdb \
251 all-make all-rcs all-cvs all-diff all-grep \
252 all-patch all-emacs all-ispell all-etc \
253 all-tcl all-tk all-expect \
254 all-newlib all-gprof all-send_pr all-libm all-deja-gnu \
255 all-fileutils all-find all-gawk all-sed all-shellutils \
256 all-textutils all-time all-wdiff
257
258
259 all.cross: all-libiberty all-mmalloc all-gas all-byacc all-flex all-ld \
260 all-opcodes all-z8ksim all-h8300sim all-bfd all-readline all-gdb all-binutils all-gcc \
261 all-newlib all-deja-gnu
262
263 .PHONY: clean distclean mostlyclean realclean do_clean
264
265 do_clean:
266 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E
267
268 clean mostlyclean: do_clean
269 @rootme=`pwd` ; export rootme ; \
270 $(MAKE) $(FLAGS_TO_PASS) DO=$@ "DODIRS=$(SUBDIRS)" subdir_do
271
272 distclean realclean: do_clean
273 @rootme=`pwd` ; export rootme ; \
274 $(MAKE) $(FLAGS_TO_PASS) DO=$@ "DODIRS=$(SUBDIRS)" subdir_do
275 -rm -f Makefile config.status
276
277 uninstall:
278 @echo "the uninstall target is not supported in this tree"
279
280 install: $(INSTALL_TARGET)
281 -parent=`echo $(man1dir)|sed -e 's@/[^/]*$$@@'`; \
282 if [ -d $$parent ] ; then true ; else mkdir $$parent ; fi
283 -if [ -d $(man1dir) ] ; then true ; else mkdir $(man1dir) ; fi
284
285 install.all: install-no-fixedincludes
286 @if [ -f ./gcc/Makefile ] ; then \
287 rootme=`pwd` ; export rootme ; \
288 (cd ./gcc; \
289 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
290 else \
291 true ; \
292 fi
293
294 install-no-fixedincludes: install-dirs gcc-no-fixedincludes \
295 install-autoconf \
296 install-bfd \
297 install-binutils \
298 install-opcodes \
299 install-byacc \
300 install-cvs \
301 install-diff \
302 install-deja-gnu \
303 install-emacs \
304 install-etc \
305 install-expect \
306 install-flex \
307 install-gas \
308 install-gdb \
309 install-glob \
310 install-gprof \
311 install-grep \
312 install-ispell \
313 install-ld \
314 install-libg++ \
315 install-libiberty \
316 install-libm \
317 install-make \
318 install-mmalloc \
319 install-newlib \
320 install-patch \
321 install-rcs \
322 install-readline \
323 install-send_pr \
324 install-tcl \
325 install-texinfo \
326 install-tk \
327 install-z8ksim \
328 install-h8300sim \
329 install-fileutils install-find install-gawk install-m4 install-sed install-shellutils \
330 install-textutils install-time install-wdiff
331
332 gcc-no-fixedincludes:
333 @if [ -f ./gcc/Makefile ] ; then \
334 rootme=`pwd` ; export rootme ; \
335 (cd ./gcc; \
336 $(MAKE) $(FLAGS_TO_PASS) install install-man \
337 "INSTALL_HEADERS=install-common-headers install-float-h install-limits-h") ; \
338 else \
339 true ; \
340 fi
341
342 install.cross: install-dirs install-libiberty install-mmalloc \
343 install-binutils install-opcodes install-byacc install-flex \
344 install-ld install-gas install-readline \
345 install-glob install-gdb install-mmalloc \
346 install-newlib install-gcc install-etc install-deja-gnu
347
348 ### deja-gnu
349 all-deja-gnu: force
350 @if [ -f ./deja-gnu/Makefile ] ; then \
351 rootme=`pwd` ; export rootme ; \
352 (cd ./deja-gnu; $(MAKE) $(FLAGS_TO_PASS) all) ; \
353 else \
354 true ; \
355 fi
356
357 install-deja-gnu: force
358 @if [ -f ./deja-gnu/Makefile ] ; then \
359 rootme=`pwd` ; export rootme ; \
360 (cd ./deja-gnu; $(MAKE) $(FLAGS_TO_PASS) install) ; \
361 else \
362 true ; \
363 fi
364
365 ### autoconf
366 all-autoconf: force
367 @if [ -f ./autoconf/Makefile ] ; then \
368 rootme=`pwd` ; export rootme ; \
369 (cd ./autoconf; $(MAKE) $(FLAGS_TO_PASS) all) ; \
370 else \
371 true ; \
372 fi
373
374 install-autoconf: force
375 @if [ -f ./autoconf/Makefile ] ; then \
376 rootme=`pwd` ; export rootme ; \
377 (cd ./autoconf; $(MAKE) $(FLAGS_TO_PASS) install) ; \
378 else \
379 true ; \
380 fi
381
382 ### etc
383 all-etc: force
384 @if [ -f ./etc/Makefile ] ; then \
385 rootme=`pwd` ; export rootme ; \
386 (cd ./etc; $(MAKE) $(FLAGS_TO_PASS) all) ; \
387 else \
388 true ; \
389 fi
390
391 install-etc: force
392 @if [ -f ./etc/Makefile ] ; then \
393 rootme=`pwd` ; export rootme ; \
394 (cd ./etc; $(MAKE) $(FLAGS_TO_PASS) install) ; \
395 else \
396 true ; \
397 fi
398
399 ### libiberty
400 all-libiberty: force
401 @if [ -f ./libiberty/Makefile ] ; then \
402 rootme=`pwd` ; export rootme ; \
403 (cd ./libiberty; \
404 $(MAKE) $(FLAGS_TO_PASS) all) ; \
405 else \
406 true ; \
407 fi
408
409 install-libiberty: force
410 @if [ -f ./libiberty/Makefile ] ; then \
411 rootme=`pwd` ; export rootme ; \
412 (cd ./libiberty; \
413 $(MAKE) $(FLAGS_TO_PASS) install) ; \
414 else \
415 true ; \
416 fi
417
418 ### xiberty
419 all-xiberty: all-gcc all-newlib
420 @if [ -f ./xiberty/Makefile ] ; then \
421 rootme=`pwd` ; export rootme ; \
422 srcroot=`cd $(srcdir); pwd`; export srcroot ; \
423 (cd ./xiberty; \
424 $(MAKE) $(FLAGS_TO_PASS) all) ; \
425 else \
426 true ; \
427 fi
428
429 install-xiberty: force
430 @if [ -f ./xiberty/Makefile ] ; then \
431 rootme=`pwd` ; export rootme ; \
432 srcroot=`cd $(srcdir); pwd`; export srcroot ; \
433 (cd ./xiberty; \
434 $(MAKE) $(FLAGS_TO_PASS) install) ; \
435 else \
436 true ; \
437 fi
438
439 ### mmalloc
440 all-mmalloc: force
441 @if [ -f ./mmalloc/Makefile ] ; then \
442 rootme=`pwd` ; export rootme ; \
443 (cd ./mmalloc; \
444 $(MAKE) $(FLAGS_TO_PASS) all) ; \
445 else \
446 true ; \
447 fi
448
449 install-mmalloc: force
450 @if [ -f ./mmalloc/Makefile ] ; then \
451 rootme=`pwd` ; export rootme ; \
452 (cd ./mmalloc; \
453 $(MAKE) $(FLAGS_TO_PASS) install) ; \
454 else \
455 true ; \
456 fi
457
458 ### texinfo
459 all-texinfo: all-libiberty
460 @if [ -f ./texinfo/Makefile ] ; then \
461 rootme=`pwd` ; export rootme ; \
462 (cd ./texinfo; \
463 $(MAKE) $(FLAGS_TO_PASS) all) ; \
464 else \
465 true ; \
466 fi
467
468 install-texinfo: force
469 @if [ -f ./texinfo/Makefile ] ; then \
470 rootme=`pwd` ; export rootme ; \
471 (cd ./texinfo; \
472 $(MAKE) $(FLAGS_TO_PASS) install) ; \
473 else \
474 true ; \
475 fi
476
477 ### bfd
478 all-bfd: force
479 @if [ -f ./bfd/Makefile ] ; then \
480 rootme=`pwd` ; export rootme ; \
481 (cd ./bfd; \
482 $(MAKE) $(FLAGS_TO_PASS) all) ; \
483 else \
484 true ; \
485 fi
486
487 install-bfd: force
488 @if [ -f ./bfd/Makefile ] ; then \
489 rootme=`pwd` ; export rootme ; \
490 (cd ./bfd; \
491 $(MAKE) $(FLAGS_TO_PASS) install) ; \
492 else \
493 true ; \
494 fi
495
496
497 ### opcodes
498 all-opcodes: force
499 @if [ -f ./opcodes/Makefile ] ; then \
500 rootme=`pwd` ; export rootme ; \
501 (cd ./opcodes; \
502 $(MAKE) $(FLAGS_TO_PASS) all) ; \
503 else \
504 true ; \
505 fi
506
507 install-opcodes: force
508 @if [ -f ./opcodes/Makefile ] ; then \
509 rootme=`pwd` ; export rootme ; \
510 (cd ./opcodes; \
511 $(MAKE) $(FLAGS_TO_PASS) install) ; \
512 else \
513 true ; \
514 fi
515
516 ### binutils
517 all-binutils: all-opcodes all-libiberty all-bfd all-flex
518 @if [ -f ./binutils/Makefile ] ; then \
519 rootme=`pwd` ; export rootme ; \
520 (cd ./binutils; \
521 $(MAKE) $(FLAGS_TO_PASS) all) ; \
522 else \
523 true ; \
524 fi
525
526 install-binutils: force
527 @if [ -f ./binutils/Makefile ] ; then \
528 rootme=`pwd` ; export rootme ; \
529 (cd ./binutils; \
530 $(MAKE) $(FLAGS_TO_PASS) install) ; \
531 else \
532 true ; \
533 fi
534
535 ### newlib
536 all-newlib: all-binutils all-ld all-gas all-gcc
537 @if [ -f ./newlib/Makefile ] ; then \
538 rootme=`pwd` ; export rootme ; \
539 srcroot=`cd $(srcdir); pwd` ; export srcroot ; \
540 (cd ./newlib; \
541 $(MAKE) $(TARGET_FLAGS_TO_PASS) all) ; \
542 else \
543 true ; \
544 fi
545
546 install-newlib: force
547 @if [ -f ./newlib/Makefile ] ; then \
548 rootme=`pwd` ; export rootme ; \
549 srcroot=`cd $(srcdir); pwd` ; export srcroot ; \
550 (cd ./newlib; \
551 $(MAKE) $(TARGET_FLAGS_TO_PASS) install) ; \
552 else \
553 true ; \
554 fi
555
556 ### gprof
557 all-gprof: all-libiberty all-bfd
558 @if [ -f ./gprof/Makefile ] ; then \
559 rootme=`pwd` ; export rootme ; \
560 (cd ./gprof; \
561 $(MAKE) $(FLAGS_TO_PASS) all) ; \
562 else \
563 true ; \
564 fi
565
566 install-gprof: force
567 @if [ -f ./gprof/Makefile ] ; then \
568 rootme=`pwd` ; export rootme ; \
569 (cd ./gprof; \
570 $(MAKE) $(FLAGS_TO_PASS) install) ; \
571 else \
572 true ; \
573 fi
574
575 ### byacc
576 all-byacc: force
577 @if [ -f ./byacc/Makefile ] ; then \
578 rootme=`pwd` ; export rootme ; \
579 (cd ./byacc; \
580 $(MAKE) $(FLAGS_TO_PASS) all) ; \
581 else \
582 true ; \
583 fi
584
585 install-byacc: force
586 @if [ -f ./byacc/Makefile ] ; then \
587 rootme=`pwd` ; export rootme ; \
588 (cd ./byacc; \
589 $(MAKE) $(FLAGS_TO_PASS) install) ; \
590 else \
591 true ; \
592 fi
593
594 ### flex
595 all-flex: all-libiberty
596 @if [ -f ./flex/Makefile ] ; then \
597 rootme=`pwd` ; export rootme ; \
598 (cd ./flex; \
599 $(MAKE) $(FLAGS_TO_PASS) all) ; \
600 else \
601 true ; \
602 fi
603
604 install-flex: force
605 @if [ -f ./flex/Makefile ] ; then \
606 rootme=`pwd` ; export rootme ; \
607 (cd ./flex; \
608 $(MAKE) $(FLAGS_TO_PASS) install) ; \
609 else \
610 true ; \
611 fi
612 ### gcc
613 all-gcc: all-libiberty all-byacc all-binutils
614 @if [ -f ./gcc/Makefile ] ; then \
615 rootme=`pwd` ; export rootme ; \
616 (cd ./gcc; \
617 $(MAKE) $(FLAGS_TO_PASS) all) ; \
618 else \
619 true ; \
620 fi
621
622 install-gcc: force
623 @if [ -f ./gcc/Makefile ] ; then \
624 rootme=`pwd` ; export rootme ; \
625 (cd ./gcc; \
626 $(MAKE) $(FLAGS_TO_PASS) install) ; \
627 else \
628 true ; \
629 fi
630
631 ### readline
632 all-readline: force
633 @if [ -f ./readline/Makefile ] ; then \
634 rootme=`pwd` ; export rootme ; \
635 (cd ./readline; \
636 $(MAKE) $(FLAGS_TO_PASS) all) ; \
637 else \
638 true ; \
639 fi
640
641 install-readline: force
642 @if [ -f ./readline/Makefile ] ; then \
643 rootme=`pwd` ; export rootme ; \
644 (cd ./readline; \
645 $(MAKE) $(FLAGS_TO_PASS) install) ; \
646 else \
647 true ; \
648 fi
649
650 ### glob
651 all-glob: force
652 @if [ -f ./glob/Makefile ] ; then \
653 rootme=`pwd` ; export rootme ; \
654 (cd ./glob; \
655 $(MAKE) $(FLAGS_TO_PASS) all) ; \
656 else \
657 true ; \
658 fi
659
660 install-glob: force
661 @if [ -f ./glob/Makefile ] ; then \
662 rootme=`pwd` ; export rootme ; \
663 (cd ./glob; \
664 $(MAKE) $(FLAGS_TO_PASS) install) ; \
665 else \
666 true ; \
667 fi
668
669 ### gas
670 all-gas: all-libiberty all-opcodes all-bfd
671 @if [ -f ./gas/Makefile ] ; then \
672 rootme=`pwd` ; export rootme ; \
673 (cd ./gas; \
674 $(MAKE) $(FLAGS_TO_PASS) all) ; \
675 else \
676 true ; \
677 fi
678
679 install-gas: force
680 @if [ -f ./gas/Makefile ] ; then \
681 rootme=`pwd` ; export rootme ; \
682 (cd ./gas; \
683 $(MAKE) $(FLAGS_TO_PASS) install) ; \
684 else \
685 true ; \
686 fi
687
688 ### gas
689 all-tgas: all-libiberty all-bfd
690 @if [ -f ./tgas/Makefile ] ; then \
691 rootme=`pwd` ; export rootme ; \
692 (cd ./tgas; \
693 $(MAKE) $(FLAGS_TO_PASS) all) ; \
694 else \
695 true ; \
696 fi
697
698
699 ### ld
700 all-ld: all-libiberty all-bfd all-byacc all-flex
701 @if [ -f ./ld/Makefile ] ; then \
702 rootme=`pwd` ; export rootme ; \
703 (cd ./ld; \
704 $(MAKE) $(FLAGS_TO_PASS) all) ; \
705 else \
706 true ; \
707 fi
708
709 install-ld: force
710 @if [ -f ./ld/Makefile ] ; then \
711 rootme=`pwd` ; export rootme ; \
712 (cd ./ld; \
713 $(MAKE) $(FLAGS_TO_PASS) install) ; \
714 else \
715 true ; \
716 fi
717
718 ### gdb
719 all-gdb: all-bfd all-opcodes all-libiberty all-mmalloc all-readline all-glob all-byacc
720 @if [ -f ./gdb/Makefile ] ; then \
721 rootme=`pwd` ; export rootme ; \
722 (cd ./gdb; \
723 $(MAKE) $(FLAGS_TO_PASS) all) ; \
724 else \
725 true ; \
726 fi
727
728 install-gdb: force
729 @if [ -f ./gdb/Makefile ] ; then \
730 rootme=`pwd` ; export rootme ; \
731 (cd ./gdb; \
732 $(MAKE) $(FLAGS_TO_PASS) install) ; \
733 else \
734 true ; \
735 fi
736
737 ### make
738 all-make: all-libiberty
739 @if [ -f ./make/Makefile ] ; then \
740 rootme=`pwd` ; export rootme ; \
741 (cd ./make; \
742 $(MAKE) $(FLAGS_TO_PASS) all) ; \
743 else \
744 true ; \
745 fi
746
747 install-make: force
748 @if [ -f ./make/Makefile ] ; then \
749 rootme=`pwd` ; export rootme ; \
750 (cd ./make; \
751 $(MAKE) $(FLAGS_TO_PASS) install) ; \
752 else \
753 true ; \
754 fi
755
756 ### diff
757 all-diff: force
758 @if [ -f ./diff/Makefile ] ; then \
759 rootme=`pwd` ; export rootme ; \
760 (cd ./diff; \
761 $(MAKE) $(FLAGS_TO_PASS) all) ; \
762 else \
763 true ; \
764 fi
765
766 install-diff: force
767 @if [ -f ./diff/Makefile ] ; then \
768 rootme=`pwd` ; export rootme ; \
769 (cd ./diff/; \
770 $(MAKE) $(FLAGS_TO_PASS) install) ; \
771 else \
772 true ; \
773 fi
774
775 ### grep
776 all-grep: force
777 @if [ -f ./grep/Makefile ] ; then \
778 rootme=`pwd` ; export rootme ; \
779 (cd ./grep; \
780 $(MAKE) $(FLAGS_TO_PASS) all) ; \
781 else \
782 true ; \
783 fi
784
785 install-grep: force
786 @if [ -f ./grep/Makefile ] ; then \
787 rootme=`pwd` ; export rootme ; \
788 (cd ./grep; \
789 $(MAKE) $(FLAGS_TO_PASS) install) ; \
790 else \
791 true ; \
792 fi
793
794 ### rcs
795 all-rcs: force
796 @if [ -f ./rcs/Makefile ] ; then \
797 rootme=`pwd` ; export rootme ; \
798 (cd ./rcs; \
799 $(MAKE) $(FLAGS_TO_PASS) all) ; \
800 else \
801 true ; \
802 fi
803
804 install-rcs: force
805 @if [ -f ./rcs/Makefile ] ; then \
806 rootme=`pwd` ; export rootme ; \
807 (cd ./rcs; \
808 $(MAKE) $(FLAGS_TO_PASS) install) ; \
809 else \
810 true ; \
811 fi
812
813 ### cvs
814 all-cvs: force
815 @if [ -f ./cvs/Makefile ] ; then \
816 rootme=`pwd` ; export rootme ; \
817 (cd ./cvs; \
818 $(MAKE) $(FLAGS_TO_PASS) all) ; \
819 else \
820 true ; \
821 fi
822
823 install-cvs: force
824 @if [ -f ./cvs/Makefile ] ; then \
825 rootme=`pwd` ; export rootme ; \
826 (cd ./cvs; \
827 $(MAKE) $(FLAGS_TO_PASS) install) ; \
828 else \
829 true ; \
830 fi
831
832 ### patch
833 all-patch: force
834 @if [ -f ./patch/Makefile ] ; then \
835 rootme=`pwd` ; export rootme ; \
836 (cd ./patch; \
837 $(MAKE) $(FLAGS_TO_PASS) all) ; \
838 else \
839 true ; \
840 fi
841
842 install-patch: force
843 @if [ -f ./patch/Makefile ] ; then \
844 rootme=`pwd` ; export rootme ; \
845 (cd ./patch; \
846 $(MAKE) $(FLAGS_TO_PASS) \
847 bindir=$(bindir) \
848 man1dir=$(man1dir) install) ; \
849 else \
850 true ; \
851 fi
852
853 ### emacs
854 all-emacs: force
855 @if [ -f ./emacs/Makefile ] ; then \
856 rootme=`pwd` ; export rootme ; \
857 (cd ./emacs; \
858 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all) ; \
859 else \
860 true ; \
861 fi
862
863 install-emacs: force
864 @if [ -f ./emacs/Makefile ] ; then \
865 rootme=`pwd` ; export rootme ; \
866 (cd ./emacs; \
867 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install) ; \
868 else \
869 true ; \
870 fi
871
872 ### ispell
873 all-ispell: all-emacs
874 @if [ -f ./ispell/Makefile ] ; then \
875 rootme=`pwd` ; export rootme ; \
876 (cd ./ispell; \
877 $(MAKE) $(FLAGS_TO_PASS) all) ; \
878 else \
879 true ; \
880 fi
881
882 install-ispell: force
883 @if [ -f ./ispell/Makefile ] ; then \
884 rootme=`pwd` ; export rootme ; \
885 (cd ./ispell; \
886 $(MAKE) $(FLAGS_TO_PASS) install) ; \
887 else \
888 true ; \
889 fi
890
891 ### send_pr
892 all-send_pr: force
893 @if [ -f ./send_pr/Makefile ] ; then \
894 rootme=`pwd` ; export rootme ; \
895 (cd ./send_pr; \
896 $(MAKE) $(FLAGS_TO_PASS) all) ; \
897 else \
898 true ; \
899 fi
900
901 install-send_pr: force
902 @if [ -f ./send_pr/Makefile ] ; then \
903 rootme=`pwd` ; export rootme ; \
904 (cd ./send_pr; \
905 $(MAKE) $(FLAGS_TO_PASS) install) ; \
906 else \
907 true ; \
908 fi
909
910 ### libm
911 all-libm: force
912 @if [ -f ./libm/Makefile ] ; then \
913 rootme=`pwd` ; export rootme ; \
914 (cd ./libm; \
915 $(MAKE) $(FLAGS_TO_PASS) all) ; \
916 else \
917 true ; \
918 fi
919
920 install-libm: force
921 @if [ -f ./libm/Makefile ] ; then \
922 rootme=`pwd` ; export rootme ; \
923 (cd ./libm; \
924 $(MAKE) $(FLAGS_TO_PASS) install) ; \
925 else \
926 true ; \
927 fi
928
929 ### libg++
930
931 all-libg++: all-gas all-ld all-gcc all-xiberty all-newlib
932 @if [ -f ./libg++/Makefile ] ; then \
933 rootme=`pwd` ; export rootme ; \
934 srcroot=`cd $(srcdir); pwd` ; export srcroot ; \
935 (cd ./libg++; \
936 $(MAKE) $(TARGET_FLAGS_TO_PASS) all) ; \
937 else \
938 true ; \
939 fi
940
941 install-libg++: force
942 @if [ -f ./libg++/Makefile ] ; then \
943 rootme=`pwd` ; export rootme ; \
944 srcroot=`cd $(srcdir); pwd` ; export srcroot ; \
945 (cd ./libg++; \
946 $(MAKE) $(TARGET_FLAGS_TO_PASS) install) ; \
947 else \
948 true ; \
949 fi
950 ### tcl
951 all-tcl:
952 @if [ -f ./tcl/Makefile ] ; then \
953 rootme=`pwd` ; export rootme ; \
954 srcroot=`cd $(srcdir); pwd`; export srcroot ; \
955 (cd ./tcl; \
956 $(MAKE) $(FLAGS_TO_PASS) all) ; \
957 else \
958 true ; \
959 fi
960
961 install-tcl: force
962 @if [ -f ./tcl/Makefile ] ; then \
963 rootme=`pwd` ; export rootme ; \
964 srcroot=`cd $(srcdir); pwd`; export srcroot ; \
965 (cd ./tcl; \
966 $(MAKE) $(FLAGS_TO_PASS) install) ; \
967 else \
968 true ; \
969 fi
970
971
972 ### tk
973 all-tk: all-tcl
974 @if [ -f ./tk/Makefile ] ; then \
975 rootme=`pwd` ; export rootme ; \
976 srcroot=`cd $(srcdir); pwd`; export srcroot ; \
977 (cd ./tk; \
978 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all) ; \
979 else \
980 true ; \
981 fi
982
983 install-tk: force
984 @if [ -f ./tk/Makefile ] ; then \
985 rootme=`pwd` ; export rootme ; \
986 srcroot=`cd $(srcdir); pwd`; export srcroot ; \
987 (cd ./tk; \
988 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install) ; \
989 else \
990 true ; \
991 fi
992
993 ### expect
994 all-expect: all-tcl
995 @if [ -f ./expect/Makefile ] ; then \
996 rootme=`pwd` ; export rootme ; \
997 srcroot=`cd $(srcdir); pwd`; export srcroot ; \
998 (cd ./expect; \
999 $(MAKE) $(FLAGS_TO_PASS) all) ; \
1000 else \
1001 true ; \
1002 fi
1003
1004 install-expect: force
1005 @if [ -f ./expect/Makefile ] ; then \
1006 rootme=`pwd` ; export rootme ; \
1007 srcroot=`cd $(srcdir); pwd`; export srcroot ; \
1008 (cd ./expect; \
1009 $(MAKE) $(FLAGS_TO_PASS) install) ; \
1010 else \
1011 true ; \
1012 fi
1013
1014 ### z8ksim
1015 all-z8ksim: all-bfd
1016 @if [ -f ./z8ksim/Makefile ] ; then \
1017 rootme=`pwd` ; export rootme ; \
1018 (cd ./z8ksim; \
1019 $(MAKE) $(FLAGS_TO_PASS) all) ; \
1020 else \
1021 true ; \
1022 fi
1023
1024 install-z8ksim: force
1025 @if [ -f ./z8ksim/Makefile ] ; then \
1026 rootme=`pwd` ; export rootme ; \
1027 (cd ./z8ksim; \
1028 $(MAKE) $(FLAGS_TO_PASS) install) ; \
1029 else \
1030 true ; \
1031 fi
1032
1033 ### h8300sim:
1034 all-h8300sim: all-bfd
1035 @if [ -f ./h8300sim/Makefile ] ; then \
1036 rootme=`pwd` ; export rootme ; \
1037 (cd ./h8300sim; \
1038 $(MAKE) $(FLAGS_TO_PASS) all) ; \
1039 else \
1040 true ; \
1041 fi
1042
1043 install-h8300sim: force
1044 @if [ -f ./h8300sim/Makefile ] ; then \
1045 rootme=`pwd` ; export rootme ; \
1046 (cd ./h8300sim; \
1047 $(MAKE) $(FLAGS_TO_PASS) install) ; \
1048 else \
1049 true ; \
1050 fi
1051
1052
1053 ### fileutils
1054 all-fileutils: force
1055 @if [ -f ./fileutils/Makefile ] ; then \
1056 rootme=`pwd` ; export rootme ; \
1057 (cd ./fileutils; $(MAKE) $(FLAGS_TO_PASS) all) ; \
1058 else \
1059 true ; \
1060 fi
1061
1062 install-fileutils: force
1063 @if [ -f ./fileutils/Makefile ] ; then \
1064 rootme=`pwd` ; export rootme ; \
1065 (cd ./fileutils; $(MAKE) $(FLAGS_TO_PASS) install) ; \
1066 else \
1067 true ; \
1068 fi
1069
1070 ### find
1071 all-find: force
1072 @if [ -f ./find/Makefile ] ; then \
1073 rootme=`pwd` ; export rootme ; \
1074 (cd ./find; $(MAKE) $(FLAGS_TO_PASS) all) ; \
1075 else \
1076 true ; \
1077 fi
1078
1079 install-find: force
1080 @if [ -f ./find/Makefile ] ; then \
1081 rootme=`pwd` ; export rootme ; \
1082 (cd ./find; $(MAKE) $(FLAGS_TO_PASS) install) ; \
1083 else \
1084 true ; \
1085 fi
1086
1087 ### gawk
1088 all-gawk: force
1089 @if [ -f ./gawk/Makefile ] ; then \
1090 rootme=`pwd` ; export rootme ; \
1091 (cd ./gawk; $(MAKE) $(FLAGS_TO_PASS) all) ; \
1092 else \
1093 true ; \
1094 fi
1095
1096 install-gawk: force
1097 @if [ -f ./gawk/Makefile ] ; then \
1098 rootme=`pwd` ; export rootme ; \
1099 (cd ./gawk; $(MAKE) $(FLAGS_TO_PASS) install) ; \
1100 else \
1101 true ; \
1102 fi
1103
1104 ### m4
1105 all-m4: all-libiberty
1106 @if [ -f ./m4/Makefile ] ; then \
1107 rootme=`pwd` ; export rootme ; \
1108 (cd ./m4; $(MAKE) $(FLAGS_TO_PASS) all) ; \
1109 else \
1110 true ; \
1111 fi
1112
1113 install-m4: force
1114 @if [ -f ./m4/Makefile ] ; then \
1115 rootme=`pwd` ; export rootme ; \
1116 (cd ./m4; $(MAKE) $(FLAGS_TO_PASS) install) ; \
1117 else \
1118 true ; \
1119 fi
1120
1121 ### sed
1122 all-sed: force
1123 @if [ -f ./sed/Makefile ] ; then \
1124 rootme=`pwd` ; export rootme ; \
1125 (cd ./sed; $(MAKE) $(FLAGS_TO_PASS) all) ; \
1126 else \
1127 true ; \
1128 fi
1129
1130 install-sed: force
1131 @if [ -f ./sed/Makefile ] ; then \
1132 rootme=`pwd` ; export rootme ; \
1133 (cd ./sed; $(MAKE) $(FLAGS_TO_PASS) install) ; \
1134 else \
1135 true ; \
1136 fi
1137
1138 ### time
1139 all-time: force
1140 @if [ -f ./time/Makefile ] ; then \
1141 rootme=`pwd` ; export rootme ; \
1142 (cd ./time; $(MAKE) $(FLAGS_TO_PASS) all) ; \
1143 else \
1144 true ; \
1145 fi
1146
1147 install-time: force
1148 @if [ -f ./time/Makefile ] ; then \
1149 rootme=`pwd` ; export rootme ; \
1150 (cd ./time; $(MAKE) $(FLAGS_TO_PASS) install) ; \
1151 else \
1152 true ; \
1153 fi
1154
1155 ### wdiff
1156 all-wdiff: force
1157 @if [ -f ./wdiff/Makefile ] ; then \
1158 rootme=`pwd` ; export rootme ; \
1159 (cd ./wdiff; $(MAKE) $(FLAGS_TO_PASS) all) ; \
1160 else \
1161 true ; \
1162 fi
1163
1164 install-wdiff: force
1165 @if [ -f ./wdiff/Makefile ] ; then \
1166 rootme=`pwd` ; export rootme ; \
1167 (cd ./wdiff; $(MAKE) $(FLAGS_TO_PASS) install) ; \
1168 else \
1169 true ; \
1170 fi
1171
1172 ### shellutils
1173 all-shellutils: force
1174 @if [ -f ./shellutils/Makefile ] ; then \
1175 rootme=`pwd` ; export rootme ; \
1176 (cd ./shellutils; $(MAKE) $(FLAGS_TO_PASS) all) ; \
1177 else \
1178 true ; \
1179 fi
1180
1181 install-shellutils: force
1182 @if [ -f ./shellutils/Makefile ] ; then \
1183 rootme=`pwd` ; export rootme ; \
1184 (cd ./shellutils; $(MAKE) $(FLAGS_TO_PASS) install) ; \
1185 else \
1186 true ; \
1187 fi
1188
1189 ### textutils
1190 all-textutils: force
1191 @if [ -f ./textutils/Makefile ] ; then \
1192 rootme=`pwd` ; export rootme ; \
1193 (cd ./textutils; $(MAKE) $(FLAGS_TO_PASS) all) ; \
1194 else \
1195 true ; \
1196 fi
1197
1198 install-textutils: force
1199 @if [ -f ./textutils/Makefile ] ; then \
1200 rootme=`pwd` ; export rootme ; \
1201 (cd ./textutils; $(MAKE) $(FLAGS_TO_PASS) install) ; \
1202 else \
1203 true ; \
1204 fi
1205
1206
1207
1208 ### other supporting targets
1209
1210 subdir_do:
1211 @for i in $(DODIRS); do \
1212 if [ -f ./$$i/localenv ] || [ -f ./$$i/Makefile ] ; then \
1213 case $$i in \
1214 libg++ | xiberty | newlib) \
1215 if (rootme=`pwd` ; export rootme ; \
1216 srcroot=`cd $(srcdir); pwd` ; export srcroot ; \
1217 cd ./$$i ; \
1218 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(DO)) ; then true ; \
1219 else exit 1 ; fi \
1220 ;; \
1221 *) \
1222 if (rootme=`pwd` ; export rootme ; \
1223 cd ./$$i ; \
1224 $(MAKE) $(FLAGS_TO_PASS) $(DO)) ; then true ; \
1225 else exit 1 ; fi \
1226 ;; \
1227 esac ; \
1228 else true ; fi ; \
1229 done
1230
1231 # The "else true" stuff is for Ultrix; the shell returns the exit code
1232 # of the "if" command, if no commands are run in the "then" or "else" part,
1233 # causing Make to quit.
1234
1235 MAKEDIRS= \
1236 $(prefix) \
1237 $(exec_prefix) \
1238 $(tooldir)
1239
1240 # $(bindir) \
1241 # $(libdir) \
1242 # $(includedir) \
1243 # $(datadir) \
1244 # $(docdir) \
1245 # $(mandir) \
1246 # $(man1dir) \
1247 # $(man5dir)
1248
1249 # $(man2dir) \
1250 # $(man3dir) \
1251 # $(man4dir) \
1252 # $(man6dir) \
1253 # $(man7dir) \
1254 # $(man8dir)
1255
1256 install-dirs:
1257 for i in $(MAKEDIRS) ; do \
1258 echo Making $$i... ; \
1259 parent=`echo $$i|sed -e 's@/[^/]*$$@@'`; \
1260 if [ -d $$parent ] ; then true ; else mkdir $$parent ; fi ; \
1261 if [ ! -d $$i ] ; then \
1262 if mkdir $$i ; then \
1263 true ; \
1264 else \
1265 exit 1 ; \
1266 fi ; \
1267 else \
1268 true ; \
1269 fi ; \
1270 done
1271
1272 install-info-dirs:
1273 if [ -d $(prefix) ] ; then true ; else mkdir $(prefix) ; fi
1274
1275 dir.info:
1276 $(srcdir)/texinfo/gen-info-dir $(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new
1277 mv -f dir.info.new dir.info
1278
1279 dist:
1280 @echo "Building a full distribution of this tree isn't done"
1281 @echo "via 'make dist'. Check out the etc/ subdirectory"
1282
1283 etags tags: TAGS
1284
1285 TAGS:
1286 etags `$(MAKE) ls`
1287
1288 ls:
1289 @echo Makefile
1290 @for i in $(SUBDIRS); \
1291 do \
1292 (cd $$i; \
1293 pwd=`pwd`; \
1294 wd=`basename $$pwd`; \
1295 for j in `$(MAKE) ls`; \
1296 do \
1297 echo $$wd/$$j; \
1298 done) \
1299 done
1300
1301 force:
1302
1303 # with the gnu make, this is done automatically.
1304
1305 Makefile: $(srcdir)/Makefile.in $(host_makefile_frag) $(target_makefile_frag)
1306 $(SHELL) ./config.status
1307
1308 #
1309 # Build GDB distributions that contain BFD, Include, Libiberty, Readline, etc
1310
1311 DEVO_SUPPORT= README cfg-paper.texi Makefile.in configure configure.in \
1312 config.sub config configure.man configure.texi move-if-change \
1313 COPYING.LIB
1314 GDB_SUPPORT_DIRS= bfd include libiberty mmalloc opcodes readline glob
1315 GDB_SUPPORT_FILES= $(GDB_SUPPORT_DIRS) texinfo/fsf/texinfo.tex
1316
1317 setup-dirs: force
1318 ./configure sun4
1319 make clean
1320 ./configure -rm sun4
1321 chmod og=u `find $(DEVO_SUPPORT) $(GDB_SUPPORT_FILES) -print`
1322
1323 gdb.tar.Z: setup-dirs
1324 (cd gdb; $(MAKE) -f Makefile.in make-proto-gdb.dir)
1325 $(MAKE) $(MFLAGS) -f Makefile.in make-gdb.tar.Z
1326
1327 make-gdb.tar.Z: $(DEVO_SUPPORT) $(GDB_SUPPORT_DIRS) gdb texinfo/fsf/texinfo.tex
1328 rm -rf proto-toplev; mkdir proto-toplev
1329 ln -s ../gdb/proto-gdb.dir proto-toplev/gdb
1330 (cd proto-toplev; for i in $(DEVO_SUPPORT) $(GDB_SUPPORT_DIRS); do \
1331 ln -s ../$$i . ; \
1332 done)
1333 # Put only one copy (four hard links) of COPYING in the tar file.
1334 rm proto-toplev/bfd/COPYING
1335 ln proto-toplev/gdb/COPYING proto-toplev/bfd/COPYING
1336 rm proto-toplev/include/COPYING
1337 ln proto-toplev/gdb/COPYING proto-toplev/include/COPYING
1338 rm proto-toplev/readline/COPYING
1339 ln proto-toplev/gdb/COPYING proto-toplev/readline/COPYING
1340 # Take out texinfo from configurable dirs
1341 rm proto-toplev/configure.in
1342 sed '/^configdirs=/s/texinfo //' <configure.in >proto-toplev/configure.in
1343 # Take out glob from buildable dirs
1344 rm proto-toplev/Makefile.in
1345
1346 sed -e '/^SUBDIRS =/s/glob //' \
1347 -e '/^all\.normal: /s/\all-texinfo //' \
1348 -e '/^clean: /s/clean-texinfo //' \
1349 -e '/^install\.all: /s/install-texinfo //' \
1350 <Makefile.in >proto-toplev/Makefile.in
1351
1352 mkdir proto-toplev/texinfo
1353 mkdir proto-toplev/texinfo/fsf
1354 ln -s ../../../texinfo/fsf/texinfo.tex proto-toplev/texinfo/fsf/
1355 chmod og=u `find proto-toplev -print`
1356 (VER=`sed <gdb/Makefile.in -n 's/VERSION = //p'`; \
1357 echo "==> Making gdb-$$VER.tar.Z"; \
1358 ln -s proto-toplev gdb-$$VER; \
1359 tar cfh - gdb-$$VER \
1360 | compress -v >gdb-$$VER.tar.Z)
1361
1362
1363 # end of Makefile.in
This page took 0.053262 seconds and 3 git commands to generate.