source: rtems/c/src/wrapup/Makefile.in @ d2632274

4.104.114.84.95
Last change on this file since d2632274 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@
8srcdir = @srcdir@
9top_srcdir = @top_srcdir@
10VPATH = @srcdir@
11RTEMS_ROOT = @RTEMS_ROOT@
12PROJECT_ROOT = @PROJECT_ROOT@
13RTEMS_CUSTOM = $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
14
15include $(RTEMS_CUSTOM)
16include $(PROJECT_ROOT)/make/lib.cfg
17 
18LIB=$(PROJECT_HOME)/lib/librtemsall.a
19 
20SRCS=$(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 
29CLEAN_ADDITIONS +=
30CLOBBER_ADDITIONS +=
31 
32all:    $(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 
38install:  all
39
Note: See TracBrowser for help on using the repository browser.