1 # This file is configure.inj
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 is a shell script that supplies the information necessary
23 # to tailor a template configure script into the configure script
24 # appropriate for this directory. For more information, check any
25 # existing configure script.
37 a29k | rs6000 | vax) gas_host=${host_cpu} ;;
40 ultrix) gas_host=decstation ;;
45 ansi | ultrix | hpux | sysv*) gas_host=${host_os} ;;
47 case "${host_vendor}" in
50 m68k) gas_host=sun3 ;;
51 i386) gas_host=sun386 ;;
52 sparc) gas_host=sun4 ;;
66 cpu_type=${target_cpu}
68 # assign object format
70 bout*) obj_format=bout ;;
71 nindy*) obj_format=bout ;;
72 bsd* | sunos*) obj_format=aout ;;
76 need_bfd="$(unsubdir)/../bfd$(subdir)/libbfd.a"
82 need_bfd="$(unsubdir)/../bfd$(subdir)/libbfd.a"
86 generic) obj_format=generic ;;
90 need_bfd="$(unsubdir)/../bfd$(subdir)/libbfd.a"
101 case ${target_vendor} in
102 bull) emulation=dpx2 ;;
103 sco) emulation=sco386 ;;
104 sun) emulation=sun3 ;;
109 case ${target_cpu} in
110 i960) obj_format=bout ;;
111 *) obj_format=aout ;;
115 case ${target_vendor} in
116 aout) obj_format=aout ;;
117 bout) obj_format=bout ;;
120 case ${target_cpu} in
121 i960) emulation=ic960 ;;
124 *) obj_format=aout ;;
130 # assign floating point type
131 case ${target_cpu} in
137 # and target makefile frag
139 target_makefile_frag=config/mt-${target_cpu}
141 files="config/ho-${gas_host}.h config/tc-${cpu_type}.c \
142 config/tc-${cpu_type}.h config/te-${emulation}.h \
143 config/obj-${obj_format}.h config/obj-${obj_format}.c \
144 config/atof-${atof}.c"
146 links="host.h targ-cpu.c targ-cpu.h targ-env.h obj-format.h obj-format.c atof-targ.c"
148 # end of gas/configure.in