source:
rtems/c/src/lib/libbsp/mips/genmongoosev/wrapup/Makefile.am
@
f849f3e
Last change on this file since f849f3e was f849f3e, checked in by Joel Sherrill <joel.sherrill@…>, on 03/14/01 at 17:19:53 | |
---|---|
|
|
File size: 1.0 KB |
Line | |
---|---|
1 | ## |
2 | ## $Id$ |
3 | ## |
4 | |
5 | AUTOMAKE_OPTIONS = foreign 1.4 |
6 | |
7 | BSP_FILES = startup clock console timer |
8 | |
9 | include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg |
10 | include $(top_srcdir)/../../../../../../automake/compile.am |
11 | include $(top_srcdir)/../../../../../../automake/lib.am |
12 | |
13 | # bummer; have to use $foreach since % pattern subst rules only replace 1x |
14 | OBJS = $(foreach piece, $(BSP_FILES), $(wildcard ../$(piece)/$(ARCH)/*.o)) \ |
15 | $(wildcard ../../../../libcpu/$(RTEMS_CPU)/shared/*/$(ARCH)/*.o) \ |
16 | $(wildcard ../../../../libcpu/$(RTEMS_CPU)/mongoosev/*/$(ARCH)/*.o) \ |
17 | $(wildcard ../../../../libcpu/$(RTEMS_CPU)/$(RTEMS_CPU_MODEL)/$(ARCH)/*.o) \ |
18 | $(foreach piece, $(GENERIC_FILES), ../../../$(piece)/$(ARCH)/$(piece).rel) |
19 | |
20 | LIB = $(ARCH)/libbsp.a |
21 | |
22 | # |
23 | # (OPTIONAL) Add local stuff here using += |
24 | # |
25 | |
26 | $(LIB): ${OBJS} |
27 | $(make-library) |
28 | |
29 | $(PROJECT_RELEASE)/lib/libbsp$(LIB_VARIANT).a: $(LIB) |
30 | $(INSTALL_DATA) $< $@ |
31 | |
32 | TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/libbsp$(LIB_VARIANT).a |
33 | |
34 | all-local: ${ARCH} $(TMPINSTALL_FILES) |
35 | |
36 | include $(top_srcdir)/../../../../../../automake/local.am |
Note: See TracBrowser
for help on using the repository browser.