source: rtems/c/build-tools/scripts/Makefile.in @ 3a7782b

4.104.114.84.95
Last change on this file since 3a7782b 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: 704 bytes
Line 
1#
2# $Id$
3#
4# RTEMS build tools
5# NOTE: of course we can't use any of these tools
6#               in this Makefile.  Most notably: install-if-change
7#
8
9@SET_MAKE@
10srcdir = @srcdir@
11top_srcdir = @top_srcdir@
12VPATH = @srcdir@
13RTEMS_ROOT = @RTEMS_ROOT@
14PROJECT_ROOT = @PROJECT_ROOT@
15RTEMS_CUSTOM = $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
16
17include $(RTEMS_CUSTOM)
18include $(RTEMS_ROOT)/make/leaf.cfg
19
20DESTDIR=$(PROJECT_RELEASE)/build-tools
21
22PGMS=install-if-change rcs-clean lock-directory unlock-directory rtems-glom
23
24INSTALLED=$(PGMS:%=$(DESTDIR)/%)
25
26all:    $(DESTDIR) $(PGMS) install
27        echo $(DESTDIR)
28
29$(DESTDIR):
30        [ -d $@ ] || $(MKDIR) $@
31
32install:  $(INSTALLED)
33
34# Install the program
35$(DESTDIR)/%: %
36        $(make-script)
Note: See TracBrowser for help on using the repository browser.