summaryrefslogtreecommitdiffstats
path: root/c/src/exec/wrapup
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-11-09 22:07:23 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-11-09 22:07:23 +0000
commit352c9b2035e32e56f10f261d94955d97f4ab0f1c (patch)
treef433e95ae0ab8d8854ea19b7f4bfab3ffb431726 /c/src/exec/wrapup
parent1007c3c8bae39e479f4c64d6c9ad6681442f7e8c (diff)
downloadrtems-352c9b2035e32e56f10f261d94955d97f4ab0f1c.tar.bz2
This patch adds the basic framework for the ITRON 3.0 API implementation
for RTEMS.
Diffstat (limited to 'c/src/exec/wrapup')
-rw-r--r--c/src/exec/wrapup/Makefile.am6
-rw-r--r--c/src/exec/wrapup/itron/Makefile.in58
-rw-r--r--c/src/exec/wrapup/posix/Makefile.in6
3 files changed, 63 insertions, 7 deletions
diff --git a/c/src/exec/wrapup/Makefile.am b/c/src/exec/wrapup/Makefile.am
index 7ffcb8282c..67e58c56c3 100644
--- a/c/src/exec/wrapup/Makefile.am
+++ b/c/src/exec/wrapup/Makefile.am
@@ -8,7 +8,11 @@ if HAS_POSIX
POSIX_DIRS = posix
endif
-SUBDIRS = rtems $(POSIX_DIRS)
+if HAS_ITRON
+ITRON_DIRS = itron
+endif
+
+SUBDIRS = rtems $(POSIX_DIRS) $(ITRON_DIRS)
include $(top_srcdir)/../../../automake/subdirs.am
include $(top_srcdir)/../../../automake/local.am
diff --git a/c/src/exec/wrapup/itron/Makefile.in b/c/src/exec/wrapup/itron/Makefile.in
new file mode 100644
index 0000000000..eecd38fc21
--- /dev/null
+++ b/c/src/exec/wrapup/itron/Makefile.in
@@ -0,0 +1,58 @@
+#
+# $Id$
+#
+
+@SET_MAKE@
+srcdir = @srcdir@
+top_srcdir = @top_srcdir@
+top_builddir = ../..
+subdir = wrapup/itron
+
+RTEMS_ROOT = @RTEMS_ROOT@
+PROJECT_ROOT = @PROJECT_ROOT@
+
+VPATH = @srcdir@
+
+ITRON_OBJS = $(wildcard ../../itron/src/$(ARCH)/*.o)
+
+OBJS = $(ITRON_OBJS)
+# HACK: AM_CONDITIONAL
+LIB = @HAS_ITRON_TRUE@$(ARCH)/libitron.a
+
+include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
+include $(RTEMS_ROOT)/make/lib.cfg
+
+INSTALL_CHANGE = @INSTALL_CHANGE@
+
+#
+# (OPTIONAL) Add local stuff here using +=
+#
+
+DEFINES +=
+CPPFLAGS +=
+CFLAGS +=
+
+LD_PATHS +=
+LD_LIBS +=
+LDFLAGS +=
+
+#
+# Add your list of files to delete here. The config files
+# already know how to delete some stuff, so you may want
+# to just run 'make clean' first to see what gets missed.
+# 'make clobber' already includes 'make clean'
+#
+
+CLEAN_ADDITIONS +=
+CLOBBER_ADDITIONS +=
+
+$(LIB): ${OBJS}
+ $(make-library)
+
+# HACK: AM_CONDITIONAL
+all: @HAS_ITRON_TRUE@${ARCH} $(SRCS) $(LIB)
+@HAS_ITRON_TRUE@ @$(INSTALL_VARIANT) -m 644 $(LIB) $(PROJECT_RELEASE)/lib
+
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ cd $(top_builddir) \
+ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
diff --git a/c/src/exec/wrapup/posix/Makefile.in b/c/src/exec/wrapup/posix/Makefile.in
index 86b227b2e0..4ea34f75fb 100644
--- a/c/src/exec/wrapup/posix/Makefile.in
+++ b/c/src/exec/wrapup/posix/Makefile.in
@@ -13,12 +13,6 @@ PROJECT_ROOT = @PROJECT_ROOT@
VPATH = @srcdir@
-#
-# This is really temporary until posix is more an integral part of the tree.
-#
-#CPU_OBJS=$(wildcard ../../score/cpu/$(RTEMS_CPU)/$(ARCH)/*.rel)
-#CORE_OBJS=$(wildcard ../../score/src/$(ARCH)/*.o)
-#SAPI_OBJS=$(wildcard ../../sapi/src/$(ARCH)/*.o)
POSIX_OBJS = $(wildcard ../../posix/src/$(ARCH)/*.o)
OBJS = $(CPU_OBJS) $(CORE_OBJS) $(POSIX_OBJS) $(SAPI_OBJS)