old-cross-binutils/gas/configure.in

93 lines
1.7 KiB
Text
Raw Normal View History

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
need_bfd=
1991-08-14 00:29:34 +00:00
# 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
1991-11-05 09:01:45 +00:00
bout*) obj_format=bout ;;
bsd* | sunos*) obj_format=aout ;;
1991-10-21 19:53:31 +00:00
ebmon)
obj_format=coff
need_bfd="$(unsubdir)/../bfd$(subdir)/libbfd.a"
target_cpu=ebmon29k
;;
1991-11-05 09:01:45 +00:00
generic) obj_format=generic ;;
hds)
obj_format=ieee
need_bfd="$(unsubdir)/../bfd$(subdir)/libbfd.a"
;;
1991-11-05 09:01:45 +00:00
coff* | sysv*) obj_format=coff ;;
*)
case ${target_vendor} in
aout) obj_format=aout ;;
bout) obj_format=bout ;;
coff) obj_format=coff ;;
*) obj_format=aout ;;
esac
1991-04-09 23:52:42 +00:00
;;
1991-11-05 09:01:45 +00:00
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-11-05 09:01:45 +00:00
vax) atof=vax ;;
*) atof=ieee ;;
1991-04-04 18:19:53 +00:00
esac
# and target makefile frag
1991-11-05 09:01:45 +00:00
target_makefile_frag=config/mt-${target_cpu}
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"