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