From 352c9b2035e32e56f10f261d94955d97f4ab0f1c Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 9 Nov 1999 22:07:23 +0000 Subject: This patch adds the basic framework for the ITRON 3.0 API implementation for RTEMS. --- c/src/exec/wrapup/Makefile.am | 6 +++- c/src/exec/wrapup/itron/Makefile.in | 58 +++++++++++++++++++++++++++++++++++++ c/src/exec/wrapup/posix/Makefile.in | 6 ---- 3 files changed, 63 insertions(+), 7 deletions(-) create mode 100644 c/src/exec/wrapup/itron/Makefile.in (limited to 'c/src/exec/wrapup') 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) -- cgit v1.2.3