Initial revision
[deliverable/binutils-gdb.git] / gas / configure.in
CommitLineData
fecd2382
RP
1# This file is a shell script that supplies the information necessary
2# to tailor a template configure script into the configure script
3# appropriate for this directory. For more information, check any
4# existing configure script.
5
6srctrigger=as.c
7srcname="gas"
8
74cc5508
RP
9# assign cpu type
10case $target in
11sun4* | sparc*)
12 cpu_type=sparc
13 ;;
14sun3*)
15 cpu_type=m68k
16 ;;
17i960*)
18 cpu_type=i960
19 ;;
20a29k*)
21 cpu_type=a29k
22 ;;
23*)
24 cpu_type=generic
25 ;;
26esac
27
28# assign object format
fecd2382
RP
29case $target in
30*-coff)
31 obj_format=coff
32 ;;
33*-bout)
34 obj_format=bout
35 ;;
74cc5508
RP
36generic)
37 obj_format=generic
38 ;;
fecd2382
RP
39*)
40 obj_format=aout
41 ;;
42esac
43
74cc5508 44# assign floating point type
fecd2382
RP
45case $target in
46vax)
47 atof=vax
48 ;;
49*)
50 atof=ieee
51 ;;
52esac
53
74cc5508
RP
54files="config/ho-${host}.h config/tc-${cpu_type}.c \
55 config/tc-${cpu_type}.h config/te-generic.h \
56 config/obj-${obj_format}.h config/obj-${obj_format}.c \
57 config/atof-${atof}.c"
58
fecd2382 59links="host.h targ-cpu.c targ-cpu.h targ-env.h obj-format.h obj-format.c atof-targ.c"
This page took 0.027141 seconds and 4 git commands to generate.