Commit | Line | Data |
---|---|---|
ea838f99 SS |
1 | # Configuration fragment for GAS. |
2 | ||
9e4eebc2 SS |
3 | Set target_arch `echo {target_canonical} | sed -e 's/-.*-.*//'` |
4 | ||
5 | # (should canonicalize arch name) */ | |
6 | ||
7 | Set target_format `echo {target_canonical} | sed -e 's/.*-.*-//'` | |
8 | ||
9 | forward-include "{srcdir}"config:tc-{target_arch}.c targ-cpu.c | |
10 | forward-include "{srcdir}"config:tc-{target_arch}.h targ-cpu.h | |
11 | ||
12 | forward-include "{srcdir}"config:obj-{target_format}.c obj-format.c | |
13 | forward-include "{srcdir}"config:obj-{target_format}.h obj-format.h | |
14 | ||
15 | # Default emulation. | |
16 | ||
17 | forward-include "{srcdir}"config:te-generic.h targ-env.h | |
18 | ||
19 | If "{target_arch}" =~ /ns32k/ | |
20 | forward-include "{srcdir}"config:atof-ns32k.c atof-targ.c | |
21 | Else If "{target_arch}" =~ /tahoe/ | |
22 | forward-include "{srcdir}"config:atof-tahoe.c atof-targ.c | |
23 | Else If "{target_arch}" =~ /vax/ | |
24 | forward-include "{srcdir}"config:atof-vax.c atof-targ.c | |
25 | Else | |
26 | # Use IEEE by default. | |
27 | forward-include "{srcdir}"config:atof-ieee.c atof-targ.c | |
28 | End If |