source: rtems/c/src/lib/libbsp/powerpc/psim/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: 850 bytes
Line 
1##
2## $Id$
3##
4
5include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
6include $(top_srcdir)/../../../../../../automake/compile.am
7include $(top_srcdir)/../../../../../../automake/lib.am
8
9if HAS_MP
10GENERIC_MP_REL_PIECES = shmdr
11endif
12GENERIC_PIECES = $(GENERIC_MP_REL_PIECES)
13
14if HAS_MP
15BSP_MP_O_PIECES = shmsupp
16endif
17BSP_PIECES = startup clock console timer vectors $(BSP_MP_O_PIECES)
18
19# bummer; have to use $foreach since % pattern subst rules only replace 1x
20OBJS = $(foreach piece, $(BSP_PIECES), $(wildcard ../$(piece)/$(ARCH)/*.o)) \
21    ../@exceptions@/$(ARCH)/rtems-cpu.rel \
22    $(foreach piece, $(GENERIC_PIECES), ../../../$(piece)/$(ARCH)/$(piece).rel)
23LIB = $(ARCH)/libbsp.a
24
25#
26# (OPTIONAL) Add local stuff here using +=
27#
28
29$(LIB): $(OBJS)
30        $(make-library)
31
32all-local: $(ARCH) $(LIB)
33
34include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.