1995-07-06 06:54:10 +08:00
|
|
|
dnl Process this file with autoconf to produce a configure script.
|
|
|
|
AC_PREREQ(2.3)dnl
|
|
|
|
AC_INIT(Makefile.in)
|
1993-02-04 08:22:22 +08:00
|
|
|
|
1995-07-06 06:54:10 +08:00
|
|
|
AC_CONFIG_AUX_DIR(`cd $srcdir;pwd`/..)
|
|
|
|
AC_CANONICAL_SYSTEM
|
|
|
|
AC_ARG_PROGRAM
|
1993-02-04 08:22:22 +08:00
|
|
|
|
|
|
|
# WHEN ADDING ENTRIES TO THIS MATRIX:
|
|
|
|
# Make sure that the left side always has two dashes. Otherwise you
|
|
|
|
# can get spurious matches. Even for unambiguous cases, do this as a
|
|
|
|
# convention, else the table becomes a real mess to understand and maintain.
|
|
|
|
|
|
|
|
case "${target}" in
|
1995-05-25 05:49:24 +08:00
|
|
|
arm*-*-*) sim_target=arm ;;
|
1995-07-06 06:54:10 +08:00
|
|
|
h8300*-*-*) sim_target=h8300 ;;
|
1993-02-09 03:46:59 +08:00
|
|
|
h8500-*-*) sim_target=h8500 ;;
|
1995-01-16 08:55:22 +08:00
|
|
|
sh*-*-*) sim_target=sh ;;
|
1995-08-26 00:05:32 +08:00
|
|
|
powerpc-*-eabisim*) sim_target=ppc ;;
|
|
|
|
powerpcle-*-eabisim*) sim_target=ppc ;;
|
1995-01-16 08:55:22 +08:00
|
|
|
w65-*-*) sim_target=w65 ;;
|
1995-07-06 06:54:10 +08:00
|
|
|
z8k*-*-*) sim_target=z8k ;;
|
1993-02-09 03:46:59 +08:00
|
|
|
*) sim_target=none ;;
|
1993-02-04 08:22:22 +08:00
|
|
|
esac
|
|
|
|
|
|
|
|
configdirs=${sim_target}
|
1995-07-06 06:54:10 +08:00
|
|
|
AC_CONFIG_SUBDIRS($configdirs)
|
1993-02-04 08:22:22 +08:00
|
|
|
|
1995-07-06 06:54:10 +08:00
|
|
|
AC_OUTPUT(Makefile)
|