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-*-*)
61 *-*-ansi | *-*-ultrix | *-*-hpux | *-*-sysv*)
71 cpu_type=${target_cpu}
73 # check for architecture variants
75 sparclite) cpu_type=sparc ;;
76 sparc64) cpu_type=sparc obj_format=aout ;;
77 m680[01234]0) cpu_type=m68k ;;
78 m683?2) cpu_type=m68k ;;
81 gas_target=${cpu_type}
83 # assign object format
87 need_bfd="./../bfd/libbfd.a"
92 need_bfd="./../bfd/libbfd.a"
97 need_bfd="./../bfd/libbfd.a"
108 i[34]86-*-coff | i[34]86-*-sysv* | i[34]86-*-sco*)
110 need_bfd="./../bfd/libbfd.a"
127 m68k-ericsson-[Oo][Ss][Ee])
133 need_bfd="./../bfd/libbfd.a"
136 sparclite-fujitsu-none)
139 *-*-aout | *-*-scout)
142 *-*-bout* | *-*-nindy*)
145 *-*-bsd* | *-*-sunos*)
154 need_bfd="./../bfd/libbfd.a"
162 need_bfd="./../bfd/libbfd.a"
164 *-*-coff* | *-sysv* | *-*-sco*)
166 case ${target_vendor} in
167 bull) emulation=dpx2 ;;
168 sun) emulation=sun3 ;;
179 # assign floating point type
180 case ${target_cpu} in
186 # and target makefile frag
188 target_makefile_frag=config/${gas_target}.mt
190 files="config/ho-${gas_host}.h config/tc-${cpu_type}.c \
191 config/tc-${cpu_type}.h config/te-${emulation}.h \
192 config/obj-${obj_format}.h config/obj-${obj_format}.c \
193 config/atof-${atof}.c"
195 links="host.h targ-cpu.c targ-cpu.h targ-env.h obj-format.h obj-format.c atof-targ.c"
197 # end of gas/configure.in