source: rtems/c/src/lib/libbsp/mips/p4000/wrapup/Makefile.am @ 445c0a0

4.104.114.84.95
Last change on this file since 445c0a0 was 445c0a0, checked in by Ralf Corsepius <ralf.corsepius@…>, on Jul 4, 2002 at 8:56:18 AM

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

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