aboutsummaryrefslogtreecommitdiff
path: root/gas/configure.in
blob: f2506411a128bc269cf2629253dbddb546eb0efa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# This file is a shell script that supplies the information necessary
# to tailor a template configure script into the configure script
# appropriate for this directory.  For more information, check any
# existing configure script.

srctrigger=as.c
srcname="gas"

# assign cpu type
case $target in
sun4* | sparc*)
	cpu_type=sparc
	;;
sun3*)
	cpu_type=m68k
	;;
i960*)
	cpu_type=i960
	;;
a29k*)
	cpu_type=a29k
	;;
*)
	cpu_type=generic
	;;
esac

# assign object format
case $target in
*-coff)
	obj_format=coff
	;;
*-bout)
	obj_format=bout
	;;
generic)
	obj_format=generic
	;;
*)
	obj_format=aout
	;;
esac

# assign floating point type
case $target in
vax)
	atof=vax
	;;
*)
	atof=ieee
	;;
esac

files="config/ho-${host}.h config/tc-${cpu_type}.c \
	config/tc-${cpu_type}.h config/te-generic.h \
	config/obj-${obj_format}.h config/obj-${obj_format}.c \
	config/atof-${atof}.c"

links="host.h targ-cpu.c targ-cpu.h targ-env.h obj-format.h obj-format.c atof-targ.c"