* Makefile.in (DEVO_SUPPORT): Add symlink-tree.
authorDavid Edelsohn <dje.gcc@gmail.com>
Wed, 22 Nov 1995 00:08:26 +0000 (00:08 +0000)
committerDavid Edelsohn <dje.gcc@gmail.com>
Wed, 22 Nov 1995 00:08:26 +0000 (00:08 +0000)
ChangeLog
Makefile.in

index 68706ad0bf65622b9e35c5a539048c795128fbd2..19f0f62a02d7bd95d1a1165be109f1f044331083 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Tue Nov 21 16:06:13 1995  Doug Evans  <dje@canuck.cygnus.com>
+
+       * Makefile.in (DEVO_SUPPORT): Add symlink-tree.
+
 Tue Nov 21 14:08:28 1995  Ian Lance Taylor  <ian@cygnus.com>
 
        * configure.in: Strip --host and --target options from
index 3840e4dbe089b097f80eb010dc9fdced5c74a9c5..3085a7e15f488c87289444d3e9a5d7bd1a15e96d 100644 (file)
@@ -863,12 +863,39 @@ $(CONFIGURE_TARGET_MODULES):
            RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
            echo Configuring in $(TARGET_SUBDIR)/$${dir}; \
            cd $(TARGET_SUBDIR)/$${dir}; \
-           if [ -f $${srcroot}/$${dir}/configure ] ; then \
-             $${srcroot}/$${dir}/configure \
-               $(CONFIG_ARGUMENTS) --srcdir=$${srcroot}/$${dir}; \
+           case $(srcdir) in \
+           /*) \
+             topdir=$(srcdir) ;; \
+           *) \
+             case "$(TARGET_SUBDIR)" in \
+             .) topdir="../$(srcdir)" ;; \
+             *) topdir="../../$(srcdir)" ;; \
+             esac ;; \
+           esac; \
+           if [ "$(srcdir)" = "." ] ; then \
+             if [ "$(TARGET_SUBDIR)" != "." ] ; then \
+               if $(SHELL) $${srcroot}/symlink-tree $${topdir}/$${dir} "Makefile" ; then \
+                 true; \
+               else \
+                 exit 1; \
+               fi; \
+             else \
+               true; \
+             fi; \
+             srcdiroption="--srcdir=."; \
+             libsrcdir="."; \
+           else \
+             srcdiroption="--srcdir=$${topdir}/$${dir}"; \
+             libsrcdir="$${srcroot}/$${dir}"; \
+           fi; \
+           if [ -f $${libsrcdir}/configure ] ; then \
+             $(SHELL) $${libsrcdir}/configure \
+               $(CONFIG_ARGUMENTS) $${srcdiroption} \
+               --with-target-subdir="$(TARGET_SUBDIR)"; \
            else \
-             $${srcroot}/configure \
-               $(CONFIG_ARGUMENTS) --srcdir=$${srcroot}/$${dir}; \
+             $(SHELL) $${srcroot}/configure \
+               $(CONFIG_ARGUMENTS) $${srcdiroption} \
+               --with-target-subdir="$(TARGET_SUBDIR)"; \
            fi; \
          else \
            true; \
@@ -1039,10 +1066,10 @@ all-hello: all-libiberty
 all-indent:
 all-ispell: all-emacs19
 all-ld: all-libiberty all-bfd all-byacc all-flex
-configure-target-libg++: $(ALL_GCC)
+configure-target-libg++: $(ALL_GCC) configure-target-librx
 all-target-libg++: configure-target-libg++ all-gas all-ld all-gcc all-target-libiberty all-target-newlib all-target-libio all-target-librx all-target-libstdc++
 configure-target-libgloss: $(ALL_GCC)
-all-target-libgloss: configure-target-libgloss
+all-target-libgloss: configure-target-libgloss configure-target-newlib
 configure-target-libio: $(ALL_GCC)
 all-target-libio: configure-target-libio all-gas all-ld all-gcc all-target-libiberty all-target-newlib
 all-libiberty:
@@ -1140,7 +1167,7 @@ Makefile: Makefile.in configure.in $(host_makefile_frag) $(target_makefile_frag)
 DEVO_SUPPORT= README Makefile.in configure configure.in \
        config.guess config.sub config move-if-change \
        mpw-README mpw-build.in mpw-config.in mpw-configure \
-       COPYING COPYING.LIB install.sh cfg-ml-com.in cfg-ml-pos.in
+       COPYING COPYING.LIB install.sh config-ml.in symlink-tree
 
 # Files in devo/etc used in any net release.
 # ChangeLog omitted because it may refer to files which are not in this
This page took 0.028001 seconds and 4 git commands to generate.