source: rtems/c/src/lib/libbsp/sh/gensh1/wrapup/Makefile.am @ 6fd7b93

4.104.114.84.95
Last change on this file since 6fd7b93 was 6fd7b93, checked in by Ralf Corsepius <ralf.corsepius@…>, on 08/11/02 at 07:12:59

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

  • start/Makefile.am: Use .$(OBJEXT) instead of .o.
    • wrapup/Makefile.am: Use .$(OBJEXT) instead of .o.
  • Property mode set to 100644
File size: 806 bytes
Line 
1##
2## $Id$
3##
4## build and install libbsp
5##
6
7BSP_PIECES = startup scitab console
8
9# pieces to pick up out of libcpu/sh/sh7032
10CPU_PIECES = clock timer sci delay score
11
12# bummer; have to use $foreach since % pattern subst rules only replace 1x
13OBJS = $(foreach piece, $(BSP_PIECES), $(wildcard ../$(piece)/$(ARCH)/*.$(OBJEXT))) \
14    $(foreach piece, $(CPU_PIECES), ../../../../libcpu/$(RTEMS_CPU)/$(RTEMS_CPU_MODEL)/$(piece)/$(ARCH)/$(piece).rel)
15
16LIB = $(ARCH)/libbsp.a
17
18include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
19include $(top_srcdir)/../../../../../../automake/compile.am
20include $(top_srcdir)/../../../../../../automake/lib.am
21
22#
23# (OPTIONAL) Add local stuff here using =
24#
25
26$(LIB): $(OBJS)
27        $(make-library)
28
29all-local: $(ARCH) $(LIB)
30
31include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.