From fba12eb6ff4a91fcbac1c43dd3196114cc12756b Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 23 Nov 1999 13:29:04 +0000 Subject: Patch rtems-rc-19991117-11.diff from Ralf Corsepius to convert the libc directory to automake and "dozens of small fixes for Makefile.ins/configure.ins below c/src/lib." --- c/src/exec/wrapup/posix/Makefile.am | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 c/src/exec/wrapup/posix/Makefile.am (limited to 'c/src/exec/wrapup/posix/Makefile.am') 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 -- cgit v1.2.3