]>
Commit | Line | Data |
---|---|---|
1ffd292b C |
1 | dnl Process this file with autoconf to produce a configure script. |
2 | AC_PREREQ(2.3)dnl | |
3 | AC_INIT(Makefile.in) | |
b0c9f026 | 4 | |
1ffd292b C |
5 | AC_CONFIG_AUX_DIR(`cd $srcdir;pwd`/..) |
6 | AC_CANONICAL_SYSTEM | |
7 | AC_ARG_PROGRAM | |
b0c9f026 SC |
8 | |
9 | # WHEN ADDING ENTRIES TO THIS MATRIX: | |
10 | # Make sure that the left side always has two dashes. Otherwise you | |
11 | # can get spurious matches. Even for unambiguous cases, do this as a | |
12 | # convention, else the table becomes a real mess to understand and maintain. | |
13 | ||
14 | case "${target}" in | |
d32033ad | 15 | arm*-*-*) sim_target=arm ;; |
1ffd292b | 16 | h8300*-*-*) sim_target=h8300 ;; |
47dba87a | 17 | h8500-*-*) sim_target=h8500 ;; |
595a6ec3 | 18 | mips*-*-*) sim_target=mips ;; |
6c19c2ef | 19 | sh*-*-*) sim_target=sh ;; |
13ba8b69 MM |
20 | powerpc-*-eabisim*) sim_target=ppc ;; |
21 | powerpcle-*-eabisim*) sim_target=ppc ;; | |
6c19c2ef | 22 | w65-*-*) sim_target=w65 ;; |
1ffd292b | 23 | z8k*-*-*) sim_target=z8k ;; |
47dba87a | 24 | *) sim_target=none ;; |
b0c9f026 SC |
25 | esac |
26 | ||
27 | configdirs=${sim_target} | |
1ffd292b | 28 | AC_CONFIG_SUBDIRS($configdirs) |
b0c9f026 | 29 | |
1ffd292b | 30 | AC_OUTPUT(Makefile) |
23de525f PS |
31 | |
32 | exit 0 |