]> Git Repo - binutils.git/blame_incremental - gas/configure.in
* tc-m68k.h, te-sun3.h: moved LOCAL_LABELS_FB definition from
[binutils.git] / gas / configure.in
... / ...
CommitLineData
1# This file is configure.in
2#
3# Copyright (C) 1987-1992 Free Software Foundation, Inc.
4#
5# This file is part of GAS, the GNU Assembler.
6#
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)
10# any later version.
11#
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.
16#
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. */
20#
21
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.
26
27srctrigger=as.c
28srcname="gas"
29need_bfd=
30configdirs=doc
31
32# per-host:
33
34gas_host=generic
35
36case "${host_cpu}" in
37a29k | rs6000 | vax) gas_host=${host_cpu} ;;
38mips)
39 case "${host_os}" in
40 ultrix) gas_host=decstation ;;
41 esac
42 ;;
43i386)
44 case "${host_os}" in
45 aix*) gas_host=i386aix ;;
46 esac
47 ;;
48*)
49 case "${host_os}" in
50 ansi | ultrix | hpux | sysv*) gas_host=${host_os} ;;
51 *)
52 case "${host_vendor}" in
53 sun)
54 case "${host_cpu}" in
55 m68k) gas_host=sun3 ;;
56 i386) gas_host=sun386 ;;
57 sparc) gas_host=sun4 ;;
58 esac
59 ;;
60 esac
61 ;;
62 esac
63 ;;
64esac
65
66# per-target:
67
68# assign cpu type
69emulation=generic
70
71cpu_type=${target_cpu}
72
73# assign object format
74case ${target_os} in
75aix*)
76 case "${target_cpu}" in
77 i386) obj_format=coff
78 target_cpu=i386aix
79 ;;
80 esac
81 ;;
82
83bout*) obj_format=bout ;;
84nindy*) obj_format=bout ;;
85bsd* | sunos*) obj_format=aout ;;
86
87ebmon-old)
88 obj_format=coff
89 need_bfd="$(unsubdir)/../bfd$(subdir)/libbfd.a"
90 target_cpu=ebmon29k
91 ;;
92
93ebmon)
94 obj_format=coffbfd
95 need_bfd="$(unsubdir)/../bfd$(subdir)/libbfd.a"
96 target_cpu=ebmon29k
97 ;;
98
99generic) obj_format=generic ;;
100
101hms)
102 obj_format=coffbfd
103 need_bfd="$(unsubdir)/../bfd$(subdir)/libbfd.a"
104 ;;
105
106sysv32)
107 obj_format=coff
108 emulation=sysv32
109 ;;
110
111coff* | sysv*)
112 obj_format=coff
113
114 case ${target_vendor} in
115 bull) emulation=dpx2 ;;
116 sco) emulation=sco386 ;;
117 sun) emulation=sun3 ;;
118 *)
119 esac
120 ;;
121vxworks)
122 case ${target_cpu} in
123 i960) obj_format=bout ;;
124 *) obj_format=aout ;;
125 esac
126 ;;
127*)
128 case ${target_vendor} in
129 aout) obj_format=aout ;;
130 bout) obj_format=bout ;;
131 coff)
132 obj_format=coff
133 case ${target_cpu} in
134 i960) emulation=ic960 ;;
135 esac
136 ;;
137 *) obj_format=aout ;;
138 esac
139 ;;
140
141esac
142
143# assign floating point type
144case ${target_cpu} in
145ns32k) atof=ns32k ;;
146vax) atof=vax ;;
147*) atof=ieee ;;
148esac
149
150# and target makefile frag
151
152target_makefile_frag=config/mt-${target_cpu}
153
154files="config/ho-${gas_host}.h config/tc-${cpu_type}.c \
155 config/tc-${cpu_type}.h config/te-${emulation}.h \
156 config/obj-${obj_format}.h config/obj-${obj_format}.c \
157 config/atof-${atof}.c"
158
159links="host.h targ-cpu.c targ-cpu.h targ-env.h obj-format.h obj-format.c atof-targ.c"
160
161# end of gas/configure.in
This page took 0.022945 seconds and 4 git commands to generate.