]>
Commit | Line | Data |
---|---|---|
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 | ||
6 | srctrigger=as.c | |
7 | srcname="gas" | |
8 | ||
74cc5508 RP |
9 | # assign cpu type |
10 | case $target in | |
11 | sun4* | sparc*) | |
12 | cpu_type=sparc | |
13 | ;; | |
14 | sun3*) | |
15 | cpu_type=m68k | |
16 | ;; | |
17 | i960*) | |
18 | cpu_type=i960 | |
19 | ;; | |
20 | a29k*) | |
21 | cpu_type=a29k | |
22 | ;; | |
23 | *) | |
24 | cpu_type=generic | |
25 | ;; | |
26 | esac | |
27 | ||
28 | # assign object format | |
fecd2382 RP |
29 | case $target in |
30 | *-coff) | |
31 | obj_format=coff | |
32 | ;; | |
33 | *-bout) | |
34 | obj_format=bout | |
35 | ;; | |
74cc5508 RP |
36 | generic) |
37 | obj_format=generic | |
38 | ;; | |
fecd2382 RP |
39 | *) |
40 | obj_format=aout | |
41 | ;; | |
42 | esac | |
43 | ||
74cc5508 | 44 | # assign floating point type |
fecd2382 RP |
45 | case $target in |
46 | vax) | |
47 | atof=vax | |
48 | ;; | |
49 | *) | |
50 | atof=ieee | |
51 | ;; | |
52 | esac | |
53 | ||
74cc5508 RP |
54 | files="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 | 59 | links="host.h targ-cpu.c targ-cpu.h targ-env.h obj-format.h obj-format.c atof-targ.c" |