1991-04-04 18:19:53 +00: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-08-14 00:29:34 +00:00
|
|
|
targetdependent=true
|
|
|
|
|
|
|
|
# per-host:
|
|
|
|
|
1991-08-28 21:49:12 +00:00
|
|
|
gas_host=generic
|
1991-04-04 18:19:53 +00:00
|
|
|
|
1991-08-28 21:49:12 +00:00
|
|
|
case "${host_cpu}" in
|
|
|
|
a29k | rs6000 | vax) gas_host=${host_cpu} ;;
|
|
|
|
mips)
|
|
|
|
case "${host_os}" in
|
|
|
|
ultrix) gas_host=decstation ;;
|
|
|
|
esac
|
1991-08-14 00:29:34 +00:00
|
|
|
;;
|
1991-04-09 23:52:42 +00:00
|
|
|
*)
|
1991-08-28 21:49:12 +00:00
|
|
|
case "${host_os}" in
|
|
|
|
ansi | ultrix | hpux | sysv*) gas_host=${host_os} ;;
|
|
|
|
*)
|
|
|
|
case "${host_vendor}" in
|
|
|
|
sun)
|
|
|
|
case "${host_cpu}" in
|
|
|
|
m68k) gas_host=sun3 ;;
|
|
|
|
i386) gas_host=sun386 ;;
|
|
|
|
sparc) gas_host=sun4 ;;
|
|
|
|
esac
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
;;
|
|
|
|
esac
|
1991-04-09 23:52:42 +00:00
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
1991-08-28 21:49:12 +00:00
|
|
|
# per-target:
|
|
|
|
|
|
|
|
# assign cpu type
|
|
|
|
emulation=generic
|
|
|
|
|
|
|
|
cpu_type=${target_cpu}
|
|
|
|
|
1991-04-09 23:52:42 +00:00
|
|
|
# assign object format
|
1991-08-28 21:49:12 +00:00
|
|
|
case ${target_os} in
|
|
|
|
sysv* | -coff*)
|
1991-04-04 18:19:53 +00:00
|
|
|
obj_format=coff
|
|
|
|
;;
|
1991-08-28 21:49:12 +00:00
|
|
|
bout*)
|
1991-04-04 18:19:53 +00:00
|
|
|
obj_format=bout
|
|
|
|
;;
|
1991-08-28 21:49:12 +00:00
|
|
|
bsd* | sunos* | *)
|
|
|
|
obj_format=aout
|
|
|
|
;;
|
1991-04-09 23:52:42 +00:00
|
|
|
generic)
|
|
|
|
obj_format=generic
|
|
|
|
;;
|
1991-04-04 18:19:53 +00:00
|
|
|
esac
|
|
|
|
|
1991-04-09 23:52:42 +00:00
|
|
|
# assign floating point type
|
1991-08-28 21:49:12 +00:00
|
|
|
case ${target_cpu} in
|
1991-04-04 18:19:53 +00:00
|
|
|
vax)
|
|
|
|
atof=vax
|
|
|
|
;;
|
|
|
|
*)
|
|
|
|
atof=ieee
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
1991-08-28 21:49:12 +00:00
|
|
|
files="config/ho-${gas_host}.h config/tc-${cpu_type}.c \
|
1991-08-14 00:29:34 +00:00
|
|
|
config/tc-${cpu_type}.h config/te-${emulation}.h \
|
1991-04-09 23:52:42 +00:00
|
|
|
config/obj-${obj_format}.h config/obj-${obj_format}.c \
|
|
|
|
config/atof-${atof}.c"
|
|
|
|
|
1991-04-04 18:19:53 +00:00
|
|
|
links="host.h targ-cpu.c targ-cpu.h targ-env.h obj-format.h obj-format.c atof-targ.c"
|