source: rtems/c/src/exec/wrapup/rtems/Makefile.am @ 5fa62fc4

4.104.114.84.95
Last change on this file since 5fa62fc4 was 5fa62fc4, checked in by Joel Sherrill <joel.sherrill@…>, on Sep 6, 2000 at 3:32:10 PM

2000-09-06 Ralf Corsepius <corsepiu@…>

  • wrapup/rtems/Makefile.am: Use PROJECT_TOPdir in path to size_rtems.
  • Property mode set to 100644
File size: 990 bytes
Line 
1##
2##  $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4
6
7LIBNAME = librtems
8LIB = $(ARCH)/$(LIBNAME).a
9
10include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
11include $(top_srcdir)/../../../automake/compile.am
12include $(top_srcdir)/../../../automake/lib.am
13
14CPU_OBJS = $(wildcard ../../score/cpu/$(RTEMS_CPU)/$(ARCH)/*.rel)
15CORE_OBJS = $(wildcard ../../score/src/$(ARCH)/*.o)
16SAPI_OBJS = $(wildcard ../../sapi/src/$(ARCH)/*.o)
17RTEMS_OBJS = $(wildcard ../../rtems/src/$(ARCH)/*.o)
18
19OBJS = $(CPU_OBJS) $(CORE_OBJS) $(RTEMS_OBJS) $(SAPI_OBJS)
20
21SIZE_RTEMS = $(SHELL) $(PROJECT_TOPdir)/tools/cpu/generic/size_rtems
22
23$(LIB): ${OBJS}
24        $(make-library)
25        # cd $(PROJECT_ROOT) ; \
26         $(SIZE_RTEMS) @RTEMS_BSP@ $(ARCH) \
27         >$(PROJECT_RELEASE)/lib/sizeinfo$(LIB_VARIANT).txt
28
29TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a
30
31$(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a: $(LIB)
32        $(INSTALL_DATA) $< $@
33
34all-local: ${ARCH} $(TMPINSTALL_FILES)
35
36include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.