source: rtems/c/src/lib/libbsp/mips/p4000/wrapup/Makefile.am @ 914981ce

4.104.114.84.95
Last change on this file since 914981ce was 914981ce, checked in by Ralf Corsepius <ralf.corsepius@…>, on Aug 11, 2002 at 6:55:19 AM

2002-08-11 Ralf Corsepius <corsepiu@…>

  • console/Makefile.am: Use .$(OBJEXT) instead of .o.
    • liblnk/Makefile.am: Use .$(OBJEXT) instead of .o.
    • start/Makefile.am: Use .$(OBJEXT) instead of .o.
    • startup/Makefile.am: Use .$(OBJEXT) instead of .o.
    • wrapup/Makefile.am: Use .$(OBJEXT) instead of .o.
  • Property mode set to 100644
File size: 1.0 KB
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)/*.$(OBJEXT))) \
14    $(foreach piece, $(CPU_FILES), \
15        $(wildcard ../../../../libcpu/$(RTEMS_CPU)/$(piece)/$(ARCH)/*.$(OBJEXT))) \
16    $(wildcard ../../../../libcpu/$(RTEMS_CPU)/shared/*/$(ARCH)/*.$(OBJEXT)) \
17    $(wildcard ../../../../libcpu/$(RTEMS_CPU)/r46xx/*/$(ARCH)/*.$(OBJEXT)) \
18    $(wildcard ../../../../libcpu/$(RTEMS_CPU)/$(RTEMS_CPU_MODEL)/$(ARCH)/*.$(OBJEXT)) \
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.