source: rtems/c/src/lib/libbsp/mips/genmongoosev/wrapup/Makefile.am @ d16af043

4.104.114.84.95
Last change on this file since d16af043 was d16af043, checked in by Ralf Corsepius <ralf.corsepius@…>, on Jul 4, 2002 at 5:43:53 AM

2002-07-04 Ralf Corsepius <corsepiu@…>

  • wrapup/Makefile.am: Add $(LIB) to all-local.
  • Property mode set to 100644
File size: 892 bytes
Line 
1##
2## $Id$
3##
4
5BSP_FILES = startup clock console timer
6
7include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
8include $(top_srcdir)/../../../../../../automake/compile.am
9include $(top_srcdir)/../../../../../../automake/lib.am
10
11# bummer; have to use $foreach since % pattern subst rules only replace 1x
12OBJS = $(foreach piece, $(BSP_FILES), $(wildcard ../$(piece)/$(ARCH)/*.o)) \
13    $(wildcard ../../../../libcpu/$(RTEMS_CPU)/shared/*/$(ARCH)/*.o) \
14    $(wildcard ../../../../libcpu/$(RTEMS_CPU)/mongoosev/*/$(ARCH)/*.o) \
15    $(wildcard ../../../../libcpu/$(RTEMS_CPU)/$(RTEMS_CPU_MODEL)/$(ARCH)/*.o) \
16    $(foreach piece, $(GENERIC_FILES), ../../../$(piece)/$(ARCH)/$(piece).rel)
17
18LIB = $(ARCH)/libbsp.a
19
20#
21# (OPTIONAL) Add local stuff here using +=
22#
23
24$(LIB): ${OBJS}
25        $(make-library)
26
27all-local: ${ARCH} $(LIB) $(TMPINSTALL_FILES)
28
29include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.