source:
rtems/c/src/lib/libbsp/sh/shsim/wrapup/Makefile.am
@
70af070b
Last change on this file since 70af070b was 70af070b, checked in by Ralf Corsepius <ralf.corsepius@…>, on 12/03/03 at 15:49:06 | |
---|---|
|
|
File size: 648 bytes |
Rev | Line | |
---|---|---|
[86ec6ed] | 1 | ## |
2 | ## $Id$ | |
3 | ## | |
4 | ||
[b9f84f1] | 5 | BSP_FILES = startup clock console timer gdbsci scitab |
[86ec6ed] | 6 | |
[b9f84f1] | 7 | CPU_PIECES = score |
[86ec6ed] | 8 | |
[e665ad1] | 9 | include $(top_srcdir)/../../../../automake/compile.am |
10 | include $(top_srcdir)/../../../../automake/lib.am | |
[86ec6ed] | 11 | |
12 | # bummer; have to use $foreach since % pattern subst rules only replace 1x | |
[70af070b] | 13 | OBJS = $(foreach piece, $(BSP_FILES), $(wildcard \ |
14 | ../$(piece)/$(ARCH)/*.$(OBJEXT))) $(foreach piece, $(CPU_PIECES), \ | |
15 | ../../../../libcpu/$(RTEMS_CPU)/$(RTEMS_CPU_MODEL)/$(ARCH)/$(piece).rel) | |
[86ec6ed] | 16 | |
17 | LIB = $(ARCH)/libbsp.a | |
18 | ||
19 | # | |
20 | # (OPTIONAL) Add local stuff here using += | |
21 | # | |
22 | ||
23 | $(LIB): ${OBJS} | |
24 | $(make-library) | |
25 | ||
[7692f20c] | 26 | all-local: $(LIB) |
[86ec6ed] | 27 | |
[e665ad1] | 28 | include $(top_srcdir)/../../../../automake/local.am |
Note: See TracBrowser
for help on using the repository browser.