diff options
Diffstat (limited to 'c/src/exec/wrapup')
-rw-r--r-- | c/src/exec/wrapup/itron/Makefile.am | 36 | ||||
-rw-r--r-- | c/src/exec/wrapup/itron/Makefile.in | 58 | ||||
-rw-r--r-- | c/src/exec/wrapup/posix/Makefile.am | 36 | ||||
-rw-r--r-- | c/src/exec/wrapup/posix/Makefile.in | 58 | ||||
-rw-r--r-- | c/src/exec/wrapup/rtems/Makefile.am | 36 | ||||
-rw-r--r-- | c/src/exec/wrapup/rtems/Makefile.in | 64 |
6 files changed, 108 insertions, 180 deletions
diff --git a/c/src/exec/wrapup/itron/Makefile.am b/c/src/exec/wrapup/itron/Makefile.am new file mode 100644 index 0000000000..58ceeb6d05 --- /dev/null +++ b/c/src/exec/wrapup/itron/Makefile.am @@ -0,0 +1,36 @@ +## +## $Id$ +## + +AUTOMAKE_OPTIONS = foreign 1.4 + +if HAS_ITRON +LIBNAME = libitron +LIB = $(ARCH)/$(LIBNAME).a +endif + +include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg +include $(top_srcdir)/../../../automake/lib.am + +if HAS_ITRON + +ITRON_OBJS = $(wildcard ../../itron/src/$(ARCH)/*.o) + +OBJS = $(ITRON_OBJS) + +$(LIB): ${OBJS} + $(make-library) + +ITRON_LIB = \ +$(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a + +$(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a: $(LIB) + $(INSTALL_DATA) $< $@ + +all: ${ARCH} $(LIB) $(TMPINSTALL_FILES) + +endif + +TMPINSTALL_FILES += $(ITRON_LIB) + +include $(top_srcdir)/../../../automake/local.am diff --git a/c/src/exec/wrapup/itron/Makefile.in b/c/src/exec/wrapup/itron/Makefile.in deleted file mode 100644 index eecd38fc21..0000000000 --- a/c/src/exec/wrapup/itron/Makefile.in +++ /dev/null @@ -1,58 +0,0 @@ -# -# $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.am b/c/src/exec/wrapup/posix/Makefile.am new file mode 100644 index 0000000000..d80634763d --- /dev/null +++ b/c/src/exec/wrapup/posix/Makefile.am @@ -0,0 +1,36 @@ +## +## $Id$ +## + +AUTOMAKE_OPTIONS = foreign 1.4 + +if HAS_POSIX +LIBNAME = libposix +LIB = $(ARCH)/$(LIBNAME).a +endif + +include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg +include $(top_srcdir)/../../../automake/lib.am + +if HAS_POSIX + +POSIX_OBJS = $(wildcard ../../posix/src/$(ARCH)/*.o) + +OBJS = $(POSIX_OBJS) + +$(LIB): ${OBJS} + $(make-library) + +POSIX_LIB = \ +$(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a + +$(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a: $(LIB) + $(INSTALL_DATA) $< $@ + +all: ${ARCH} $(LIB) $(TMPINSTALL_FILES) + +endif + +TMPINSTALL_FILES += $(POSIX_LIB) + +include $(top_srcdir)/../../../automake/local.am diff --git a/c/src/exec/wrapup/posix/Makefile.in b/c/src/exec/wrapup/posix/Makefile.in deleted file mode 100644 index 4ea34f75fb..0000000000 --- a/c/src/exec/wrapup/posix/Makefile.in +++ /dev/null @@ -1,58 +0,0 @@ -# -# $Id$ -# - -@SET_MAKE@ -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = wrapup/posix - -RTEMS_ROOT = @RTEMS_ROOT@ -PROJECT_ROOT = @PROJECT_ROOT@ - -VPATH = @srcdir@ - -POSIX_OBJS = $(wildcard ../../posix/src/$(ARCH)/*.o) - -OBJS = $(CPU_OBJS) $(CORE_OBJS) $(POSIX_OBJS) $(SAPI_OBJS) -# HACK: AM_CONDITIONAL -LIB = @HAS_POSIX_TRUE@$(ARCH)/libposix.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_POSIX_TRUE@${ARCH} $(SRCS) $(LIB) -@HAS_POSIX_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/rtems/Makefile.am b/c/src/exec/wrapup/rtems/Makefile.am new file mode 100644 index 0000000000..d2cadc9a58 --- /dev/null +++ b/c/src/exec/wrapup/rtems/Makefile.am @@ -0,0 +1,36 @@ +## +## $Id$ +## + +AUTOMAKE_OPTIONS = foreign 1.4 + +LIBNAME = librtems +LIB = $(ARCH)/$(LIBNAME).a + +include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg +include $(top_srcdir)/../../../automake/lib.am + +CPU_OBJS = $(wildcard ../../score/cpu/$(RTEMS_CPU)/$(ARCH)/*.rel) +CORE_OBJS = $(wildcard ../../score/src/$(ARCH)/*.o) +SAPI_OBJS = $(wildcard ../../sapi/src/$(ARCH)/*.o) +RTEMS_OBJS = $(wildcard ../../rtems/src/$(ARCH)/*.o) + +OBJS = $(CPU_OBJS) $(CORE_OBJS) $(RTEMS_OBJS) $(SAPI_OBJS) + +SIZE_RTEMS = $(SHELL) $(PROJECT_ROOT)/tools/cpu/generic/size_rtems + +$(LIB): ${OBJS} + $(make-library) + # cd $(PROJECT_ROOT) ; \ + $(SIZE_RTEMS) @RTEMS_BSP@ $(ARCH) \ + >$(PROJECT_RELEASE)/lib/sizeinfo$(LIB_VARIANT).txt + +TMPINSTALL_FILES += \ +$(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a + +$(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a: $(LIB) + $(INSTALL_DATA) $< $@ + +all: ${ARCH} $(TMPINSTALL_FILES) + +include $(top_srcdir)/../../../automake/local.am diff --git a/c/src/exec/wrapup/rtems/Makefile.in b/c/src/exec/wrapup/rtems/Makefile.in deleted file mode 100644 index 8995bf5e46..0000000000 --- a/c/src/exec/wrapup/rtems/Makefile.in +++ /dev/null @@ -1,64 +0,0 @@ -# -# $Id$ -# - -@SET_MAKE@ -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = wrapup/rtems - -RTEMS_ROOT = @RTEMS_ROOT@ -PROJECT_ROOT = @PROJECT_ROOT@ - -VPATH = @srcdir@ - -CPU_OBJS = $(wildcard ../../score/cpu/$(RTEMS_CPU)/$(ARCH)/*.rel) -CORE_OBJS = $(wildcard ../../score/src/$(ARCH)/*.o) -SAPI_OBJS = $(wildcard ../../sapi/src/$(ARCH)/*.o) -RTEMS_OBJS = $(wildcard ../../rtems/src/$(ARCH)/*.o) - -OBJS = $(CPU_OBJS) $(CORE_OBJS) $(RTEMS_OBJS) $(SAPI_OBJS) -LIB = $(ARCH)/librtems.a - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(RTEMS_ROOT)/make/lib.cfg - -INSTALL_CHANGE = @INSTALL_CHANGE@ - -SIZE_RTEMS = $(SHELL) $(PROJECT_ROOT)/tools/cpu/generic/size_rtems - -# -# (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) - # cd $(PROJECT_ROOT) ; \ - $(SIZE_RTEMS) @RTEMS_BSP@ $(ARCH) \ - >$(PROJECT_RELEASE)/lib/sizeinfo$(LIB_VARIANT).txt - -all: ${ARCH} $(SRCS) $(LIB) - $(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 |