darling-gdb/gas/configure.in

74 lines
1.1 KiB
Plaintext
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
# per-host:
# per-target:
1991-04-04 18:19:53 +00:00
1991-04-09 23:52:42 +00:00
# assign cpu type
1991-08-14 00:29:34 +00:00
emulation=generic
case ${target} in
1991-04-09 23:52:42 +00:00
sun4* | sparc*)
cpu_type=sparc
;;
sun3*)
cpu_type=m68k
;;
1991-08-14 00:29:34 +00:00
i386*)
cpu_type=i386
;;
1991-04-09 23:52:42 +00:00
i960*)
cpu_type=i960
1991-08-14 00:29:34 +00:00
emulation=ic960
1991-04-09 23:52:42 +00:00
;;
a29k*)
cpu_type=a29k
;;
1991-08-14 00:29:34 +00:00
m68k*)
cpu_type=m68k
;;
1991-04-09 23:52:42 +00:00
*)
cpu_type=generic
;;
esac
# assign object format
1991-08-14 00:29:34 +00:00
case ${target} in
1991-04-04 18:19:53 +00:00
*-coff)
obj_format=coff
;;
*-bout)
obj_format=bout
;;
1991-04-09 23:52:42 +00:00
generic)
obj_format=generic
;;
1991-04-04 18:19:53 +00:00
*)
obj_format=aout
;;
esac
1991-04-09 23:52:42 +00:00
# assign floating point type
1991-08-14 00:29:34 +00:00
case ${target} in
1991-04-04 18:19:53 +00:00
vax)
atof=vax
;;
*)
atof=ieee
;;
esac
1991-04-09 23:52:42 +00:00
files="config/ho-${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"