source: rtems/c/src/lib/libbsp/sh/gensh2/wrapup/Makefile.am @ 6411947

4.104.114.84.95
Last change on this file since 6411947 was 6411947, checked in by Ralf Corsepius <ralf.corsepius@…>, on 01/05/04 at 06:14:08

2004-01-05 Ralf Corsepius <corsepiu@…>

  • wrapup/Makefile.am: Eliminate $(LIB). Use noinst_DATA to trigger building libbsp.a.
  • Property mode set to 100644
File size: 662 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/sh7045
10CPU_PIECES = clock timer sci score
11
12# bummer; have to use $foreach since % pattern subst rules only replace 1x
13OBJS = $(foreach piece, $(BSP_PIECES), ../$(piece)/$(ARCH)/$(piece).rel) \
14    $(foreach piece, $(CPU_PIECES), \
15    ../../../../libcpu/$(RTEMS_CPU)/$(RTEMS_CPU_MODEL)/$(ARCH)/$(piece).rel)
16
17include $(top_srcdir)/../../../../automake/compile.am
18include $(top_srcdir)/../../../../automake/lib.am
19
20$(ARCH)/libbsp.a: $(OBJS)
21        $(make-library)
22
23noinst_DATA = $(ARCH)/libbsp.a
24
25include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.