4.104.114.84.95
Last change
on this file since 87cec48 was
674c900,
checked in by Joel Sherrill <joel.sherrill@…>, on 12/10/97 at 16:58:00
|
Modified a lot of files to take a first cut at supporting building from
any directory in the build tree. The only variable which must be set
before the command "gmake" is invoked is RTEMS_BSP (e.g. RTEMS_BSP=erc32).
|
-
Property mode set to
100644
|
File size:
1.0 KB
|
Line | |
---|
1 | # |
---|
2 | # $Id$ |
---|
3 | # |
---|
4 | # build and install "glommed" librtemsall.a |
---|
5 | # |
---|
6 | |
---|
7 | @SET_MAKE@ |
---|
8 | srcdir = @srcdir@ |
---|
9 | top_srcdir = @top_srcdir@ |
---|
10 | VPATH = @srcdir@ |
---|
11 | RTEMS_ROOT = @RTEMS_ROOT@ |
---|
12 | PROJECT_ROOT = @PROJECT_ROOT@ |
---|
13 | RTEMS_CUSTOM = $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg |
---|
14 | |
---|
15 | include $(RTEMS_CUSTOM) |
---|
16 | include $(PROJECT_ROOT)/make/lib.cfg |
---|
17 | |
---|
18 | LIB=$(PROJECT_HOME)/lib/librtemsall.a |
---|
19 | |
---|
20 | SRCS=$(wildcard $(PROJECT_HOME)/lib/libbsp$(LIB_VARIANT).a) \ |
---|
21 | $(PROJECT_HOME)/lib/librtems$(LIB_VARIANT).a \ |
---|
22 | $(wildcard $(PROJECT_HOME)/lib/libposix$(LIB_VARIANT).a) \ |
---|
23 | $(wildcard $(PROJECT_HOME)/lib/libka9q$(LIB_VARIANT).a) \ |
---|
24 | $(PROJECT_HOME)/lib/libcsupport$(LIB_VARIANT).a \ |
---|
25 | $(PROJECT_HOME)/lib/libmisc$(LIB_VARIANT).a \ |
---|
26 | $(wildcard $(PROJECT_HOME)/lib/rtems-ctor$(LIB_VARIANT).o) \ |
---|
27 | $(wildcard $(PROJECT_HOME)/lib/libno-ctor$(LIB_VARIANT).a) |
---|
28 | |
---|
29 | CLEAN_ADDITIONS += |
---|
30 | CLOBBER_ADDITIONS += |
---|
31 | |
---|
32 | all: $(ARCH) $(LIB) |
---|
33 | |
---|
34 | $(LIB): $(SRCS) |
---|
35 | $(PROJECT_RELEASE)/build-tools/rtems-glom \ |
---|
36 | -d $(PROJECT_HOME)/lib -v -V "$(LIB_VARIANT)" -a $(AR) |
---|
37 | |
---|
38 | install: all |
---|
39 | |
---|
Note: See
TracBrowser
for help on using the repository browser.