old-cross-binutils/gas/configure.in
1991-08-14 00:29:34 +00:00

73 lines
1.1 KiB
Text

# This file is a shell script that supplies the information necessary
# to tailor a template configure script into the configure script
# appropriate for this directory. For more information, check any
# existing configure script.
srctrigger=as.c
srcname="gas"
targetdependent=true
# per-host:
# per-target:
# assign cpu type
emulation=generic
case ${target} in
sun4* | sparc*)
cpu_type=sparc
;;
sun3*)
cpu_type=m68k
;;
i386*)
cpu_type=i386
;;
i960*)
cpu_type=i960
emulation=ic960
;;
a29k*)
cpu_type=a29k
;;
m68k*)
cpu_type=m68k
;;
*)
cpu_type=generic
;;
esac
# assign object format
case ${target} in
*-coff)
obj_format=coff
;;
*-bout)
obj_format=bout
;;
generic)
obj_format=generic
;;
*)
obj_format=aout
;;
esac
# assign floating point type
case ${target} in
vax)
atof=vax
;;
*)
atof=ieee
;;
esac
files="config/ho-${host}.h config/tc-${cpu_type}.c \
config/tc-${cpu_type}.h config/te-${emulation}.h \
config/obj-${obj_format}.h config/obj-${obj_format}.c \
config/atof-${atof}.c"
links="host.h targ-cpu.c targ-cpu.h targ-env.h obj-format.h obj-format.c atof-targ.c"