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

4.104.114.84.95
Last change on this file since d637822 was d637822, checked in by Joel Sherrill <joel.sherrill@…>, on Dec 16, 1997 at 7:02:12 PM

Pass in PROJECT_HOME so rtems-glom can run if the make is invoked
just in this directory.

  • Property mode set to 100644
File size: 1.1 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_HOME=$(PROJECT_HOME) \
36            $(PROJECT_RELEASE)/build-tools/rtems-glom \
37                -d $(PROJECT_HOME)/lib -v -V "$(LIB_VARIANT)" \
38                -a $(AR)
39 
40install:  all
41
Note: See TracBrowser for help on using the repository browser.