OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [gdb-5.3/] [utils/] [configure.in] - Rev 1765

Compare with Previous | Blame | View Log

AC_INIT([Makefile.in])

AC_PROG_INSTALL
AC_CANONICAL_SYSTEM

if test -d ${srcdir}/spu ; then
  configdirs="spu"
fi

case "${target}" in
  sparclite-*-*)
    if test -d ${srcdir}/sparclite ; then
      configdirs="$configdirs sparclite"
    fi
    ;;
  *mips*-*-pe* | *sh*-*-pe* | *arm*-*-wince | *arm*-wince-pe* )
    if test -d ${srcdir}/wince ; then
      configdirs="$configdirs wince"
    fi
    ;;
esac

all_subdirs=""
install_subdirs=""
mostlyclean_subdirs=""
clean_subdirs=""
distclean_subdirs=""
maintainer_clean_subdirs=""

for dir in $configdirs ; do
    all_subdirs="${all_subdirs} all-$dir"
    install_subdirs="${install_subdirs} install-$dir"
    mostlyclean_subdirs="${mostlyclean_subdirs} mostlyclean-$dir"
    clean_subdirs="${clean_subdirs} clean-$dir"
    distclean_subdirs="${distclean_subdirs} distclean-$dir"
    maintainer_clean_subdirs="${maintainer_clean_subdirs} maintainer-clean-$dir"
done

AC_SUBST([all_subdirs])
AC_SUBST([install_subdirs])
AC_SUBST([mostlyclean_subdirs])
AC_SUBST([clean_subdirs])
AC_SUBST([distclean_subdirs])
AC_SUBST([maintainer_clean_subdirs])

case "${srcdir}" in
  [[\\/]]* | ?:[[\\/]]* ) # Absolute
    abs_srcdir=${srcdir}
    ;;
  *) 
    abs_srcdir="../${srcdir}"
    ;;
esac
AC_SUBST([abs_srcdir])

case "${cache_file}" in
  [[\\/]]* | ?:[[\\/]]* ) # Absolute
    abs_cache_file=${cache_file}
    ;;
  *) 
    abs_cache_file="../${cache_file}"
    ;;
esac
subconfigure_args=${ac_configure_args}
subconfigure_args="${subconfigure_args} --cache-file=${abs_cache_file}"
AC_SUBST([subconfigure_args])

AC_OUTPUT([Makefile])

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.