source: rtems/c/src/lib/libbsp/sparc/erc32/wrapup/Makefile.am @ 445c0a0

4.104.114.84.95
Last change on this file since 445c0a0 was 445c0a0, checked in by Ralf Corsepius <ralf.corsepius@…>, on 07/04/02 at 08:56:18

2002-07-04 Ralf Corsepius <corsepiu@…>

  • wrapup/Makefile.am: Eliminate TMPINSTALL_FILES. Remove $(OBJS) from all-local.
  • Property mode set to 100644
File size: 894 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 = erc32sonic
8endif
9
10BSP_PIECES = startup console clock timer gnatsupp $(NETWORKING_DRIVER)
11# pieces to pick up out of libcpu/sparc
12CPU_PIECES = cache reg_win syscall
13
14# bummer; have to use $foreach since % pattern subst rules only replace 1x
15OBJS = $(foreach piece, $(BSP_PIECES), $(wildcard ../$(piece)/$(ARCH)/*.o)) \
16    $(foreach piece, $(CPU_PIECES), ../../../../libcpu/$(RTEMS_CPU)/$(piece)/$(ARCH)/*.o)
17LIB = $(ARCH)/libbsp.a
18
19include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
20include $(top_srcdir)/../../../../../../automake/compile.am
21include $(top_srcdir)/../../../../../../automake/lib.am
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.