summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2001-10-12 18:47:00 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2001-10-12 18:47:00 +0000
commitd7aecdc8f866b978a4349b0e157f46877f60e414 (patch)
treedf28b2fa6611df7f1003f57447771edb69275761 /c/src/lib/libcpu
parent4d22f1a5b0aceff18f89f469c3722ac55afcb7f4 (diff)
downloadrtems-d7aecdc8f866b978a4349b0e157f46877f60e414.tar.bz2
2001-10-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* .cvsignore: Add autom4te.cache for autoconf > 2.52. * configure.in: Remove.
Diffstat (limited to 'c/src/lib/libcpu')
-rw-r--r--c/src/lib/libcpu/a29k/configure.ac34
-rw-r--r--c/src/lib/libcpu/configure.ac22
-rw-r--r--c/src/lib/libcpu/hppa1.1/configure.ac37
-rw-r--r--c/src/lib/libcpu/i386/configure.ac33
-rw-r--r--c/src/lib/libcpu/i960/configure.ac41
-rw-r--r--c/src/lib/libcpu/m68k/configure.ac47
-rw-r--r--c/src/lib/libcpu/mips/configure.ac54
-rw-r--r--c/src/lib/libcpu/mips64orion/configure.ac34
-rw-r--r--c/src/lib/libcpu/powerpc/configure.ac97
-rw-r--r--c/src/lib/libcpu/sh/configure.ac35
-rw-r--r--c/src/lib/libcpu/sh/sh7032/configure.ac38
-rw-r--r--c/src/lib/libcpu/sh/sh7045/configure.ac37
-rw-r--r--c/src/lib/libcpu/sh/sh7750/configure.ac6
-rw-r--r--c/src/lib/libcpu/sparc/configure.ac40
14 files changed, 552 insertions, 3 deletions
diff --git a/c/src/lib/libcpu/a29k/configure.ac b/c/src/lib/libcpu/a29k/configure.ac
new file mode 100644
index 0000000000..52c2c92510
--- /dev/null
+++ b/c/src/lib/libcpu/a29k/configure.ac
@@ -0,0 +1,34 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([clock])
+RTEMS_TOP(../../../../..)
+AC_CONFIG_AUX_DIR(../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libcpu-a29k,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_ENABLE_BARE
+RTEMS_ENV_RTEMSBSP
+
+RTEMS_CHECK_CPU
+RTEMS_CANONICAL_HOST
+
+RTEMS_PROJECT_ROOT
+
+RTEMS_PROG_CC_FOR_TARGET
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+clock/Makefile
+timer/Makefile])
+AC_OUTPUT
diff --git a/c/src/lib/libcpu/configure.ac b/c/src/lib/libcpu/configure.ac
new file mode 100644
index 0000000000..c6e7356845
--- /dev/null
+++ b/c/src/lib/libcpu/configure.ac
@@ -0,0 +1,22 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([README])
+RTEMS_TOP(../../../..)
+AC_CONFIG_AUX_DIR(../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libcpu,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_CHECK_CPU
+RTEMS_CANONICAL_HOST
+
+RTEMS_CPU_SUBDIRS
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile])
+AC_OUTPUT
diff --git a/c/src/lib/libcpu/hppa1.1/configure.ac b/c/src/lib/libcpu/hppa1.1/configure.ac
new file mode 100644
index 0000000000..7833b3757e
--- /dev/null
+++ b/c/src/lib/libcpu/hppa1.1/configure.ac
@@ -0,0 +1,37 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([clock])
+RTEMS_TOP(../../../../..)
+AC_CONFIG_AUX_DIR(../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libcpu-hppa1.1,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_ENABLE_BARE
+RTEMS_ENV_RTEMSBSP
+
+RTEMS_CHECK_CPU
+RTEMS_CANONICAL_HOST
+
+RTEMS_PROJECT_ROOT
+
+RTEMS_PROG_CC_FOR_TARGET
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+clock/Makefile
+include/Makefile
+milli/Makefile
+semaphore/Makefile
+timer/Makefile])
+AC_OUTPUT
diff --git a/c/src/lib/libcpu/i386/configure.ac b/c/src/lib/libcpu/i386/configure.ac
new file mode 100644
index 0000000000..5af14eeefd
--- /dev/null
+++ b/c/src/lib/libcpu/i386/configure.ac
@@ -0,0 +1,33 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([cpuModel.h])
+RTEMS_TOP(../../../../..)
+AC_CONFIG_AUX_DIR(../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libcpu-i386,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_ENABLE_BARE
+RTEMS_ENV_RTEMSBSP
+
+RTEMS_CHECK_CPU
+RTEMS_CANONICAL_HOST
+
+RTEMS_PROJECT_ROOT
+
+RTEMS_PROG_CC_FOR_TARGET
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile])
+AC_OUTPUT
+
diff --git a/c/src/lib/libcpu/i960/configure.ac b/c/src/lib/libcpu/i960/configure.ac
new file mode 100644
index 0000000000..fd04e38159
--- /dev/null
+++ b/c/src/lib/libcpu/i960/configure.ac
@@ -0,0 +1,41 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([i960ca])
+RTEMS_TOP(../../../../..)
+AC_CONFIG_AUX_DIR(../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libcpu-i960,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_ENABLE_BARE
+RTEMS_ENV_RTEMSBSP
+
+RTEMS_CHECK_CPU
+RTEMS_CANONICAL_HOST
+
+RTEMS_PROJECT_ROOT
+
+RTEMS_PROG_CC_FOR_TARGET
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+
+AM_CONDITIONAL(i960ca, test "$RTEMS_CPU_MODEL" = "i960ca")
+AM_CONDITIONAL(i960ka, test "$RTEMS_CPU_MODEL" = "i960ka")
+AM_CONDITIONAL(i960rp, test "$RTEMS_CPU_MODEL" = "i960rp")
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+i960ca/Makefile
+i960ka/Makefile
+i960rp/Makefile
+include/Makefile])
+AC_OUTPUT
+
diff --git a/c/src/lib/libcpu/m68k/configure.ac b/c/src/lib/libcpu/m68k/configure.ac
new file mode 100644
index 0000000000..1eaf05d8e2
--- /dev/null
+++ b/c/src/lib/libcpu/m68k/configure.ac
@@ -0,0 +1,47 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([m68040])
+RTEMS_TOP(../../../../..)
+AC_CONFIG_AUX_DIR(../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libcpu-m68k,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_ENABLE_BARE
+RTEMS_ENV_RTEMSBSP
+
+RTEMS_CHECK_CPU
+RTEMS_CANONICAL_HOST
+
+RTEMS_PROJECT_ROOT
+
+RTEMS_PROG_CC_FOR_TARGET
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+
+AM_CONDITIONAL(shared, test "$RTEMS_CPU_MODEL" = "m68020" \
+|| test "$RTEMS_CPU_MODEL" = "m68020" \
+|| test "$RTEMS_CPU_MODEL" = "m68030" \
+|| test "$RTEMS_CPU_MODEL" = "m68lc040" \
+|| test "$RTEMS_CPU_MODEL" = "m68040" \
+|| test "$RTEMS_CPU_MODEL" = "m68ec040" \
+|| test "$RTEMS_CPU_MODEL" = "m68lc040" \
+|| test "$RTEMS_CPU_MODEL" = "m68060" )
+
+AM_CONDITIONAL(m68040, test "$RTEMS_CPU_MODEL" = "m68040")
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+shared/Makefile
+shared/cache/Makefile
+m68040/Makefile
+m68040/fpsp/Makefile])
+AC_OUTPUT
diff --git a/c/src/lib/libcpu/mips/configure.ac b/c/src/lib/libcpu/mips/configure.ac
new file mode 100644
index 0000000000..b3ac26a316
--- /dev/null
+++ b/c/src/lib/libcpu/mips/configure.ac
@@ -0,0 +1,54 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([clock])
+RTEMS_TOP(../../../../..)
+AC_CONFIG_AUX_DIR(../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libcpu-mips,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_ENABLE_BARE
+RTEMS_ENV_RTEMSBSP
+
+RTEMS_CHECK_CPU
+RTEMS_CANONICAL_HOST
+
+RTEMS_PROJECT_ROOT
+
+RTEMS_PROG_CC_FOR_TARGET
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+
+AM_CONDITIONAL(r46xx, test "$RTEMS_CPU_MODEL" = "R4600" \
+|| test "$RTEMS_CPU_MODEL" = "R4650" )
+
+AM_CONDITIONAL(tx39, test "$RTEMS_CPU_MODEL" = "tx3904")
+
+AM_CONDITIONAL(mongoosev, test "$RTEMS_CPU_MODEL" = "mongoosev")
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+clock/Makefile
+mongoosev/Makefile
+mongoosev/duart/Makefile
+mongoosev/include/Makefile
+mongoosev/vectorisrs/Makefile
+shared/Makefile
+shared/cache/Makefile
+shared/interrupts/Makefile
+r46xx/Makefile
+r46xx/vectorisrs/Makefile
+timer/Makefile
+tx39/Makefile
+tx39/include/Makefile
+tx39/vectorisrs/Makefile
+timer/Makefile])
+AC_OUTPUT
diff --git a/c/src/lib/libcpu/mips64orion/configure.ac b/c/src/lib/libcpu/mips64orion/configure.ac
new file mode 100644
index 0000000000..889470f154
--- /dev/null
+++ b/c/src/lib/libcpu/mips64orion/configure.ac
@@ -0,0 +1,34 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([clock])
+RTEMS_TOP(../../../../..)
+AC_CONFIG_AUX_DIR(../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libcpu-mips64orion,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_ENABLE_BARE
+RTEMS_ENV_RTEMSBSP
+
+RTEMS_CHECK_CPU
+RTEMS_CANONICAL_HOST
+
+RTEMS_PROJECT_ROOT
+
+RTEMS_PROG_CC_FOR_TARGET
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+clock/Makefile
+timer/Makefile])
+AC_OUTPUT
diff --git a/c/src/lib/libcpu/powerpc/configure.ac b/c/src/lib/libcpu/powerpc/configure.ac
new file mode 100644
index 0000000000..f34f99993a
--- /dev/null
+++ b/c/src/lib/libcpu/powerpc/configure.ac
@@ -0,0 +1,97 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([mpc6xx])
+RTEMS_TOP(../../../../..)
+AC_CONFIG_AUX_DIR(../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libcpu-powerpc,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_ENABLE_BARE
+RTEMS_ENV_RTEMSBSP
+
+RTEMS_CHECK_CPU
+RTEMS_CANONICAL_HOST
+
+RTEMS_PROJECT_ROOT
+
+RTEMS_PROG_CC_FOR_TARGET
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+
+AM_CONDITIONAL(shared, test "$RTEMS_CPU_MODEL" = "mpc750" \
+|| test "$RTEMS_CPU_MODEL" = "ppc603e" \
+|| test "$RTEMS_CPU_MODEL" = "mpc604" \
+|| test "$RTEMS_CPU_MODEL" = "mpc6xx" \
+|| test "$RTEMS_CPU_MODEL" = "mpc821" \
+|| test "$RTEMS_CPU_MODEL" = "mpc860" \
+|| test "$RTEMS_CPU_MODEL" = "mpc8xx" )
+
+## there are no 601 or 602 BSPs currently. The 505 BSPs are in user land.
+AM_CONDITIONAL(new_exception_processing, \
+test "$RTEMS_CPU_MODEL" = "mpc750" || \
+test "$RTEMS_CPU_MODEL" = "mpc604" || \
+test "$RTEMS_CPU_MODEL" = "mpc8xx" || \
+test "$RTEMS_CPU_MODEL" = "mpc860")
+
+## The goal is to get rid of the old exception processing code but
+## but all BSPs in the distribution must be migrated to the new model
+## first.
+AM_CONDITIONAL(old_exception_processing, \
+test "$RTEMS_CPU_MODEL" = "ppc403" || \
+test "$RTEMS_CPU_MODEL" = "mpc505" || \
+test "$RTEMS_CPU_MODEL" = "ppc603e" \
+)
+
+## test on CPU type
+AM_CONDITIONAL(mpc505, test "$RTEMS_CPU_MODEL" = "mpc505")
+AM_CONDITIONAL(mpc6xx, test "$RTEMS_CPU_MODEL" = "mpc6xx" \
+|| test "$RTEMS_CPU_MODEL" = "mpc604" \
+|| test "$RTEMS_CPU_MODEL" = "mpc750" )
+AM_CONDITIONAL(mpc8xx, test "$RTEMS_CPU_MODEL" = "mpc8xx" \
+|| test "$RTEMS_CPU_MODEL" = "mpc821" \
+|| test "$RTEMS_CPU_MODEL" = "mpc860" )
+AM_CONDITIONAL(ppc403, test "$RTEMS_CPU_MODEL" = "ppc403")
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+mpc505/Makefile
+mpc505/timer/Makefile
+mpc505/vectors/Makefile
+mpc505/ictrl/Makefile
+mpc8xx/Makefile
+mpc8xx/clock/Makefile
+mpc8xx/console-generic/Makefile
+mpc8xx/cpm/Makefile
+mpc8xx/exceptions/Makefile
+mpc8xx/include/Makefile
+mpc8xx/mmu/Makefile
+mpc8xx/timer/Makefile
+ppc403/Makefile
+ppc403/clock/Makefile
+ppc403/console/Makefile
+ppc403/ictrl/Makefile
+ppc403/timer/Makefile
+ppc403/vectors/Makefile
+mpc6xx/Makefile
+mpc6xx/clock/Makefile
+mpc6xx/timer/Makefile
+mpc6xx/exceptions/Makefile
+mpc6xx/mmu/Makefile
+mpc6xx/timer/Makefile
+mpc6xx/wrapup/Makefile
+new_exception_processing/Makefile
+old_exception_processing/Makefile
+shared/Makefile
+shared/include/Makefile
+shared/src/Makefile
+wrapup/Makefile])
+AC_OUTPUT
diff --git a/c/src/lib/libcpu/sh/configure.ac b/c/src/lib/libcpu/sh/configure.ac
new file mode 100644
index 0000000000..cd10a15c98
--- /dev/null
+++ b/c/src/lib/libcpu/sh/configure.ac
@@ -0,0 +1,35 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([sh7032])
+RTEMS_TOP(../../../../..)
+AC_CONFIG_AUX_DIR(../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libcpu-sh,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_ENABLE_BARE
+RTEMS_ENV_RTEMSBSP
+
+RTEMS_CHECK_CPU
+RTEMS_CANONICAL_HOST
+
+RTEMS_PROJECT_ROOT
+
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+
+case "$RTEMS_CPU_MODEL" in
+sh7032 ) AC_CONFIG_SUBDIRS([sh7032]);;
+sh7045 ) AC_CONFIG_SUBDIRS([sh7045]);;
+*) AC_MSG_ERROR([Invalid RTEMS_CPU_MODEL]);
+esac
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile])
+AC_OUTPUT
diff --git a/c/src/lib/libcpu/sh/sh7032/configure.ac b/c/src/lib/libcpu/sh/sh7032/configure.ac
new file mode 100644
index 0000000000..4c6f87f76a
--- /dev/null
+++ b/c/src/lib/libcpu/sh/sh7032/configure.ac
@@ -0,0 +1,38 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([include])
+RTEMS_TOP(../../../../../..)
+AC_CONFIG_AUX_DIR(../../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libcpu-sh-sh7032,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_ENABLE_BARE
+RTEMS_ENV_RTEMSBSP
+
+RTEMS_CHECK_CPU
+RTEMS_CANONICAL_HOST
+
+RTEMS_PROJECT_ROOT
+
+RTEMS_PROG_CC_FOR_TARGET
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+clock/Makefile
+delay/Makefile
+include/Makefile
+score/Makefile
+timer/Makefile
+sci/Makefile])
+AC_OUTPUT
diff --git a/c/src/lib/libcpu/sh/sh7045/configure.ac b/c/src/lib/libcpu/sh/sh7045/configure.ac
new file mode 100644
index 0000000000..75df2b9011
--- /dev/null
+++ b/c/src/lib/libcpu/sh/sh7045/configure.ac
@@ -0,0 +1,37 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([include])
+RTEMS_TOP(../../../../../..)
+AC_CONFIG_AUX_DIR(../../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libcpu-sh-sh7045,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_ENABLE_BARE
+RTEMS_ENV_RTEMSBSP
+
+RTEMS_CHECK_CPU
+RTEMS_CANONICAL_HOST
+
+RTEMS_PROJECT_ROOT
+
+RTEMS_PROG_CC_FOR_TARGET
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+clock/Makefile
+include/Makefile
+score/Makefile
+sci/Makefile
+timer/Makefile])
+AC_OUTPUT
diff --git a/c/src/lib/libcpu/sh/sh7750/configure.ac b/c/src/lib/libcpu/sh/sh7750/configure.ac
index bf31dc3299..68fce54f9a 100644
--- a/c/src/lib/libcpu/sh/sh7750/configure.ac
+++ b/c/src/lib/libcpu/sh/sh7750/configure.ac
@@ -1,6 +1,6 @@
-dnl Process this file with autoconf to produce a configure script.
-dnl
-dnl $Id$
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
AC_PREREQ(2.52)
AC_INIT
diff --git a/c/src/lib/libcpu/sparc/configure.ac b/c/src/lib/libcpu/sparc/configure.ac
new file mode 100644
index 0000000000..7c61a6334e
--- /dev/null
+++ b/c/src/lib/libcpu/sparc/configure.ac
@@ -0,0 +1,40 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([reg_win])
+RTEMS_TOP(../../../../..)
+AC_CONFIG_AUX_DIR(../../../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+
+AM_INIT_AUTOMAKE(rtems-c-src-lib-libcpu-sparc,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_ENABLE_BARE
+RTEMS_ENV_RTEMSBSP
+
+RTEMS_CHECK_CPU
+RTEMS_CANONICAL_HOST
+
+RTEMS_PROJECT_ROOT
+
+RTEMS_PROG_CC_FOR_TARGET
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
+
+AM_CONDITIONAL(has_instruction_cache, test "$RTEMS_CPU_MODEL" = "leon1" \
+|| test "$RTEMS_CPU_MODEL" = "leon2" )
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+cache/Makefile
+include/Makefile
+reg_win/Makefile
+syscall/Makefile])
+AC_OUTPUT
+