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

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

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

  • wrapup/itron/Makefile.am, wrapup/posix/Makefile.am, wrapup/rtems/Makefile.am: Include compile.am
  • Property mode set to 100644
File size: 988 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_ROOT)/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.