source: rtems/c/src/lib/libbsp/m68k/gen68360/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 Jan 5, 2004 at 6:14:08 AM

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: 772 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 = startup clock console 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 \
15    ../../../../libcpu/$(RTEMS_CPU)/shared/misc/$(ARCH)/*.$(OBJEXT)) \
16    $(wildcard \
17    ../../../../libcpu/$(RTEMS_CPU)/$(RTEMS_CPU_MODEL)/fpsp/$(ARCH)/fpsp.rel)
18
19include $(top_srcdir)/../../../../automake/compile.am
20include $(top_srcdir)/../../../../automake/lib.am
21
22$(ARCH)/libbsp.a: $(OBJS)
23        $(make-library)
24
25noinst_DATA = $(ARCH)/libbsp.a
26
27include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.