OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [exec/] [wrapup/] [rtems/] [Makefile.am] - Rev 274

Go to most recent revision | Compare with Previous | Blame | View Log

##
##  $Id: Makefile.am,v 1.2 2001-09-27 11:59:35 chris Exp $
##

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-local: ${ARCH} $(TMPINSTALL_FILES)

include $(top_srcdir)/../../../automake/local.am

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.