From 4e36a2f133c68aaf637e166385eff1a05b59f38e Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 31 Jan 2000 15:27:02 +0000 Subject: Patches rtems-rc-20000118-3.diff and rtems-rc-20000118-4.diff from Ralf Corsepius that contain: * Modifications, (minor) corrections, cleanups to most existing Makefile.ams * Adds automake support to all remaining BSPs which have not yet been converted to automake. * Makefile.am for all remaining wrapup/Makefile.ams --- c/src/lib/libbsp/powerpc/psim/configure.in | 52 ++++++++++-------------------- 1 file changed, 17 insertions(+), 35 deletions(-) (limited to 'c/src/lib/libbsp/powerpc/psim/configure.in') diff --git a/c/src/lib/libbsp/powerpc/psim/configure.in b/c/src/lib/libbsp/powerpc/psim/configure.in index 0b6351347d..7a86b783a8 100644 --- a/c/src/lib/libbsp/powerpc/psim/configure.in +++ b/c/src/lib/libbsp/powerpc/psim/configure.in @@ -8,50 +8,32 @@ RTEMS_TOP(../../../../../..) AC_CONFIG_AUX_DIR(../../../../../..) RTEMS_CANONICAL_TARGET_CPU -AC_PROG_MAKE_SET -AC_PROG_INSTALL +AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-powerpc-psim,$RTEMS_VERSION,no) AM_MAINTAINER_MODE -RTEMS_ENABLE_MULTIPROCESSING -RTEMS_ENABLE_NETWORKING RTEMS_ENABLE_LIBCDIR +RTEMS_ENABLE_MULTIPROCESSING RTEMS_ENV_RTEMSBSP - -RTEMS_CHECK_CPU -RTEMS_CANONICAL_HOST - -RTEMS_PROJECT_ROOT - -dnl check target cc -RTEMS_PROG_CC_FOR_TARGET -RTEMS_CANONICALIZE_TOOLS - RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP) +RTEMS_CHECK_BSP_CACHE(RTEMS_BSP) RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP) -RTEMS_CHECK_NETWORKING(RTEMS_BSP) - -# find all the Makefiles for the BSPs -RTEMS_CHECK_MAKEFILE(.) - -# HACK: sed out bsp-tools from makefiles -t="tools" -if test -d "$srcdir/$t"; then - bsptools_cfgdirs="$bsptools_cfgdirs $t" - makefiles=`echo "$makefiles" | sed -e "s%.*$t/.*Makefile%%g"` -fi +RTEMS_CANONICAL_HOST -if test "$HAS_MP" = "yes"; then -: -else - # HACK: sed out shmsupp/Makefile from makefiles - t="shmsupp" - makefiles=`echo "$makefiles" | sed -e "s%.*$t/.*Makefile%%g"` -fi +RTEMS_PROJECT_ROOT AM_CONDITIONAL(HAS_MP,test "$HAS_MP" = "yes") -AC_CONFIG_SUBDIRS($bsptools_cfgdirs) +AC_CONFIG_SUBDIRS(tools) -# try to explicitly list a Makefile here +# Explicitly list a Makefile here AC_OUTPUT( -$makefiles) +Makefile +clock/Makefile +console/Makefile +include/Makefile +shmsupp/Makefile +start/Makefile +startup/Makefile +timer/Makefile +vectors/Makefile +wrapup/Makefile) -- cgit v1.2.3