source: rtems/c/src/lib/libbsp/powerpc/psim/wrapup/Makefile.am @ bf423bd

Last change on this file since bf423bd was bf423bd, checked in by Joel Sherrill <joel.sherrill@…>, on Nov 22, 2004 at 11:32:33 PM

2004-11-22 Jennifer Averett <jennifer@…>

  • Makefile.am, wrapup/Makefile.am: Pick up SHM driver when MP enabled.
  • Property mode set to 100644
File size: 1.0 KB
Line 
1##
2## $Id$
3##
4
5if HAS_MP
6BSP_MP_O_FILES = shmsupp
7endif
8BSP_PIECES = startup clock console irq vectors $(BSP_MP_O_FILES)
9
10if HAS_MP
11GENERIC_MP_REL_FILES = shmdr
12endif
13GENERIC_FILES = $(GENERIC_MP_REL_FILES)
14
15# bummer; have to use $foreach since % pattern subst rules only replace 1x
16OBJS = $(foreach piece, $(BSP_PIECES), ../$(piece)/$(ARCH)/*.$(OBJEXT)) \
17    $(foreach piece, $(GENERIC_FILES), ../../../$(piece)/$(ARCH)/$(piece).rel) \
18    $(wildcard ../../../../libcpu/$(RTEMS_CPU)/shared/*/$(ARCH)/*.$(OBJEXT)) \
19    $(wildcard ../../../../libcpu/$(RTEMS_CPU)/mpc6xx/*/$(ARCH)/*.$(OBJEXT)) \
20    ../@exceptions@/$(ARCH)/rtems-cpu.rel \
21    $(wildcard ../../../../libcpu/$(RTEMS_CPU)/$(RTEMS_CPU_MODEL)/*/$(ARCH)/*.$(OBJEXT))
22LIB = $(ARCH)/libbsp.a
23
24include $(top_srcdir)/../../../../../../automake/compile.am
25include $(top_srcdir)/../../../../../../automake/lib.am
26
27#
28# (OPTIONAL) Add local stuff here using +=
29#
30
31$(LIB): $(OBJS)
32        $(make-library)
33
34all-local: $(ARCH) $(LIB)
35
36include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.