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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [exec/] [wrapup/] [rtems/] [Makefile.am] - Blame information for rev 227

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

Line No. Rev Author Line
1 30 unneback
##
2
##  $Id: Makefile.am,v 1.2 2001-09-27 11:59:35 chris Exp $
3
##
4
 
5
AUTOMAKE_OPTIONS = foreign 1.4
6
 
7
LIBNAME = librtems
8
LIB = $(ARCH)/$(LIBNAME).a
9
 
10
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
11
include $(top_srcdir)/../../../automake/lib.am
12
 
13
CPU_OBJS = $(wildcard ../../score/cpu/$(RTEMS_CPU)/$(ARCH)/*.rel)
14
CORE_OBJS = $(wildcard ../../score/src/$(ARCH)/*.o)
15
SAPI_OBJS = $(wildcard ../../sapi/src/$(ARCH)/*.o)
16
RTEMS_OBJS = $(wildcard ../../rtems/src/$(ARCH)/*.o)
17
 
18
OBJS = $(CPU_OBJS) $(CORE_OBJS) $(RTEMS_OBJS) $(SAPI_OBJS)
19
 
20
SIZE_RTEMS = $(SHELL) $(PROJECT_ROOT)/tools/cpu/generic/size_rtems
21
 
22
$(LIB): ${OBJS}
23
        $(make-library)
24
        # cd $(PROJECT_ROOT) ; \
25
         $(SIZE_RTEMS) @RTEMS_BSP@ $(ARCH) \
26
         >$(PROJECT_RELEASE)/lib/sizeinfo$(LIB_VARIANT).txt
27
 
28
TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a
29
 
30
$(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a: $(LIB)
31
        $(INSTALL_DATA) $< $@
32
 
33
all-local: ${ARCH} $(TMPINSTALL_FILES)
34
 
35
include $(top_srcdir)/../../../automake/local.am

powered by: WebSVN 2.1.0

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