source:
rtems/c/src/lib/libbsp/powerpc/psim/wrapup/Makefile.am
@
5200506
Last change on this file since 5200506 was 5200506, checked in by Ralf Corsepius <ralf.corsepius@…>, on 12/02/03 at 05:42:50 | |
---|---|
|
|
File size: 782 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 | |
[d869f64e] | 19 | OBJS = $(foreach piece, $(BSP_PIECES), $(wildcard ../$(piece)/$(ARCH)/*.$(OBJEXT))) \ |
[6af8512c] | 20 | ../@exceptions@/$(ARCH)/rtems-cpu.rel \ |
[72965527] | 21 | $(foreach piece, $(GENERIC_PIECES), ../../../$(piece)/$(ARCH)/$(piece).rel) |
[4e36a2f] | 22 | LIB = $(ARCH)/libbsp.a |
23 | ||
24 | # | |
25 | # (OPTIONAL) Add local stuff here using += | |
26 | # | |
27 | ||
28 | $(LIB): $(OBJS) | |
29 | $(make-library) | |
30 | ||
[5200506] | 31 | all-local: $(LIB) |
[4e36a2f] | 32 | |
[ebdf51fd] | 33 | include $(top_srcdir)/../../../../automake/local.am |
Note: See TracBrowser
for help on using the repository browser.