binutils-gdb/gas/configure.in

94 lines
1.6 KiB
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-08-14 02:29:34 +02:00
targetdependent=true
need_bfd=
1991-08-14 02:29:34 +02:00
# per-host:
1991-08-28 23:49:12 +02:00
gas_host=generic
1991-04-04 20:19:53 +02:00
1991-08-28 23:49:12 +02: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 02:29:34 +02:00
;;
1991-04-10 01:52:42 +02:00
*)
1991-08-28 23:49:12 +02: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-10 01:52:42 +02:00
;;
esac
1991-08-28 23:49:12 +02:00
# per-target:
# assign cpu type
emulation=generic
cpu_type=${target_cpu}
1991-04-10 01:52:42 +02:00
# assign object format
1991-08-28 23:49:12 +02:00
case ${target_os} in
1991-10-21 20:53:31 +01:00
sysv* | -coff* )
1991-04-04 20:19:53 +02:00
obj_format=coff
;;
1991-10-21 20:53:31 +01:00
ebmon)
obj_format=coff
need_bfd="$(unsubdir)/../bfd$(subdir)/libbfd.a"
target_cpu=ebmon29k
;;
hds)
obj_format=ieee
need_bfd="$(unsubdir)/../bfd$(subdir)/libbfd.a"
;;
1991-08-28 23:49:12 +02:00
bout*)
1991-04-04 20:19:53 +02:00
obj_format=bout
;;
1991-08-28 23:49:12 +02:00
bsd* | sunos* | *)
obj_format=aout
;;
1991-04-10 01:52:42 +02:00
generic)
obj_format=generic
;;
1991-04-04 20:19:53 +02:00
esac
1991-04-10 01:52:42 +02:00
# assign floating point type
1991-08-28 23:49:12 +02:00
case ${target_cpu} in
1991-04-04 20:19:53 +02:00
vax)
atof=vax
;;
*)
atof=ieee
;;
esac
# and target makefile frag
target_makefile_frag=config/tmake-${target_cpu}
1991-08-28 23:49:12 +02:00
files="config/ho-${gas_host}.h config/tc-${cpu_type}.c \
1991-08-14 02:29:34 +02:00
config/tc-${cpu_type}.h config/te-${emulation}.h \
1991-04-10 01:52:42 +02:00
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"