OSDN Git Service

Grr, fix address.
[pf3gnuchains/gcc-fork.git] / Makefile.in
index 0cd40b1..a49621d 100644 (file)
@@ -154,7 +154,7 @@ OTHERS =
 
 # This is set by the configure script to the list of directories which
 # should be built using the target tools.
-TARGET_CONFIGDIRS = libiberty libgloss newlib libio librx libstdc++ libg++ libf2c winsup
+TARGET_CONFIGDIRS = libiberty libgloss newlib libio librx libstdc++ libg++ libf2c libchill libobjc winsup
 
 # Target libraries are put under this directory:
 # Changed by configure to $(target_alias) if cross.
@@ -352,6 +352,7 @@ BASE_FLAGS_TO_PASS = \
        "EXPECT=$(EXPECT)" \
        "RUNTEST=$(RUNTEST)" \
        "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
+       "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
        "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
        "YACC=$(YACC)" \
        "exec_prefix=$(exec_prefix)" \
@@ -359,6 +360,7 @@ BASE_FLAGS_TO_PASS = \
        "tooldir=$(tooldir)" \
        "gxx_include_dir=$(gxx_include_dir)" \
        "gcc_version=$(gcc_version)" \
+       "gcc_version_trigger=$(gcc_version_trigger)" \
        "target_alias=$(target_alias)" \
        "libsubdir=$(libsubdir)"
 
@@ -675,6 +677,8 @@ ALL_TARGET_MODULES = \
        all-target-libg++ \
        all-target-newlib \
        all-target-libf2c \
+       all-target-libchill \
+       all-target-libobjc \
        all-target-winsup \
        all-target-libgloss \
        all-target-libiberty \
@@ -690,6 +694,8 @@ CONFIGURE_TARGET_MODULES = \
        configure-target-libg++ \
        configure-target-newlib \
        configure-target-libf2c \
+       configure-target-libchill \
+       configure-target-libobjc \
        configure-target-winsup \
        configure-target-libgloss \
        configure-target-libiberty \
@@ -704,6 +710,8 @@ CHECK_TARGET_MODULES = \
        check-target-libg++ \
        check-target-newlib \
        check-target-libf2c \
+       check-target-libchill \
+       check-target-libobjc \
        check-target-winsup \
        check-target-libiberty \
        check-target-gperf
@@ -716,6 +724,8 @@ INSTALL_TARGET_MODULES = \
        install-target-libg++ \
        install-target-newlib \
        install-target-libf2c \
+       install-target-libchill \
+       install-target-libobjc \
        install-target-winsup \
        install-target-libgloss \
        install-target-libiberty \
@@ -788,6 +798,8 @@ CLEAN_TARGET_MODULES = \
        clean-target-libg++ \
        clean-target-newlib \
        clean-target-libf2c \
+       clean-target-libchill \
+       clean-target-libobjc \
        clean-target-winsup \
        clean-target-libgloss \
        clean-target-libiberty \
@@ -1344,8 +1356,11 @@ bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean b
        $(SET_LIB_PATH) \
        echo "$$msg"; \
        cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
-       @echo "Building runtime libraries"; \
-       $(MAKE) all
+       @r=`pwd`; export r; \
+       s=`cd $(srcdir); pwd` ; export s; \
+       $(SET_LIB_PATH) \
+       echo "Building runtime libraries"; \
+       $(MAKE) $(BASE_FLAGS_TO_PASS) all
 
 .PHONY: cross
 cross: all-texinfo all-bison all-byacc all-binutils all-gas all-ld
@@ -1354,8 +1369,11 @@ cross: all-texinfo all-bison all-byacc all-binutils all-gas all-ld
        $(SET_LIB_PATH) \
        echo "Building the C and C++ compiler"; \
        cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
-       @echo "Building runtime libraries"; \
-       $(MAKE) all LANGUAGES="c c++"
+       @r=`pwd`; export r; \
+       s=`cd $(srcdir); pwd` ; export s; \
+       $(SET_LIB_PATH) \
+       echo "Building runtime libraries"; \
+       $(MAKE) $(BASE_FLAGS_TO_PASS) all LANGUAGES="c c++"
 
 .PHONY: check-gcc
 check-gcc:
@@ -1465,6 +1483,8 @@ all-target-librx: configure-target-librx
 configure-target-libstdc++: $(ALL_GCC)
 all-target-libstdc++: configure-target-libstdc++ all-gas all-ld all-gcc all-target-libiberty all-target-newlib all-target-libio
 all-target-libf2c: configure-target-libf2c all-gas all-ld all-gcc all-target-libiberty all-target-newlib
+all-target-libchill: configure-target-libchill all-gas all-ld all-gcc all-target-libiberty all-target-newlib
+all-target-libobjc: configure-target-libobjc all-gas all-ld all-gcc all-target-libiberty all-target-newlib
 all-m4: all-libiberty
 all-make: all-libiberty
 all-mmalloc:
@@ -1532,7 +1552,7 @@ TAGS: do-TAGS
 
 # with the gnu make, this is done automatically.
 
-Makefile: Makefile.in configure.in $(host_makefile_frag) $(target_makefile_frag)
+Makefile: Makefile.in configure.in $(host_makefile_frag) $(target_makefile_frag) $(gcc_version_trigger)
        $(SHELL) ./config.status
 
 #