binutils-gdb/gas/configure.in

60 lines
959 B
Plaintext
Raw Normal View History

1991-04-04 20:19:53 +02:00
# 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"
1991-04-10 01:52:42 +02:00
# 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
1991-04-04 20:19:53 +02:00
case $target in
*-coff)
obj_format=coff
;;
*-bout)
obj_format=bout
;;
1991-04-10 01:52:42 +02:00
generic)
obj_format=generic
;;
1991-04-04 20:19:53 +02:00
*)
obj_format=aout
;;
esac
1991-04-10 01:52:42 +02:00
# assign floating point type
1991-04-04 20:19:53 +02:00
case $target in
vax)
atof=vax
;;
*)
atof=ieee
;;
esac
1991-04-10 01:52:42 +02:00
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"
1991-04-04 20:19:53 +02:00
links="host.h targ-cpu.c targ-cpu.h targ-env.h obj-format.h obj-format.c atof-targ.c"