1 srcname="Remote GDB server for Netware"
8 # Map target cpu into the config cpu subdirectory name.
9 # The default is $target_cpu.
11 case "${target_cpu}" in
13 alpha) gdb_target_cpu=alpha ;;
14 c[12]) gdb_target_cpu=convex ;;
15 hppa*) gdb_target_cpu=pa ;;
16 i[345]86) gdb_target_cpu=i386 ;;
17 m68*) gdb_target_cpu=m68k ;;
18 np1) gdb_target_cpu=gould ;;
19 pn) gdb_target_cpu=gould ;;
20 pyramid) gdb_target_cpu=pyr ;;
21 sparc*) gdb_target_cpu=sparc ;;
22 *) gdb_target_cpu=$target_cpu ;;
26 if [ ! -f ${srcdir}/../config/${gdb_target_cpu}/gdbserve.mt ]; then
27 echo '***' "GDBSERVE does not support target ${target}" 1>&2
31 # We really shouldn't depend on there being a space after CPU_FILE= ...
32 cpufile=`awk '$1 == "CPU_FILE=" { print $2 }' <${srcdir}/../config/${gdb_target_cpu}/gdbserve.mt`
34 target_makefile_frag=../config/${gdb_target_cpu}/gdbserve.mt
36 # If hostfile (XM_FILE) and/or targetfile (TM_FILE) and/or nativefile
37 # (NAT_FILE) is not set in the ?config/* file, we don't make the
38 # corresponding links. But we have to remove the xm.h files and tm.h
39 # files anyway, e.g. when switching from "configure host" to
45 if [ "${cpufile}" != "" ]; then
46 files="${files} ${cpufile}.h"
47 links="${links} cpu.h"