1995-07-06 00:54:10 +02:00
|
|
|
dnl Process this file with autoconf to produce a configure script.
|
|
|
|
AC_PREREQ(2.3)dnl
|
|
|
|
AC_INIT(Makefile.in)
|
1993-02-04 01:22:22 +01:00
|
|
|
|
1995-07-06 00:54:10 +02:00
|
|
|
AC_CONFIG_AUX_DIR(`cd $srcdir;pwd`/..)
|
|
|
|
AC_CANONICAL_SYSTEM
|
|
|
|
AC_ARG_PROGRAM
|
1993-02-04 01:22:22 +01: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-24 23:49:24 +02:00
|
|
|
arm*-*-*) sim_target=arm ;;
|
1995-07-06 00:54:10 +02:00
|
|
|
h8300*-*-*) sim_target=h8300 ;;
|
1993-02-08 20:46:59 +01:00
|
|
|
h8500-*-*) sim_target=h8500 ;;
|
1995-01-16 01:55:22 +01:00
|
|
|
sh*-*-*) sim_target=sh ;;
|
1995-08-25 18:05:32 +02:00
|
|
|
powerpc-*-eabisim*) sim_target=ppc ;;
|
|
|
|
powerpcle-*-eabisim*) sim_target=ppc ;;
|
1995-01-16 01:55:22 +01:00
|
|
|
w65-*-*) sim_target=w65 ;;
|
1995-07-06 00:54:10 +02:00
|
|
|
z8k*-*-*) sim_target=z8k ;;
|
1993-02-08 20:46:59 +01:00
|
|
|
*) sim_target=none ;;
|
1993-02-04 01:22:22 +01:00
|
|
|
esac
|
|
|
|
|
|
|
|
configdirs=${sim_target}
|
1995-07-06 00:54:10 +02:00
|
|
|
AC_CONFIG_SUBDIRS($configdirs)
|
1993-02-04 01:22:22 +01:00
|
|
|
|
1995-07-06 00:54:10 +02:00
|
|
|
AC_OUTPUT(Makefile)
|