Changeset 1394 for trunk/src/gcc/Makefile.in
- Timestamp:
- Apr 28, 2004, 6:58:06 AM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gcc/Makefile.in
-
Property cvs2svn:cvs-rev
changed from
1.2
to1.3
r1393 r1394 1 2 # Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'. 1 3 # 2 4 # Makefile for directory with subdirs to build. 3 5 # Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 4 # 1999, 2000, 2001 Free Software Foundation6 # 1999, 2000, 2001, 2002 Free Software Foundation 5 7 # 6 8 # This file is free software; you can redistribute it and/or modify … … 25 27 $(NOTPARALLEL): 26 28 27 srcdir = .28 29 prefix = /usr/local30 exec_prefix = $(prefix)31 32 bindir =${exec_prefix}/bin33 sbindir =${exec_prefix}/sbin34 libexecdir =${exec_prefix}/libexec35 datadir =${prefix}/share36 sysconfdir =${prefix}/etc37 sharedstatedir =${prefix}/com38 localstatedir =${prefix}/var39 libdir =${exec_prefix}/lib40 includedir =${prefix}/include41 oldincludedir =/usr/include42 infodir =${prefix}/info43 mandir =${prefix}/man44 gxx_include_dir= ${includedir}/g++45 46 tooldir = $(exec_prefix)/$(target_alias)47 build_tooldir = $(exec_prefix)/$(target_alias)48 49 program_transform_name = 29 srcdir = @srcdir@ 30 31 prefix = @prefix@ 32 exec_prefix = @exec_prefix@ 33 34 bindir = @bindir@ 35 sbindir = @sbindir@ 36 libexecdir = @libexecdir@ 37 datadir = @datadir@ 38 sysconfdir = @sysconfdir@ 39 sharedstatedir = @sharedstatedir@ 40 localstatedir = @localstatedir@ 41 libdir = @libdir@ 42 includedir = @includedir@ 43 oldincludedir = @oldincludedir@ 44 infodir = @infodir@ 45 mandir = @mandir@ 46 gxx_include_dir=@gxx_include_dir@ 47 48 tooldir = @tooldir@ 49 build_tooldir = @build_tooldir@ 50 51 program_transform_name = @program_transform_name@ 50 52 51 53 man1dir = $(mandir)/man1 … … 58 60 man8dir = $(mandir)/man8 59 61 man9dir = $(mandir)/man9 60 infodir = $(prefix)/info61 includedir = $(prefix)/include62 62 # Directory in which the compiler finds executables, libraries, etc. 63 63 libsubdir = $(libdir)/gcc-lib/$(target_alias)/$(gcc_version) 64 64 GDB_NLM_DEPS = 65 65 66 SHELL = /bin/sh 66 SHELL = @config_shell@ 67 68 # pwd command to use. Allow user to override default by setting PWDCMD in 69 # the environment to account for automounters. The make variable must not 70 # be called PWDCMD, otherwise the value set here is passed to make 71 # subprocesses and overrides the setting from the user's environment. 72 # Don't use PWD since it is a common shell environment variable and we 73 # don't want to corrupt it. 74 PWD_COMMAND = $${PWDCMD-pwd} 67 75 68 76 # INSTALL_PROGRAM_ARGS is changed by configure.in to use -x for a … … 85 93 # here so that they can be overridden by Makefile fragments. 86 94 HOST_CC = $(CC_FOR_BUILD) 87 HOST_PREFIX = 88 HOST_PREFIX_1 = loser-95 BUILD_PREFIX = 96 BUILD_PREFIX_1 = loser- 89 97 90 98 # These flag values are normally overridden by the configure script. … … 119 127 LD = ld 120 128 121 BZIPPROG = bzip2122 MD5PROG = md5sum123 124 129 # These values are substituted by configure. 125 DEFAULT_YACC = yacc126 DEFAULT_LEX = lex127 DEFAULT_M4 = m4130 DEFAULT_YACC = @DEFAULT_YACC@ 131 DEFAULT_LEX = @DEFAULT_LEX@ 132 DEFAULT_M4 = @DEFAULT_M4@ 128 133 129 134 BISON = `if [ -f $$r/bison/bison ] ; then \ … … 149 154 else echo ${DEFAULT_M4} ; fi` 150 155 151 # For an installed makeinfo, we require it to be from texinfo 4 or156 # For an installed makeinfo, we require it to be from texinfo 4.2 or 152 157 # higher, else we use the "missing" dummy. 153 158 MAKEINFO = `if [ -f $$r/texinfo/makeinfo/makeinfo ] ; \ 154 159 then echo $$r/texinfo/makeinfo/makeinfo ; \ 155 160 else if (makeinfo --version \ 156 | egrep 'texinfo[^0-9]*([1-3][0-9]| [4-9])') >/dev/null 2>&1; \161 | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[2-9]|[5-9])') >/dev/null 2>&1; \ 157 162 then echo makeinfo; else echo $$s/missing makeinfo; fi; fi` 158 163 … … 160 165 # sub-makes. It lets flags be given on the command line while still 161 166 # using the makeinfo from the object tree. 162 MAKEINFOFLAGS = 167 # (Default to avoid splitting info files.) 168 MAKEINFOFLAGS = --no-split 163 169 164 170 EXPECT = `if [ -f $$r/expect/expect ] ; \ … … 176 182 CXX_FOR_BUILD = $(CXX) 177 183 178 SUBDIRS = "this is set via configure, don't edit this" 179 OTHERS = 184 SUBDIRS = @configdirs@ 180 185 181 186 # This is set by the configure script to the list of directories which 182 187 # should be built using the target tools. 183 TARGET_CONFIGDIRS = libiberty libgloss $(SPECIAL_LIBS) newlib librx winsup opcodes bsp libstub cygmon libf2c libobjc188 TARGET_CONFIGDIRS = @target_configdirs@ 184 189 185 190 # Target libraries are put under this directory: 186 191 # Changed by configure to $(target_alias) if cross. 187 TARGET_SUBDIR = .192 TARGET_SUBDIR = @target_subdir@ 188 193 189 194 BUILD_CONFIGDIRS = libiberty 190 BUILD_SUBDIR = .195 BUILD_SUBDIR = @build_subdir@ 191 196 192 197 # This is set by the configure script to the arguments to use when configuring 193 198 # directories built for the target. 194 TARGET_CONFIGARGS = 199 TARGET_CONFIGARGS = @target_configargs@ 195 200 196 201 # This is set by the configure script to the arguments to use when configuring 197 202 # directories built for the build system. 198 BUILD_CONFIGARGS = 203 BUILD_CONFIGARGS = @build_configargs@ 199 204 200 205 # This is set by configure to REALLY_SET_LIB_PATH if --enable-shared 201 206 # was used. 202 SET_LIB_PATH = 207 SET_LIB_PATH = @SET_LIB_PATH@ 203 208 204 209 # This is the name of the environment variable used for the path to 205 210 # the libraries. This may be changed by configure.in. 206 RPATH_ENVVAR = LD_LIBRARY_PATH211 RPATH_ENVVAR = @RPATH_ENVVAR@ 207 212 208 213 # This is the list of directories that may be needed in RPATH_ENVVAR … … 236 241 237 242 # Should be substed by configure.in 238 FLAGS_FOR_TARGET = 239 CC_FOR_TARGET = 240 CXX_FOR_TARGET = 241 CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = 242 GCJ_FOR_TARGET = 243 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@ 244 CC_FOR_TARGET = @CC_FOR_TARGET@ 245 CXX_FOR_TARGET = @CXX_FOR_TARGET@ 246 CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@ 247 GCJ_FOR_TARGET = @GCJ_FOR_TARGET@ 243 248 244 249 # If GCC_FOR_TARGET is not overriden on the command line, then this … … 246 251 # build libgcc2.a. We define it here so that it can itself be 247 252 # overridden on the command line. 248 GCC_FOR_TARGET = $ $r/gcc/xgcc -B$$r/gcc/ $(FLAGS_FOR_TARGET)253 GCC_FOR_TARGET = $(STAGE_CC_WRAPPER) $$r/gcc/xgcc -B$$r/gcc/ $(FLAGS_FOR_TARGET) 249 254 250 255 AS_FOR_TARGET = ` \ … … 486 491 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \ 487 492 'HOST_CC=$(CC_FOR_BUILD)' \ 488 ' HOST_PREFIX=$(HOST_PREFIX)' \489 ' HOST_PREFIX_1=$(HOST_PREFIX_1)' \493 'BUILD_PREFIX=$(BUILD_PREFIX)' \ 494 'BUILD_PREFIX_1=$(BUILD_PREFIX_1)' \ 490 495 'NM=$(NM)' \ 491 496 "`echo 'RANLIB=$(RANLIB)' | sed -e s/.*=$$/XFOO=/`" \ … … 496 501 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s/.*=$$/XFOO=/`" \ 497 502 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s/.*=$$/XFOO=/`" \ 498 "`echo 'LIBGCC1_TEST=$(LIBGCC1_TEST)' | sed -e s/.*=$$/XFOO=/`" \499 503 "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s/.*=$$/XFOO=/`" \ 500 504 "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s/.*=$$/XFOO=/`" \ … … 511 515 ALL_BUILD_MODULES_LIST = \ 512 516 all-build-libiberty 513 ALL_BUILD_MODULES = 517 ALL_BUILD_MODULES = @all_build_modules@ 514 518 515 519 # This is a list of the configure targets for all of the modules which … … 521 525 # using $(FLAGS_TO_PASS). 522 526 ALL_MODULES = \ 523 all-apache \524 527 all-ash \ 525 528 all-autoconf \ … … 527 530 all-bash \ 528 531 all-bfd \ 532 all-opcodes \ 529 533 all-binutils \ 530 534 all-bison \ 531 535 all-byacc \ 532 536 all-bzip2 \ 533 all-cgen \534 all-cvssrc \535 537 all-db \ 536 538 all-dejagnu \ … … 549 551 all-gprof \ 550 552 all-grep \ 551 all-grez \552 553 all-gzip \ 553 554 all-hello \ 554 555 all-indent \ 555 all-inet \556 556 all-intl \ 557 all- ispell \557 all-tcl \ 558 558 all-itcl \ 559 559 all-ld \ … … 564 564 all-make \ 565 565 all-mmalloc \ 566 all-opcodes \567 566 all-patch \ 568 567 all-perl \ … … 579 578 all-snavigator \ 580 579 all-tar \ 581 all-tcl \582 all-tcl8.1 \583 580 all-texinfo \ 584 581 all-textutils \ 585 all-tgas \586 582 all-time \ 587 583 all-uudecode \ … … 605 601 606 602 CROSS_CHECK_MODULES = \ 607 check-apache \608 603 check-ash \ 609 604 check-autoconf \ … … 611 606 check-bash \ 612 607 check-bfd \ 608 check-opcodes \ 613 609 check-binutils \ 614 610 check-bzip2 \ 615 check-cgen \616 check-cvssrc \617 611 check-db \ 618 612 check-dejagnu \ … … 631 625 check-hello \ 632 626 check-indent \ 633 check-inet \634 627 check-intl \ 635 check- ispell \628 check-tcl \ 636 629 check-itcl \ 637 630 check-ld \ … … 641 634 check-m4 \ 642 635 check-make \ 643 check-mmcheckoc \644 check-opcodes \645 636 check-patch \ 646 637 check-perl \ … … 652 643 check-send-pr \ 653 644 check-shellutils \ 654 check-snavigator \655 645 check-sid \ 656 646 check-sim \ 647 check-snavigator \ 657 648 check-tar \ 658 check-tcl \659 649 check-texinfo \ 660 650 check-textutils \ 661 check-tgas \662 651 check-time \ 663 652 check-uudecode \ … … 669 658 # This is a list of the install targets for all of the modules which are 670 659 # compiled using $(FLAGS_TO_PASS). 671 # We put install-opcodes before install-binutils because the installed672 # binutils might be on PATH, and they might need the shared opcodes673 # library.674 # We put install-tcl before install-itcl because itcl wants to run a675 # program on installation which uses the Tcl libraries.676 660 INSTALL_MODULES = \ 677 install-apache \678 661 install-ash \ 679 662 install-autoconf \ … … 681 664 install-bash \ 682 665 install-bfd \ 683 install-bzip2 \684 666 install-opcodes \ 685 667 install-binutils \ 686 668 install-bison \ 687 669 install-byacc \ 688 install-cgen \ 689 install-cvssrc \ 670 install-bzip2 \ 690 671 install-db \ 691 672 install-dejagnu \ … … 704 685 install-gprof \ 705 686 install-grep \ 706 install-grez \707 687 install-gzip \ 708 688 install-hello \ 709 689 install-indent \ 710 install-inet \711 690 install-intl \ 712 install-ispell \713 691 install-tcl \ 714 install-tcl8.1 \715 692 install-itcl \ 716 693 install-ld \ … … 735 712 install-tar \ 736 713 install-textutils \ 737 install-tgas \738 714 install-time \ 739 715 install-uudecode \ … … 745 721 # using $(X11_FLAGS_TO_PASS). 746 722 ALL_X11_MODULES = \ 747 all-emacs \748 all-emacs19 \749 723 all-gdb \ 750 724 all-expect \ 751 all-gash \752 725 all-guile \ 753 726 all-tclX \ 754 727 all-tk \ 755 all-tk8.1 \756 728 all-tix 757 729 … … 759 731 # compiled using $(X11_FLAGS_TO_PASS). 760 732 CHECK_X11_MODULES = \ 761 check-emacs \762 733 check-gdb \ 763 734 check-guile \ 764 735 check-expect \ 765 check-gash \766 736 check-tclX \ 767 737 check-tk \ … … 771 741 # compiled using $(X11_FLAGS_TO_PASS). 772 742 INSTALL_X11_MODULES = \ 773 install-emacs \774 install-emacs19 \775 743 install-gdb \ 776 744 install-guile \ 777 745 install-expect \ 778 install-gash \779 746 install-tclX \ 780 747 install-tk \ 781 install-tk8.1 \782 748 install-tix 783 749 … … 786 752 ALL_TARGET_MODULES = \ 787 753 all-target-libstdc++-v3 \ 788 all-target-librx \789 754 all-target-newlib \ 790 755 all-target-libf2c \ … … 796 761 all-target-gperf \ 797 762 all-target-examples \ 798 all-target-libstub \799 763 all-target-libffi \ 800 764 all-target-libjava \ … … 802 766 all-target-boehm-gc \ 803 767 all-target-qthreads \ 804 all-target-bsp \ 805 all-target-cygmon 768 all-target-rda 806 769 807 770 # This is a list of the configure targets for all of the modules which … … 809 772 CONFIGURE_TARGET_MODULES = \ 810 773 configure-target-libstdc++-v3 \ 811 configure-target-librx \812 774 configure-target-newlib \ 813 775 configure-target-libf2c \ … … 819 781 configure-target-gperf \ 820 782 configure-target-examples \ 821 configure-target-libstub \822 783 configure-target-libffi \ 823 784 configure-target-libjava \ … … 825 786 configure-target-boehm-gc \ 826 787 configure-target-qthreads \ 827 configure-target-bsp \ 828 configure-target-cygmon 788 configure-target-rda 829 789 830 790 # This is a list of the check targets for all of the modules which are … … 837 797 check-target-winsup \ 838 798 check-target-libiberty \ 799 check-target-gperf \ 839 800 check-target-libffi \ 840 801 check-target-libjava \ … … 842 803 check-target-boehm-gc \ 843 804 check-target-qthreads \ 844 check-target- gperf805 check-target-rda 845 806 846 807 # This is a list of the install targets for all of the modules which are … … 855 816 install-target-libgloss \ 856 817 install-target-libiberty \ 857 install-target-bsp \ 818 install-target-gperf \ 819 install-target-libffi \ 858 820 install-target-libjava \ 859 821 install-target-zlib \ 860 822 install-target-boehm-gc \ 861 823 install-target-qthreads \ 862 install-target- gperf824 install-target-rda 863 825 864 826 # This is a list of the targets for which we can do a clean-{target}. 865 827 CLEAN_MODULES = \ 866 clean-apache \867 828 clean-ash \ 868 829 clean-autoconf \ … … 870 831 clean-bash \ 871 832 clean-bfd \ 833 clean-opcodes \ 872 834 clean-binutils \ 873 835 clean-bison \ 874 836 clean-byacc \ 875 837 clean-bzip2 \ 876 clean-cgen \877 clean-cvssrc \878 838 clean-db \ 879 839 clean-dejagnu \ … … 892 852 clean-gprof \ 893 853 clean-grep \ 894 clean-grez \895 854 clean-gzip \ 896 855 clean-hello \ 897 856 clean-indent \ 898 clean-inet \899 857 clean-intl \ 900 clean- ispell \858 clean-tcl \ 901 859 clean-itcl \ 902 860 clean-ld \ … … 907 865 clean-make \ 908 866 clean-mmalloc \ 909 clean-opcodes \910 867 clean-patch \ 911 868 clean-perl \ … … 922 879 clean-snavigator \ 923 880 clean-tar \ 924 clean-tcl \925 881 clean-texinfo \ 926 882 clean-textutils \ 927 clean-tgas \928 883 clean-time \ 929 884 clean-uudecode \ … … 935 890 CLEAN_TARGET_MODULES = \ 936 891 clean-target-libstdc++-v3 \ 937 clean-target-librx \938 892 clean-target-newlib \ 939 893 clean-target-libf2c \ … … 944 898 clean-target-gperf \ 945 899 clean-target-examples \ 946 clean-target-libstub \947 900 clean-target-libffi \ 948 901 clean-target-libjava \ … … 950 903 clean-target-boehm-gc \ 951 904 clean-target-qthreads \ 952 clean-target-bsp \ 953 clean-target-cygmon 905 clean-target-rda 954 906 955 907 # All of the x11 modules that can be cleaned 956 908 CLEAN_X11_MODULES = \ 957 clean-emacs \958 clean-emacs19 \959 909 clean-gdb \ 960 910 clean-expect \ 961 clean-gash \962 911 clean-guile \ 963 912 clean-tclX \ … … 994 943 $(DO_X): 995 944 @target=`echo $@ | sed -e 's/^do-//'`; \ 996 r=` pwd`; export r; \997 s=`cd $(srcdir); pwd`; export s; \945 r=`${PWD_COMMAND}`; export r; \ 946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 998 947 $(SET_LIB_PATH) \ 999 948 for i in $(SUBDIRS) -dummy-; do \ … … 1021 970 done 1022 971 @target=`echo $@ | sed -e 's/^do-//'`; \ 1023 r=` pwd`; export r; \1024 s=`cd $(srcdir); pwd`; export s; \972 r=`${PWD_COMMAND}`; export r; \ 973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 1025 974 $(SET_LIB_PATH) \ 1026 975 for i in $(TARGET_CONFIGDIRS) -dummy-; do \ … … 1052 1001 1053 1002 install-info: do-install-info dir.info 1054 s=`cd $(srcdir); pwd`; export s; \1003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 1055 1004 if [ -f dir.info ] ; then \ 1056 1005 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \ … … 1087 1036 @dir=`echo $@ | sed -e 's/clean-//'`; \ 1088 1037 if [ -f ./$${dir}/Makefile ] ; then \ 1089 r=` pwd`; export r; \1090 s=`cd $(srcdir); pwd`; export s; \1038 r=`${PWD_COMMAND}`; export r; \ 1039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 1091 1040 $(SET_LIB_PATH) \ 1092 1041 (cd $${dir}; $(MAKE) $(FLAGS_TO_PASS) clean); \ … … 1100 1049 rm -f $(TARGET_SUBDIR)/$${dir}/multilib.out $(TARGET_SUBDIR)/$${dir}/tmpmulti.out; \ 1101 1050 if [ -f $(TARGET_SUBDIR)/$${dir}/Makefile ] ; then \ 1102 r=` pwd`; export r; \1103 s=`cd $(srcdir); pwd`; export s; \1051 r=`${PWD_COMMAND}`; export r; \ 1052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 1104 1053 $(SET_LIB_PATH) \ 1105 1054 (cd $(TARGET_SUBDIR)/$${dir}; $(MAKE) $(TARGET_FLAGS_TO_PASS) clean); \ … … 1174 1123 install.all: install-no-fixedincludes 1175 1124 @if [ -f ./gcc/Makefile ] ; then \ 1176 r=` pwd` ; export r ; \1125 r=`${PWD_COMMAND}` ; export r ; \ 1177 1126 $(SET_LIB_PATH) \ 1178 1127 (cd ./gcc; \ … … 1181 1130 true ; \ 1182 1131 fi 1183 1184 # inet-install is used because the I*Net wants DejaGNU installed but1185 # not built. Similarly, gzip is built but not installed.1186 inet-install:1187 $(MAKE) INSTALL_MODULES="`echo $(INSTALL_MODULES) | sed -e 's/install-dejagnu//' -e 's/install-gzip//'`" install1188 1132 1189 1133 # install-no-fixedincludes is used because Cygnus can not distribute … … 1209 1153 touch gcc/stmp-fixinc gcc/include/fixed; \ 1210 1154 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \ 1211 r=` pwd`; export r; \1212 s=`cd $(srcdir); pwd` ; export s; \1155 r=`${PWD_COMMAND}`; export r; \ 1156 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \ 1213 1157 $(SET_LIB_PATH) \ 1214 1158 (cd ./gcc; \ … … 1224 1168 dir=`echo $@ | sed -e 's/all-build-//'`; \ 1225 1169 if [ -f ./$${dir}/Makefile ] ; then \ 1226 r=` pwd`; export r; \1227 s=`cd $(srcdir); pwd`; export s; \1170 r=`${PWD_COMMAND}`; export r; \ 1171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 1228 1172 (cd $(BUILD_SUBDIR)/$${dir} && $(MAKE) all); \ 1229 1173 else \ … … 1243 1187 if [ -d $(srcdir)/$${dir} ]; then \ 1244 1188 [ -d $(BUILD_SUBDIR)/$${dir} ] || mkdir $(BUILD_SUBDIR)/$${dir};\ 1245 r=` pwd`; export r; \1246 s=`cd $(srcdir); pwd`; export s; \1189 r=`${PWD_COMMAND}`; export r; \ 1190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 1247 1191 AR="$(AR_FOR_BUILD)"; export AR; \ 1248 1192 AS="$(AS_FOR_BUILD)"; export AS; \ … … 1320 1264 # This rule is used to build the modules which use FLAGS_TO_PASS. To 1321 1265 # build a target all-X means to cd to X and make all. 1322 # 1323 # all-gui, and all-libproc are handled specially because 1324 # they are still experimental, and if they fail to build, that 1325 # shouldn't stop "make all". 1326 .PHONY: $(ALL_MODULES) all-gui all-libproc 1327 $(ALL_MODULES) all-gui all-libproc: 1266 .PHONY: $(ALL_MODULES) 1267 $(ALL_MODULES): 1328 1268 @dir=`echo $@ | sed -e 's/all-//'`; \ 1329 1269 if [ -f ./$${dir}/Makefile ] ; then \ 1330 r=` pwd`; export r; \1331 s=`cd $(srcdir); pwd`; export s; \1270 r=`${PWD_COMMAND}`; export r; \ 1271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 1332 1272 $(SET_LIB_PATH) \ 1333 1273 (cd $${dir}; $(MAKE) $(FLAGS_TO_PASS) all); \ … … 1345 1285 dir=`echo $@ | sed -e 's/check-//'`; \ 1346 1286 if [ -f ./$${dir}/Makefile ] ; then \ 1347 r=` pwd`; export r; \1348 s=`cd $(srcdir); pwd`; export s; \1287 r=`${PWD_COMMAND}`; export r; \ 1288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 1349 1289 $(SET_LIB_PATH) \ 1350 1290 (cd $${dir}; $(MAKE) $(FLAGS_TO_PASS) check); \ … … 1357 1297 @dir=`echo $@ | sed -e 's/check-//'`; \ 1358 1298 if [ -f ./$${dir}/Makefile ] ; then \ 1359 r=` pwd`; export r; \1360 s=`cd $(srcdir); pwd`; export s; \1299 r=`${PWD_COMMAND}`; export r; \ 1300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 1361 1301 $(SET_LIB_PATH) \ 1362 1302 (cd $${dir}; $(MAKE) $(FLAGS_TO_PASS) check); \ … … 1371 1311 @dir=`echo $@ | sed -e 's/install-//'`; \ 1372 1312 if [ -f ./$${dir}/Makefile ] ; then \ 1373 r=` pwd`; export r; \1374 s=`cd $(srcdir); pwd`; export s; \1313 r=`${PWD_COMMAND}`; export r; \ 1314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 1375 1315 $(SET_LIB_PATH) \ 1376 1316 (cd $${dir}; $(MAKE) $(FLAGS_TO_PASS) install); \ … … 1385 1325 @dir=`echo $@ | sed -e 's/configure-target-//'`; \ 1386 1326 if [ -d $(TARGET_SUBDIR)/$${dir} ]; then \ 1387 r=` pwd`; export r; \1327 r=`${PWD_COMMAND}`; export r; \ 1388 1328 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/$${dir}/tmpmulti.out 2> /dev/null; \ 1389 1329 if [ -s $(TARGET_SUBDIR)/$${dir}/tmpmulti.out ]; then \ … … 1409 1349 if [ -d $(srcdir)/$${dir} ]; then \ 1410 1350 [ -d $(TARGET_SUBDIR)/$${dir} ] || mkdir $(TARGET_SUBDIR)/$${dir};\ 1411 r=` pwd`; export r; \1412 s=`cd $(srcdir); pwd`; export s; \1351 r=`${PWD_COMMAND}`; export r; \ 1352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 1413 1353 $(SET_LIB_PATH) \ 1414 1354 AR="$(AR_FOR_TARGET)"; export AR; \ … … 1491 1431 @dir=`echo $@ | sed -e 's/all-target-//'`; \ 1492 1432 if [ -f $(TARGET_SUBDIR)/$${dir}/Makefile ] ; then \ 1493 r=` pwd`; export r; \1494 s=`cd $(srcdir); pwd`; export s; \1433 r=`${PWD_COMMAND}`; export r; \ 1434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 1495 1435 $(SET_LIB_PATH) \ 1496 1436 (cd $(TARGET_SUBDIR)/$${dir}; \ … … 1506 1446 @dir=`echo $@ | sed -e 's/check-target-//'`; \ 1507 1447 if [ -f $(TARGET_SUBDIR)/$${dir}/Makefile ] ; then \ 1508 r=` pwd`; export r; \1509 s=`cd $(srcdir); pwd`; export s; \1448 r=`${PWD_COMMAND}`; export r; \ 1449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 1510 1450 $(SET_LIB_PATH) \ 1511 1451 (cd $(TARGET_SUBDIR)/$${dir}; \ … … 1522 1462 @dir=`echo $@ | sed -e 's/install-target-//'`; \ 1523 1463 if [ -f $(TARGET_SUBDIR)/$${dir}/Makefile ] ; then \ 1524 r=` pwd`; export r; \1525 s=`cd $(srcdir); pwd`; export s; \1464 r=`${PWD_COMMAND}`; export r; \ 1465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 1526 1466 $(SET_LIB_PATH) \ 1527 1467 (cd $(TARGET_SUBDIR)/$${dir}; \ … … 1537 1477 @dir=`echo $@ | sed -e 's/all-//'`; \ 1538 1478 if [ -f ./$${dir}/Makefile ] ; then \ 1539 r=` pwd`; export r; \1540 s=`cd $(srcdir); pwd`; export s; \1479 r=`${PWD_COMMAND}`; export r; \ 1480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 1541 1481 $(SET_LIB_PATH) \ 1542 1482 (cd $${dir}; \ … … 1552 1492 @dir=`echo $@ | sed -e 's/check-//'`; \ 1553 1493 if [ -f ./$${dir}/Makefile ] ; then \ 1554 r=` pwd`; export r; \1555 s=`cd $(srcdir); pwd`; export s; \1494 r=`${PWD_COMMAND}`; export r; \ 1495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 1556 1496 $(SET_LIB_PATH) \ 1557 1497 (cd $${dir}; \ … … 1567 1507 @dir=`echo $@ | sed -e 's/install-//'`; \ 1568 1508 if [ -f ./$${dir}/Makefile ] ; then \ 1569 r=` pwd`; export r; \1570 s=`cd $(srcdir); pwd`; export s; \1509 r=`${PWD_COMMAND}`; export r; \ 1510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 1571 1511 $(SET_LIB_PATH) \ 1572 1512 (cd $${dir}; \ … … 1580 1520 all-gcc: 1581 1521 @if [ -f ./gcc/Makefile ] ; then \ 1582 r=` pwd`; export r; \1583 s=`cd $(srcdir); pwd`; export s; \1522 r=`${PWD_COMMAND}`; export r; \ 1523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 1584 1524 $(SET_LIB_PATH) \ 1585 1525 (cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) all); \ … … 1598 1538 # in parallel. 1599 1539 # 1600 .PHONY: bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean 1601 bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean : all-bootstrap1602 @r=` pwd`; export r; \1603 s=`cd $(srcdir); pwd`; export s; \1540 .PHONY: bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap 1541 bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap: all-bootstrap 1542 @r=`${PWD_COMMAND}`; export r; \ 1543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 1604 1544 $(SET_LIB_PATH) \ 1605 1545 echo "Bootstrapping the compiler"; \ 1606 1546 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@ 1607 @r=` pwd`; export r; \1608 s=`cd $(srcdir); pwd`; export s; \1547 @r=`${PWD_COMMAND}`; export r; \ 1548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 1609 1549 case "$@" in \ 1610 1550 *bootstrap4-lean ) \ … … 1621 1561 echo "$$msg"; \ 1622 1562 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare 1623 @r=` pwd`; export r; \1624 s=`cd $(srcdir); pwd` ; export s; \1563 @r=`${PWD_COMMAND}`; export r; \ 1564 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \ 1625 1565 $(SET_LIB_PATH) \ 1626 1566 echo "Building runtime libraries"; \ … … 1629 1569 .PHONY: cross 1630 1570 cross: all-texinfo all-bison all-byacc all-binutils all-gas all-ld 1631 @r=` pwd`; export r; \1632 s=`cd $(srcdir); pwd`; export s; \1571 @r=`${PWD_COMMAND}`; export r; \ 1572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 1633 1573 $(SET_LIB_PATH) \ 1634 1574 echo "Building the C and C++ compiler"; \ 1635 1575 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++" 1636 @r=` pwd`; export r; \1637 s=`cd $(srcdir); pwd` ; export s; \1576 @r=`${PWD_COMMAND}`; export r; \ 1577 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \ 1638 1578 $(SET_LIB_PATH) \ 1639 1579 echo "Building runtime libraries"; \ … … 1644 1584 check-gcc: 1645 1585 @if [ -f ./gcc/Makefile ] ; then \ 1646 r=` pwd`; export r; \1647 s=`cd $(srcdir); pwd`; export s; \1586 r=`${PWD_COMMAND}`; export r; \ 1587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 1648 1588 $(SET_LIB_PATH) \ 1649 1589 (cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) check); \ … … 1652 1592 fi 1653 1593 1594 .PHONY: check-gcc-c++ 1595 check-gcc-c++: 1596 @if [ -f ./gcc/Makefile ] ; then \ 1597 r=`${PWD_COMMAND}`; export r; \ 1598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 1599 $(SET_LIB_PATH) \ 1600 (cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \ 1601 else \ 1602 true; \ 1603 fi 1604 1654 1605 .PHONY: check-c++ 1655 1606 check-c++: 1656 @if [ -f ./gcc/Makefile ] ; then \ 1657 r=`pwd`; export r; \ 1658 s=`cd $(srcdir); pwd`; export s; \ 1659 $(SET_LIB_PATH) \ 1660 (cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \ 1661 $(MAKE) check-target-libstdc++-v3; \ 1662 else \ 1663 true; \ 1664 fi 1607 $(MAKE) check-target-libstdc++-v3 check-gcc-c++ NOTPARALLEL=parallel-ok 1665 1608 1666 1609 .PHONY: install-gcc 1667 1610 install-gcc: 1668 1611 @if [ -f ./gcc/Makefile ] ; then \ 1669 r=` pwd`; export r; \1670 s=`cd $(srcdir); pwd`; export s; \1612 r=`${PWD_COMMAND}`; export r; \ 1613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 1671 1614 $(SET_LIB_PATH) \ 1672 1615 (cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) install); \ … … 1678 1621 install-gcc-cross: 1679 1622 @if [ -f ./gcc/Makefile ] ; then \ 1680 r=` pwd`; export r; \1681 s=`cd $(srcdir); pwd`; export s; \1623 r=`${PWD_COMMAND}`; export r; \ 1624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 1682 1625 $(SET_LIB_PATH) \ 1683 1626 (cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++" install); \ … … 1692 1635 @dir=`echo $@ | sed -e 's/install-//'`; \ 1693 1636 if [ -f ./$${dir}/Makefile ] ; then \ 1694 r=` pwd`; export r; \1695 s=`cd $(srcdir); pwd`; export s; \1637 r=`${PWD_COMMAND}`; export r; \ 1638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 1696 1639 $(SET_LIB_PATH) \ 1697 1640 (cd $${dir}; $(MAKE) $(FLAGS_TO_PASS) install); \ … … 1707 1650 1708 1651 # This is a list of inter-dependencies among modules. 1709 all-apache:1710 1652 all-ash: 1711 1653 all-autoconf: all-m4 all-texinfo … … 1716 1658 all-bison: all-texinfo 1717 1659 configure-target-boehm-gc: $(ALL_GCC_C) configure-target-qthreads 1718 all-target-boehm-gc: configure-target-boehm-gc1719 configure-target-bsp: $(ALL_GCC_C)1720 all-target-bsp: configure-target-bsp1721 1660 all-byacc: 1722 1661 all-bzip2: 1723 all-cgen: all-libiberty1724 all-cvssrc:1725 configure-target-cygmon: $(ALL_GCC_C)1726 all-target-cygmon: configure-target-cygmon all-target-libiberty all-target-libstub all-target-bsp1727 1662 all-db: 1728 1663 all-dejagnu: all-tcl all-expect all-tk 1729 1664 all-diff: all-libiberty 1730 all-emacs:1731 all-emacs19: all-bison all-byacc1732 1665 all-etc: 1733 1666 configure-target-examples: $(ALL_GCC_C) 1734 all-target-examples: configure-target-examples1735 1667 all-expect: all-tcl all-tk 1736 1668 all-fileutils: all-libiberty … … 1739 1671 all-flex: all-libiberty all-bison all-byacc 1740 1672 all-gas: all-libiberty all-opcodes all-bfd all-intl 1741 all-gash: all-tcl1742 1673 all-gawk: 1743 1674 all-gcc: all-bison all-byacc all-binutils all-gas all-ld all-zlib 1744 1675 all-bootstrap: all-libiberty all-texinfo all-bison all-byacc all-binutils all-gas all-ld all-zlib 1745 GDB_TK = all-tk all-tcl all-itcl all-tix all-libgui1676 GDB_TK = @GDB_TK@ 1746 1677 all-gdb: all-libiberty all-opcodes all-bfd all-mmalloc all-readline all-bison all-byacc all-sim $(gdbnlmrequirements) $(GDB_TK) 1747 1678 all-gettext: 1748 1679 all-gnuserv: 1749 1680 configure-target-gperf: $(ALL_GCC_CXX) 1750 all-target-gperf: configure-target-gperfall-target-libiberty all-target-libstdc++-v31681 all-target-gperf: all-target-libiberty all-target-libstdc++-v3 1751 1682 all-gprof: all-libiberty all-bfd all-opcodes all-intl 1752 1683 all-grep: all-libiberty 1753 all-grez: all-libiberty all-bfd all-opcodes1754 all-gui: all-gdb all-libproc all-target-librx1755 1684 all-guile: 1756 1685 all-gzip: all-libiberty 1757 1686 all-hello: all-libiberty 1758 1687 all-indent: 1759 all-inet: all-tcl all-send-pr all-perl1760 1688 all-intl: 1761 all-ispell: all-emacs19 1762 all-itcl: all-tcl all-tk all-tcl8.1 all-tk8.1 1689 all-itcl: all-tcl all-tk 1763 1690 all-ld: all-libiberty all-bfd all-opcodes all-bison all-byacc all-flex all-intl 1764 1691 configure-target-libgloss: $(ALL_GCC) 1765 all-target-libgloss: configure-target- libgloss configure-target-newlib1766 all-libgui: all-tcl all-tk all- tcl8.1 all-tk8.1 all-itcl1692 all-target-libgloss: configure-target-newlib 1693 all-libgui: all-tcl all-tk all-itcl 1767 1694 all-libiberty: 1768 1695 1769 1696 all-build-libiberty: configure-build-libiberty 1770 1697 1771 configure-target-libffi: $(ALL_GCC_C) 1772 all-target-libffi: configure-target-libffi 1698 configure-target-libffi: $(ALL_GCC_C) 1773 1699 configure-target-libjava: $(ALL_GCC_C) configure-target-zlib configure-target-boehm-gc configure-target-qthreads configure-target-libffi 1774 all-target-libjava: configure-target-libjava all-fastjar all-target-zlib all-target-boehm-gc all-target-qthreads all-target-libffi 1775 configure-target-librx: $(ALL_GCC_C) 1776 all-target-librx: configure-target-librx 1700 all-target-libjava: all-fastjar all-target-zlib all-target-boehm-gc all-target-qthreads all-target-libffi 1777 1701 configure-target-libstdc++-v3: $(ALL_GCC_C) 1778 all-target-libstdc++-v3: configure-target-libstdc++-v3 all-target-libiberty 1779 configure-target-libstub: $(ALL_GCC_C) 1780 all-target-libstub: configure-target-libstub 1702 all-target-libstdc++-v3: all-target-libiberty 1781 1703 all-libtool: 1782 1704 configure-target-libf2c: $(ALL_GCC_C) 1783 all-target-libf2c: configure-target-libf2call-target-libiberty1705 all-target-libf2c: all-target-libiberty 1784 1706 configure-target-libobjc: $(ALL_GCC_C) 1785 all-target-libobjc: configure-target-libobjcall-target-libiberty1707 all-target-libobjc: all-target-libiberty 1786 1708 all-m4: all-libiberty all-texinfo 1787 1709 all-make: all-libiberty 1788 1710 all-mmalloc: 1789 1711 configure-target-newlib: $(ALL_GCC) 1790 all-target-newlib: configure-target-newlib1791 1712 configure-target-libtermcap: $(ALL_GCC_C) 1792 all-target-libtermcap: configure-target-libtermcap 1793 all-opcodes: all-bfd all-libiberty all-cgen 1713 all-opcodes: all-bfd all-libiberty 1794 1714 all-patch: all-libiberty 1795 1715 all-perl: 1796 1716 all-prms: all-libiberty 1797 1717 configure-target-qthreads: $(ALL_GCC_C) 1798 all-target-qthreads: configure-target-qthreads1799 1718 all-rcs: 1800 1719 all-readline: … … 1804 1723 all-shellutils: 1805 1724 all-sid: all-tcl all-tk 1806 all-sim: all-libiberty all-bfd all-opcodes all-readline all-cgen1807 all-snavigator: all-tcl all-tk all-itcl all- db all-grep all-libgui1725 all-sim: all-libiberty all-bfd all-opcodes all-readline 1726 all-snavigator: all-tcl all-tk all-itcl all-tix all-db all-grep all-libgui 1808 1727 all-tar: all-libiberty 1809 1728 all-tcl: 1810 all-tcl8.1:1811 1729 all-tclX: all-tcl all-tk 1812 1730 all-tk: all-tcl 1813 all-tk8.1: all-tcl8.11814 1731 all-texinfo: all-libiberty 1815 1732 all-textutils: 1816 all-tgas: all-libiberty all-bfd all-opcodes1817 1733 all-time: 1818 all-tix: all-tcl all-tk all-tcl8.1 all-tk8.11734 all-tix: all-tcl all-tk 1819 1735 all-wdiff: 1736 configure-target-rda: $(ALL_GCC_C) 1820 1737 configure-target-winsup: $(ALL_GCC_C) 1821 all-target-winsup: all-target-libiberty all-target-libtermcap configure-target-winsup1738 all-target-winsup: all-target-libiberty all-target-libtermcap 1822 1739 all-uudecode: all-libiberty 1823 1740 all-zip: 1824 1741 all-zlib: 1825 1742 configure-target-zlib: $(ALL_GCC_C) 1826 all-target-zlib: configure-target-zlib1827 1743 all-fastjar: all-zlib all-libiberty 1828 1744 configure-target-fastjar: configure-target-zlib 1829 1745 all-target-fastjar: configure-target-fastjar all-target-zlib all-target-libiberty 1830 1746 configure-target-libiberty: $(ALL_GCC_C) 1831 all-target-libiberty: configure-target-libiberty 1747 configure-target: $(CONFIGURE_TARGET_MODULES) 1832 1748 all-target: $(ALL_TARGET_MODULES) 1833 1749 install-target: $(INSTALL_TARGET_MODULES) 1834 1750 install-gdb: install-tcl install-tk install-itcl install-tix install-libgui 1835 1751 install-sid: install-tcl install-tk 1752 1753 # We put install-opcodes before install-binutils because the installed 1754 # binutils might be on PATH, and they might need the shared opcodes 1755 # library. 1756 install-binutils: install-opcodes 1757 1758 # We put install-tcl before install-itcl because itcl wants to run a 1759 # program on installation which uses the Tcl libraries. 1760 install-itcl: install-tcl 1761 1762 1763 # Dependencies of all-target-foo on configure-target-foo. 1764 all-target-libstdc++-v3: configure-target-libstdc++-v3 1765 all-target-newlib: configure-target-newlib 1766 all-target-libf2c: configure-target-libf2c 1767 all-target-libobjc: configure-target-libobjc 1768 all-target-libtermcap: configure-target-libtermcap 1769 all-target-winsup: configure-target-winsup 1770 all-target-libgloss: configure-target-libgloss 1771 all-target-libiberty: configure-target-libiberty 1772 all-target-gperf: configure-target-gperf 1773 all-target-examples: configure-target-examples 1774 all-target-libffi: configure-target-libffi 1775 all-target-libjava: configure-target-libjava 1776 all-target-zlib: configure-target-zlib 1777 all-target-boehm-gc: configure-target-boehm-gc 1778 all-target-qthreads: configure-target-qthreads 1779 all-target-rda: configure-target-rda 1780 1781 1836 1782 ### other supporting targets 1837 1783 … … 1864 1810 TAGS: do-TAGS 1865 1811 1812 # Rebuilding Makefile.in, using autogen. 1813 $(srcdir)/Makefile.in: # $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def 1814 cd $(srcdir) && autogen Makefile.def 1815 1866 1816 # with the gnu make, this is done automatically. 1867 1817 … … 1870 1820 1871 1821 # 1872 # Support for building net releases1873 1874 # Files in devo used in any net release.1875 # ChangeLog omitted because it may refer to files which are not in this1876 # distribution (perhaps it would be better to include it anyway).1877 DEVO_SUPPORT= README Makefile.in configure configure.in \1878 config.guess config.if config.sub config move-if-change \1879 mpw-README mpw-build.in mpw-config.in mpw-configure mpw-install \1880 COPYING COPYING.LIB install-sh config-ml.in symlink-tree \1881 mkinstalldirs ltconfig ltmain.sh missing ylwrap \1882 libtool.m4 gettext.m4 ltcf-c.sh ltcf-cxx.sh ltcf-gcj.sh1883 1884 # Files in devo/etc used in any net release.1885 # ChangeLog omitted because it may refer to files which are not in this1886 # distribution (perhaps it would be better to include it anyway).1887 ETC_SUPPORT= Makefile.in configure configure.in standards.texi \1888 make-stds.texi standards.info*1889 1890 # When you use `make setup-dirs' or `make taz' you should always redefine1891 # this macro.1892 SUPPORT_FILES = list-of-support-files-for-tool-in-question1893 1894 # NOTE: No double quotes in the below. It is used within shell script1895 # as VER="$(VER)"1896 VER = ` if grep AM_INIT_AUTOMAKE $(TOOL)/configure.in >/dev/null 2>&1; then \1897 sed < $(TOOL)/configure.in -n 's/AM_INIT_AUTOMAKE[^,]*, *\([^)]*\))/\1/p'; \1898 else \1899 sed < $(TOOL)/Makefile.in -n 's/^VERSION *= *//p'; \1900 fi`1901 PACKAGE = $(TOOL)1902 1903 .PHONY: taz1904 taz: $(DEVO_SUPPORT) $(SUPPORT_FILES) texinfo/texinfo.tex1905 $(MAKE) -f Makefile.in do-proto-toplev \1906 TOOL=$(TOOL) PACKAGE="$(PACKAGE)" VER="$(VER)" \1907 MD5PROG="$(MD5PROG)" \1908 SUPPORT_FILES="$(SUPPORT_FILES)"1909 $(MAKE) -f Makefile.in do-md5sum \1910 TOOL=$(TOOL) PACKAGE="$(PACKAGE)" VER="$(VER)" \1911 MD5PROG="$(MD5PROG)" \1912 SUPPORT_FILES="$(SUPPORT_FILES)"1913 $(MAKE) -f Makefile.in do-tar-bz2 \1914 TOOL=$(TOOL) PACKAGE="$(PACKAGE)" VER="$(VER)" \1915 MD5PROG="$(MD5PROG)" \1916 SUPPORT_FILES="$(SUPPORT_FILES)"1917 1918 .PHONY: gdb-taz1919 gdb-taz: $(DEVO_SUPPORT) $(SUPPORT_FILES) texinfo/texinfo.tex1920 $(MAKE) -f Makefile.in do-proto-toplev \1921 TOOL=$(TOOL) PACKAGE="$(PACKAGE)" VER="$(VER)" \1922 MD5PROG="$(MD5PROG)" \1923 SUPPORT_FILES="$(SUPPORT_FILES)"1924 $(MAKE) -f Makefile.in do-md5sum \1925 TOOL=$(TOOL) PACKAGE="$(PACKAGE)" VER="$(VER)" \1926 MD5PROG="$(MD5PROG)" \1927 SUPPORT_FILES="$(SUPPORT_FILES)"1928 $(MAKE) -f Makefile.in do-djunpack \1929 TOOL=$(TOOL) PACKAGE="$(PACKAGE)" VER="$(VER)" \1930 MD5PROG="$(MD5PROG)" \1931 SUPPORT_FILES="$(SUPPORT_FILES)"1932 $(MAKE) -f Makefile.in do-tar-bz2 \1933 TOOL=$(TOOL) PACKAGE="$(PACKAGE)" VER="$(VER)" \1934 MD5PROG="$(MD5PROG)" \1935 SUPPORT_FILES="$(SUPPORT_FILES)"1936 1937 .PHONY: do-proto-toplev1938 do-proto-toplev: $(DEVO_SUPPORT) $(SUPPORT_FILES) texinfo/texinfo.tex1939 echo "==> Making $(PACKAGE)-$(VER)/"1940 # Take out texinfo from a few places.1941 sed -e '/^all\.normal: /s/\all-texinfo //' \1942 -e '/^ install-texinfo /d' \1943 <Makefile.in >tmp1944 mv -f tmp Makefile.in1945 #1946 ./configure sun41947 [ -z "$(CONFIGURE_TARGET_MODULES)" ] \1948 || $(MAKE) $(CONFIGURE_TARGET_MODULES) \1949 ALL_GCC="" ALL_GCC_C="" ALL_GCC_CXX="" \1950 CC_FOR_TARGET="$(CC)" CXX_FOR_TARGET="$(CXX)"1951 # Make links, and run "make diststuff" or "make info" when needed.1952 rm -rf proto-toplev ; mkdir proto-toplev1953 set -e ; dirs="$(TOOL) $(DEVO_SUPPORT) $(SUPPORT_FILES)" ; \1954 for d in $$dirs ; do \1955 if [ -d $$d ]; then \1956 if [ ! -f $$d/Makefile ] ; then true ; \1957 elif grep '^diststuff:' $$d/Makefile >/dev/null ; then \1958 (cd $$d ; $(MAKE) diststuff ) || exit 1 ; \1959 elif grep '^info:' $$d/Makefile >/dev/null ; then \1960 (cd $$d ; $(MAKE) info ) || exit 1 ; \1961 fi ; \1962 if [ -d $$d/proto-$$d.dir ]; then \1963 ln -s ../$$d/proto-$$d.dir proto-toplev/$$d ; \1964 else \1965 ln -s ../$$d proto-toplev/$$d ; \1966 fi ; \1967 else ln -s ../$$d proto-toplev/$$d ; fi ; \1968 done1969 cd etc && $(MAKE) info1970 $(MAKE) distclean1971 #1972 mkdir proto-toplev/etc1973 (cd proto-toplev/etc; \1974 for i in $(ETC_SUPPORT); do \1975 ln -s ../../etc/$$i . ; \1976 done)1977 #1978 # Take out texinfo from configurable dirs1979 rm proto-toplev/configure.in1980 sed -e '/^host_tools=/s/texinfo //' \1981 <configure.in >proto-toplev/configure.in1982 #1983 mkdir proto-toplev/texinfo1984 ln -s ../../texinfo/texinfo.tex proto-toplev/texinfo/1985 if test -r texinfo/util/tex3patch ; then \1986 mkdir proto-toplev/texinfo/util && \1987 ln -s ../../../texinfo/util/tex3patch proto-toplev/texinfo/util ; \1988 else true; fi1989 chmod -R og=u . || chmod og=u `find . -print`1990 #1991 -rm -f $(PACKAGE)-$(VER)1992 ln -s proto-toplev $(PACKAGE)-$(VER)1993 1994 .PHONY: do-tar-bz21995 do-tar-bz2:1996 echo "==> Making $(PACKAGE)-$(VER).tar.bz2"1997 -rm -f $(PACKAGE)-$(VER).tar.bz21998 find $(PACKAGE)-$(VER) -follow -name CVS -prune -o -type f -print \1999 | tar cTfh - $(PACKAGE)-$(VER).tar2000 $(BZIPPROG) -v -9 $(PACKAGE)-$(VER).tar2001 2002 .PHONY: do-md5sum2003 do-md5sum:2004 echo "==> Adding md5 checksum to top-level directory"2005 cd proto-toplev && find * -follow -name CVS -prune -o -type f -print \2006 | xargs $(MD5PROG) > ../md5.sum2007 mv md5.sum proto-toplev2008 2009 .PHONY: do-djunpack2010 do-djunpack:2011 echo "==> Adding updated djunpack.bat to top-level directory"2012 echo - 's /gdb-[0-9\.]*/gdb-'"$(VER)"'/'2013 sed < djunpack.bat > djunpack.new \2014 -e 's/gdb-[0-9][0-9\.]*/gdb-'"$(VER)"'/'2015 mv djunpack.new djunpack.bat2016 -rm -f proto-toplev/djunpack.bat2017 ln -s ../djunpack.bat proto-toplev/djunpack.bat2018 2019 TEXINFO_SUPPORT= texinfo/texinfo.tex2020 DIST_SUPPORT= $(DEVO_SUPPORT) $(TEXINFO_SUPPORT)2021 2022 .PHONY: gas.tar.bz22023 #GAS_SUPPORT_DIRS= bfd include libiberty opcodes intl setup.com makefile.vms mkdep2024 GAS_SUPPORT_DIRS= bfd include libiberty opcodes setup.com makefile.vms mkdep2025 gas.tar.bz2: $(DIST_SUPPORT) $(GAS_SUPPORT_DIRS) gas2026 $(MAKE) -f Makefile.in taz TOOL=gas \2027 MD5PROG="$(MD5PROG)" \2028 SUPPORT_FILES="$(GAS_SUPPORT_DIRS)"2029 2030 # The FSF "binutils" release includes gprof and ld.2031 .PHONY: binutils.tar.bz22032 #BINUTILS_SUPPORT_DIRS= bfd gas include libiberty opcodes ld gprof intl setup.com makefile.vms mkdep2033 BINUTILS_SUPPORT_DIRS= bfd gas include libiberty opcodes ld gprof setup.com makefile.vms mkdep2034 binutils.tar.bz2: $(DIST_SUPPORT) $(BINUTILS_SUPPORT_DIRS) binutils2035 $(MAKE) -f Makefile.in taz TOOL=binutils \2036 MD5PROG="$(MD5PROG)" \2037 SUPPORT_FILES="$(BINUTILS_SUPPORT_DIRS)"2038 2039 .PHONY: gas+binutils.tar.bz22040 GASB_SUPPORT_DIRS= $(GAS_SUPPORT_DIRS) binutils ld gprof2041 gas+binutils.tar.bz2: $(DIST_SUPPORT) $(GASB_SUPPORT_DIRS) gas2042 $(MAKE) -f Makefile.in taz TOOL=gas \2043 MD5PROG="$(MD5PROG)" \2044 SUPPORT_FILES="$(GASB_SUPPORT_DIRS)"2045 2046 GNATS_SUPPORT_DIRS=include libiberty send-pr2047 gnats.tar.bz2: $(DIST_SUPPORT) $(GNATS_SUPPORT_DIRS) gnats2048 $(MAKE) -f Makefile.in taz TOOL=gnats \2049 MD5PROG="$(MD5PROG)" \2050 SUPPORT_FILES="$(GNATS_SUPPORT_DIRS)"2051 2052 .PHONY: gdb.tar.bz22053 #GDB_SUPPORT_DIRS= bfd include libiberty mmalloc opcodes readline sim utils intl2054 GDB_SUPPORT_DIRS= bfd include libiberty mmalloc opcodes readline sim utils2055 gdb.tar.bz2: $(DIST_SUPPORT) $(GDB_SUPPORT_DIRS) gdb2056 $(MAKE) -f Makefile.in gdb-taz TOOL=gdb \2057 MD5PROG="$(MD5PROG)" \2058 SUPPORT_FILES="$(GDB_SUPPORT_DIRS)"2059 2060 .PHONY: dejagnu.tar.bz22061 DEJAGNU_SUPPORT_DIRS= tcl expect libiberty2062 dejagnu.tar.bz2: $(DIST_SUPPORT) $(DEJAGNU_SUPPORT_DIRS) dejagnu2063 $(MAKE) -f Makefile.in taz TOOL=dejagnu \2064 MD5PROG="$(MD5PROG)" \2065 SUPPORT_FILES="$(DEJAGNU_SUPPORT_DIRS)"2066 2067 .PHONY: gdb+dejagnu.tar.bz22068 GDBD_SUPPORT_DIRS= $(GDB_SUPPORT_DIRS) tcl expect dejagnu2069 gdb+dejagnu.tar.bz2: $(DIST_SUPPORT) $(GDBD_SUPPORT_DIRS) gdb2070 $(MAKE) -f Makefile.in gdb-taz TOOL=gdb PACKAGE=gdb+dejagnu \2071 MD5PROG="$(MD5PROG)" \2072 SUPPORT_FILES="$(GDBD_SUPPORT_DIRS)"2073 2074 .PHONY: insight.tar.bz22075 INSIGHT_SUPPORT_DIRS= $(GDB_SUPPORT_DIRS) tcl tk itcl tix libgui2076 insight.tar.bz2: $(DIST_SUPPORT) $(GDB_SUPPORT_DIRS) gdb2077 $(MAKE) -f Makefile.in gdb-taz TOOL=gdb PACKAGE=insight \2078 MD5PROG="$(MD5PROG)" \2079 SUPPORT_FILES="$(INSIGHT_SUPPORT_DIRS)"2080 2081 .PHONY: insight+dejagnu.tar.bz22082 INSIGHTD_SUPPORT_DIRS= $(INSIGHT_SUPPORT_DIRS) expect dejagnu2083 insight+dejagnu.tar.bz2: $(DIST_SUPPORT) $(INSIGHTD_SUPPORT_DIRS) gdb2084 $(MAKE) -f Makefile.in gdb-taz TOOL=gdb PACKAGE="insight+dejagnu" \2085 MD5PROG="$(MD5PROG)" \2086 SUPPORT_FILES="$(INSIGHTD_SUPPORT_DIRS)"2087 2088 .PHONY: newlib.tar.bz22089 NEWLIB_SUPPORT_DIRS=libgloss2090 # taz configures for the sun4 target which won't configure newlib.2091 # We need newlib configured so that the .info files are made.2092 # Unfortunately, it is not enough to just configure newlib separately:2093 # taz will build the .info files but since SUBDIRS won't contain newlib,2094 # distclean won't be run (leaving Makefile, config.status, and the tmp files2095 # used in building the .info files, eg: *.def, *.ref).2096 # The problem isn't solvable however without a lot of extra work because2097 # target libraries are built in subdir $(target_alias) which gets nuked during2098 # the make distclean. For now punt on the issue of shipping newlib info files2099 # with newlib net releases and wait for a day when some native target (sun4?)2100 # supports newlib (if only minimally).2101 newlib.tar.bz2: $(DIST_SUPPORT) $(NEWLIB_SUPPORT_DIRS) newlib2102 $(MAKE) -f Makefile.in taz TOOL=newlib \2103 MD5PROG="$(MD5PROG)" \2104 SUPPORT_FILES="$(NEWLIB_SUPPORT_DIRS)" \2105 DEVO_SUPPORT="$(DEVO_SUPPORT) COPYING.NEWLIB" newlib2106 1822 2107 1823 .NOEXPORT: -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.