From 20db683f786170432d5e0e4d89c4bc608720cc23 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Sun, 6 Jan 2002 20:22:06 +0000 Subject: 2002-01-06 Joel Sherrill * wrapup/.cvsignore: Readded. * include/.cvsignore: New file. --- c/src/exec/wrapup/Makefile.am | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 c/src/exec/wrapup/Makefile.am (limited to 'c/src/exec/wrapup/Makefile.am') diff --git a/c/src/exec/wrapup/Makefile.am b/c/src/exec/wrapup/Makefile.am new file mode 100644 index 0000000000..5d6e917049 --- /dev/null +++ b/c/src/exec/wrapup/Makefile.am @@ -0,0 +1,42 @@ +## +## $Id$ +## + +AUTOMAKE_OPTIONS = foreign 1.4 + +LIBNAME = librtemscpu +LIB = $(ARCH)/$(LIBNAME).a + +include $(top_srcdir)/../../../automake/multilib.am +include $(top_srcdir)/../../../automake/compile.am +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) + +if HAS_POSIX +POSIX_OBJS = $(wildcard ../posix/src/$(ARCH)/*.o) +endif + +if HAS_ITRON +ITRON_OBJS = $(wildcard ../itron/src/$(ARCH)/*.o) +endif + +OBJS = $(CPU_OBJS) $(CORE_OBJS) $(RTEMS_OBJS) $(SAPI_OBJS) \ + $(POSIX_OBJS) $(ITRON_OBJS) + +SIZE_RTEMS = $(SHELL) $(PROJECT_TOPdir)/tools/cpu/generic/size_rtems + +$(LIB): ${OBJS} + $(make-library) + +TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib$(MULTISUBDIR)/$(LIBNAME)$(LIB_VARIANT).a + +$(PROJECT_RELEASE)/lib$(MULTISUBDIR)/$(LIBNAME)$(LIB_VARIANT).a: $(LIB) + $(INSTALL_DATA) $< $@ + +all-local: ${ARCH} $(TMPINSTALL_FILES) + +include $(top_srcdir)/../../../automake/local.am -- cgit v1.2.3