binutils-gdb/gas/configure.in
1991-04-09 23:52:42 +00:00

60 lines
959 B
Plaintext

# 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"
# assign cpu type
case $target in
sun4* | sparc*)
cpu_type=sparc
;;
sun3*)
cpu_type=m68k
;;
i960*)
cpu_type=i960
;;
a29k*)
cpu_type=a29k
;;
*)
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-generic.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"