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

4.104.114.84.95
Last change on this file since e453d5c was 5fa62fc4, checked in by Joel Sherrill <joel.sherrill@…>, on 09/06/00 at 15:32:10

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
RevLine 
[fba12eb6]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
[d79bdeb]11include $(top_srcdir)/../../../automake/compile.am
[fba12eb6]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
[5fa62fc4]21SIZE_RTEMS = $(SHELL) $(PROJECT_TOPdir)/tools/cpu/generic/size_rtems
[fba12eb6]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
[df49c60]29TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a
[fba12eb6]30
31$(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a: $(LIB)
32        $(INSTALL_DATA) $< $@
33
[df49c60]34all-local: ${ARCH} $(TMPINSTALL_FILES)
[fba12eb6]35
36include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.