Add ${srcdir} for makefile_frags.
authorMichael Tiemann <tiemann@cygnus>
Fri, 7 Feb 1992 07:52:08 +0000 (07:52 +0000)
committerMichael Tiemann <tiemann@cygnus>
Fri, 7 Feb 1992 07:52:08 +0000 (07:52 +0000)
gdb/configure.in
ld/configure.in

index e906434e3474f4d75212d24265135252f713cfb7..4128c0724b6e2c5280c3994867543313c105e48c 100644 (file)
@@ -311,8 +311,8 @@ fi
 #  We really shouldn't depend on there being a space after TM_FILE= ...
 targetfile=`awk '$1 == "TM_FILE=" { print $2 }' <${srcdir}/config/mt-${gdb_target}`
 
-host_makefile_frag=config/mh-${gdb_host}
-target_makefile_frag=config/mt-${gdb_target}
+host_makefile_frag=${srcdir}/config/mh-${gdb_host}
+target_makefile_frag=${srcdir}/config/mt-${gdb_target}
 
 # If hostfile (XM_FILE) and/or targetfile (TM_FILE) is not set in the
 # ?config/* file, we don't make the corresponding links.  But we have
index 7d94046f1071b89c6793a4f71e18938848063498..56321730d4c6bb9774de5a67bd4fef5d849d70a5 100644 (file)
@@ -103,7 +103,7 @@ if [ ! -f ${srcdir}/${files} ] ; then
 fi
 host_makefile_frag=
 if [ -f ${srcdir}/config/mh-${my_host} ] ; then
-       host_makefile_frag=config/mh-${my_host}
+       host_makefile_frag=${srcdir}/config/mh-${my_host}
 fi
 
 # per-target:
@@ -124,11 +124,12 @@ sun)
                *) my_target=coff-a29k ;;
                esac
                ;;
-       h8300)  my_target=h8300hds ;;
+       h8300)  my_target=coff-h8300 ;;
        m68k)   
                case ${target_vendor} in
-               sony)   my_target=news;;
-               hp)     my_target=hp300bsd;;
+               sony)   my_target=news ;;
+               hp)     my_target=hp300bsd ;;
+               wrs)    my_target=sun3 ;;
                *)
                        echo "Unknown m68k target vendor:" ${target_vendor}
                        exit 1
@@ -139,4 +140,4 @@ sun)
        ;;
 esac
 
-target_makefile_frag=config/mt-${my_target}
+target_makefile_frag=${srcdir}/config/mt-${my_target}