1 # This file is configure.in
3 # Copyright (C) 1987-1992 Free Software Foundation, Inc.
5 # This file is part of GAS, the GNU Assembler.
7 # GAS is free software; you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License as published by
9 # the Free Software Foundation; either version 2, or (at your option)
12 # GAS is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU General Public License for more details.
17 # You should have received a copy of the GNU General Public License
18 # along with GAS; see the file COPYING. If not, write to
19 # the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
22 # This file was written, and is maintained by K. Richard Pixley
25 # This file is a shell script that supplies the information necessary
26 # to tailor a template configure script into the configure script
27 # appropriate for this directory. For more information, check any
28 # existing configure script.
40 a29k-*-* | rs6000-*-* | vax-*-*)
44 *) gas_host=${host_cpu} ;;
68 *-*-ansi | *-*-ultrix | *-*-hpux | *-*-sysv*)
78 cpu_type=${target_cpu}
80 # check for architecture variants
82 sparclite) cpu_type=sparc ;;
83 sparc64) cpu_type=sparc obj_format=aout ;;
84 m680[01234]0) cpu_type=m68k ;;
85 m683?2) cpu_type=m68k ;;
88 gas_target=${cpu_type}
90 # assign object format
94 need_bfd="./../bfd/libbfd.a"
99 need_bfd="./../bfd/libbfd.a"
104 need_bfd="./../bfd/libbfd.a"
109 need_bfd="./../bfd/libbfd.a"
116 i[34]86-*-coff | i[34]86-*-sysv* | i[34]86-*-sco* | i[34]86-*-isc*)
118 need_bfd="./../bfd/libbfd.a"
135 m68k-ericsson-[Oo][Ss][Ee])
141 need_bfd="./../bfd/libbfd.a"
144 sparclite-fujitsu-none)
147 *-*-aout | *-*-scout | *-*-linux)
150 *-*-bout* | *-*-nindy*)
153 *-*-bsd* | *-*-sunos*)
162 need_bfd="./../bfd/libbfd.a"
170 need_bfd="./../bfd/libbfd.a"
172 *-*-coff* | *-sysv* | *-*-sco*)
174 case ${target_vendor} in
175 bull) emulation=dpx2 ;;
176 sun) emulation=sun3 ;;
190 # assign floating point type
191 case ${target_cpu} in
198 # and target makefile frag
200 target_makefile_frag=config/${gas_target}.mt
202 files="config/ho-${gas_host}.h config/tc-${cpu_type}.c \
203 config/tc-${cpu_type}.h config/te-${emulation}.h \
204 config/obj-${obj_format}.h config/obj-${obj_format}.c \
205 config/atof-${atof}.c"
207 links="host.h targ-cpu.c targ-cpu.h targ-env.h obj-format.h obj-format.c atof-targ.c"
209 # end of gas/configure.in