4.104.114.84.95
Last change
on this file since 0dcf5e12 was
0dcf5e12,
checked in by Joel Sherrill <joel.sherrill@…>, on 09/05/00 at 15:55:53
|
2000-09-04 Ralf Corsepius <corsepiu@…>
- clock/Makefile.am, console/Makefile.am, shmsupp/Makefile.am,
startup/Makefile.am, timer/Makefile.am, wrapup/Makefile.am: Include
compile.am
|
-
Property mode set to
100644
|
File size:
1.0 KB
|
Line | |
---|
1 | ## |
---|
2 | ## $Id$ |
---|
3 | ## |
---|
4 | |
---|
5 | AUTOMAKE_OPTIONS = foreign 1.4 |
---|
6 | |
---|
7 | include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg |
---|
8 | include $(top_srcdir)/../../../../../../automake/compile.am |
---|
9 | include $(top_srcdir)/../../../../../../automake/lib.am |
---|
10 | |
---|
11 | if HAS_MP |
---|
12 | BSP_MP_O_FILES = shmsupp |
---|
13 | endif |
---|
14 | BSP_FILES = startup clock console timer $(BSP_MP_O_FILES) |
---|
15 | |
---|
16 | # pieces to pick up out of libcpu/unix |
---|
17 | |
---|
18 | if HAS_MP |
---|
19 | GENERIC_MP_REL_FILES = shmdr |
---|
20 | endif |
---|
21 | GENERIC_FILES = $(GENERIC_MP_REL_FILES) |
---|
22 | |
---|
23 | # bummer; have to use $foreach since % pattern subst rules only replace 1x |
---|
24 | OBJS = $(foreach piece, $(BSP_FILES), $(wildcard ../$(piece)/$(ARCH)/*.o)) \ |
---|
25 | $(foreach piece, $(GENERIC_FILES), ../../../$(piece)/$(ARCH)/$(piece).rel) |
---|
26 | LIB = $(ARCH)/libbsp.a |
---|
27 | |
---|
28 | # |
---|
29 | # (OPTIONAL) Add local stuff here using += |
---|
30 | # |
---|
31 | |
---|
32 | $(LIB): $(OBJS) |
---|
33 | $(make-library) |
---|
34 | |
---|
35 | $(PROJECT_RELEASE)/lib/libbsp$(LIB_VARIANT).a: $(LIB) |
---|
36 | $(INSTALL_DATA) $< $@ |
---|
37 | |
---|
38 | TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/libbsp$(LIB_VARIANT).a |
---|
39 | |
---|
40 | all-local: $(ARCH) $(OBJS) $(LIB) $(TMPINSTALL_FILES) |
---|
41 | |
---|
42 | .PRECIOUS: $(LIB) |
---|
43 | |
---|
44 | include $(top_srcdir)/../../../../../../automake/local.am |
---|
Note: See
TracBrowser
for help on using the repository browser.