source: rtems/c/src/lib/libbsp/mips/p4000/wrapup/Makefile.am @ 5b4fc84

4.104.114.84.95
Last change on this file since 5b4fc84 was 5b4fc84, checked in by Ralf Corsepius <ralf.corsepius@…>, on 12/02/03 at 05:41:55

2003-12-02 Ralf Corsepius <corsepiu@…>

  • console/Makefile.am: Remove all-local: $(ARCH).
  • liblnk/Makefile.am: Remove all-local: $(ARCH).
  • start/Makefile.am: Remove all-local: $(ARCH).
  • startup/Makefile.am: Remove all-local: $(ARCH).
  • wrapup/Makefile.am: Remove all-local: $(ARCH).
  • Property mode set to 100644
File size: 964 bytes
Line 
1##
2## $Id$
3##
4
5BSP_FILES = startup console liblnk
6CPU_FILES = clock timer
7
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)/*.$(OBJEXT))) \
13    $(foreach piece, $(CPU_FILES), \
14        $(wildcard ../../../../libcpu/$(RTEMS_CPU)/$(piece)/$(ARCH)/*.$(OBJEXT))) \
15    $(wildcard ../../../../libcpu/$(RTEMS_CPU)/shared/*/$(ARCH)/*.$(OBJEXT)) \
16    $(wildcard ../../../../libcpu/$(RTEMS_CPU)/r46xx/*/$(ARCH)/*.$(OBJEXT)) \
17    $(wildcard ../../../../libcpu/$(RTEMS_CPU)/$(RTEMS_CPU_MODEL)/$(ARCH)/*.$(OBJEXT)) \
18    $(foreach piece, $(GENERIC_FILES), ../../../$(piece)/$(ARCH)/$(piece).rel)
19
20LIB = $(ARCH)/libbsp.a
21
22#
23# (OPTIONAL) Add local stuff here using +=
24#
25
26$(LIB): $(OBJS)
27        $(make-library)
28
29all-local: $(LIB)
30
31include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.