summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-01-04 17:58:43 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-01-04 17:58:43 +0000
commitb91f03384bfc04b9e230e675b538a1bab79523bd (patch)
treeb203ccdd76cadeee8c03e21b05878679023a1cca
parent8217c40656e00102bb2f96c4b36edd47c0aadcfc (diff)
downloadrtems-b91f03384bfc04b9e230e675b538a1bab79523bd.tar.bz2
2002-01-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* ChangeLog: New. * configure.ac: New. * Makefile.am: New. * rtems/*: Copied from c/src/exec/rtems/optman. * sapi/*: Copied from c/src/exec/sapi/optman.
-rw-r--r--c/src/optman/ChangeLog7
-rw-r--r--c/src/optman/Makefile.am13
-rw-r--r--c/src/optman/configure.ac42
-rw-r--r--c/src/optman/rtems/.cvsignore2
-rw-r--r--c/src/optman/rtems/Makefile.am2
-rw-r--r--c/src/optman/sapi/.cvsignore2
6 files changed, 67 insertions, 1 deletions
diff --git a/c/src/optman/ChangeLog b/c/src/optman/ChangeLog
new file mode 100644
index 0000000000..eb863047af
--- /dev/null
+++ b/c/src/optman/ChangeLog
@@ -0,0 +1,7 @@
+2002-01-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
+
+ * ChangeLog: New.
+ * configure.ac: New.
+ * Makefile.am: New.
+ * rtems/*: Copied from c/src/exec/rtems/optman.
+ * sapi/*: Copied from c/src/exec/sapi/optman.
diff --git a/c/src/optman/Makefile.am b/c/src/optman/Makefile.am
new file mode 100644
index 0000000000..2587f523b5
--- /dev/null
+++ b/c/src/optman/Makefile.am
@@ -0,0 +1,13 @@
+##
+## $Id$
+##
+
+AUTOMAKE_OPTIONS = foreign 1.5
+ACLOCAL_AMFLAGS = -I ../../../aclocal
+
+include $(top_srcdir)/../../../automake/multilib.am
+
+SUBDIRS = rtems sapi
+
+include $(top_srcdir)/../../../automake/subdirs.am
+include $(top_srcdir)/../../../automake/local.am
diff --git a/c/src/optman/configure.ac b/c/src/optman/configure.ac
new file mode 100644
index 0000000000..e26e2807ab
--- /dev/null
+++ b/c/src/optman/configure.ac
@@ -0,0 +1,42 @@
+## Process this file with autoconf to produce a configure script.
+##
+## $Id$
+
+AC_PREREQ(2.52)
+AC_INIT
+AC_CONFIG_SRCDIR([rtems])
+RTEMS_TOP(../../..)
+AC_CONFIG_AUX_DIR(../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+
+AM_INIT_AUTOMAKE(rtems-c-src-optman,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_ENABLE_MULTILIB
+RTEMS_ENABLE_MULTIPROCESSING
+RTEMS_ENABLE_POSIX
+RTEMS_ENABLE_ITRON
+RTEMS_ENABLE_INLINES
+RTEMS_ENABLE_GCC28
+RTEMS_ENABLE_RTEMS_DEBUG
+
+RTEMS_ENV_RTEMSBSP
+RTEMS_CHECK_RTEMS_DEBUG
+
+RTEMS_CHECK_CPU
+RTEMS_CANONICAL_HOST
+
+RTEMS_PROJECT_ROOT
+
+RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
+RTEMS_CANONICALIZE_TOOLS
+
+RTEMS_CHECK_NEWLIB
+
+# Explicitly list all Makefiles here
+AC_CONFIG_FILES([Makefile
+rtems/Makefile
+sapi/Makefile
+])
+AC_OUTPUT
diff --git a/c/src/optman/rtems/.cvsignore b/c/src/optman/rtems/.cvsignore
new file mode 100644
index 0000000000..282522db03
--- /dev/null
+++ b/c/src/optman/rtems/.cvsignore
@@ -0,0 +1,2 @@
+Makefile
+Makefile.in
diff --git a/c/src/optman/rtems/Makefile.am b/c/src/optman/rtems/Makefile.am
index f1b797bc06..a56014e429 100644
--- a/c/src/optman/rtems/Makefile.am
+++ b/c/src/optman/rtems/Makefile.am
@@ -10,7 +10,7 @@ C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
PGMS = $(C_FILES:%.c=$(ARCH)/%.rel)
-include $(top_srcdir)/../../../automake/multilib.am
+include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
include $(top_srcdir)/../../../automake/compile.am
include $(top_srcdir)/../../../automake/lib.am
diff --git a/c/src/optman/sapi/.cvsignore b/c/src/optman/sapi/.cvsignore
new file mode 100644
index 0000000000..282522db03
--- /dev/null
+++ b/c/src/optman/sapi/.cvsignore
@@ -0,0 +1,2 @@
+Makefile
+Makefile.in