source:
rtems/c/src/lib/libbsp/powerpc/psim/wrapup/Makefile.am
@
6a5e592a
Last change on this file since 6a5e592a was 6a5e592a, checked in by Ralf Corsepius <ralf.corsepius@…>, on 12/03/03 at 14:38:19 | |
---|---|
|
|
File size: 788 bytes |
Rev | Line | |
---|---|---|
[df49c60] | 1 | ## |
[4e36a2f] | 2 | ## $Id$ |
[df49c60] | 3 | ## |
[4e36a2f] | 4 | |
[ebdf51fd] | 5 | include $(top_srcdir)/../../../../automake/compile.am |
6 | include $(top_srcdir)/../../../../automake/lib.am | |
[4e36a2f] | 7 | |
8 | if HAS_MP | |
9 | GENERIC_MP_REL_PIECES = shmdr | |
10 | endif | |
[8437994a] | 11 | GENERIC_PIECES = $(GENERIC_MP_REL_PIECES) |
[4e36a2f] | 12 | |
13 | if HAS_MP | |
14 | BSP_MP_O_PIECES = shmsupp | |
15 | endif | |
[df49c60] | 16 | BSP_PIECES = startup clock console timer vectors $(BSP_MP_O_PIECES) |
[4e36a2f] | 17 | |
18 | # bummer; have to use $foreach since % pattern subst rules only replace 1x | |
[6a5e592a] | 19 | OBJS = $(foreach piece, $(BSP_PIECES), $(wildcard \ |
20 | ../$(piece)/$(ARCH)/*.$(OBJEXT))) ../@exceptions@/$(ARCH)/rtems-cpu.rel \ | |
21 | $(foreach piece, $(GENERIC_PIECES), \ | |
22 | ../../../$(piece)/$(ARCH)/$(piece).rel) | |
[4e36a2f] | 23 | LIB = $(ARCH)/libbsp.a |
24 | ||
25 | # | |
26 | # (OPTIONAL) Add local stuff here using += | |
27 | # | |
28 | ||
29 | $(LIB): $(OBJS) | |
30 | $(make-library) | |
31 | ||
[5200506] | 32 | all-local: $(LIB) |
[4e36a2f] | 33 | |
[ebdf51fd] | 34 | include $(top_srcdir)/../../../../automake/local.am |
Note: See TracBrowser
for help on using the repository browser.