source: rtems/c/update-tools/Makefile.in @ 419fdf1

4.104.114.84.95
Last change on this file since 419fdf1 was 674c900, checked in by Joel Sherrill <joel.sherrill@…>, on Dec 10, 1997 at 4:58:00 PM

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: 797 bytes
Line 
1#
2# $Id$
3#
4# NOTE: of course we can't use any of these tools
5#   in this Makefile.  Most notably: install-if-change
6#
7
8@SET_MAKE@
9srcdir = @srcdir@
10top_srcdir = @top_srcdir@
11VPATH = @srcdir@
12RTEMS_ROOT = @RTEMS_ROOT@
13PROJECT_ROOT = @PROJECT_ROOT@
14RTEMS_CUSTOM = $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
15
16include $(RTEMS_CUSTOM)
17include $(RTEMS_ROOT)/make/leaf.cfg
18
19DESTDIR=$(PROJECT_RELEASE)/update-tools
20
21PGMS=update word-replace
22MISC_SUPPORT=310_to_320_list
23
24INSTALL_LIST= $(PGMS) $(MISC_SUPPORT)
25
26INSTALLED=$(INSTALL_LIST:%=$(DESTDIR)/%)
27
28all:  $(DESTDIR)
29        echo $(DESTDIR)
30
31$(DESTDIR):
32        [ -d $@ ] || $(MKDIR) $@
33
34install:  $(INSTALLED)
35
36# Install the program
37$(DESTDIR)/%: %
38        $(make-script)
39        $(INSTALL)  -m 555 $(PERL_PGMS) ${DESTDIR}
40        $(INSTALL)  -m 444 $(srcdir)/$(MISC_SUPPORT) ${DESTDIR}
Note: See TracBrowser for help on using the repository browser.