source: rtems/c/src/lib/libbsp/m68k/mvme167/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: 769 bytes
Line 
1##
2## $Id$
3##
4
5# We only build the networking device driver if HAS_NETWORKING was defined
6if HAS_NETWORKING
7NETWORKING_DRIVER = network
8endif
9
10BSP_PIECES = clock console fatal startup timer $(NETWORKING_DRIVER)
11
12# bummer; have to use $foreach since % pattern subst rules only replace 1x
13OBJS = $(foreach piece, $(BSP_PIECES), ../$(piece)/$(ARCH)/*.$(OBJEXT)) \
14    $(wildcard ../../../../libcpu/$(RTEMS_CPU)/shared/*/$(ARCH)/*.$(OBJEXT)) \
15    $(wildcard \
16    ../../../../libcpu/$(RTEMS_CPU)/$(RTEMS_CPU_MODEL)/fpsp/$(ARCH)/fpsp.rel)
17
18include $(top_srcdir)/../../../../automake/compile.am
19include $(top_srcdir)/../../../../automake/lib.am
20
21$(ARCH)/libbsp.a: $(OBJS)
22        $(make-library)
23
24noinst_DATA = $(ARCH)/libbsp.a
25
26include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.