summaryrefslogblamecommitdiffstats
path: root/tools/build/scripts/Makefile.in
blob: db02f4736c12151e5cbd91ac5f8d83bc2dee683e (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                                                                  
                
                         
                             
 
                                                  



                                      

                                                                                        













                                  
#
# $Id$
#
# RTEMS build tools
# NOTE: of course we can't use any of these tools
#		in this Makefile.  Most notably: install-if-change
#

@SET_MAKE@
srcdir = @srcdir@
VPATH = @srcdir@
RTEMS_ROOT = @top_srcdir@
PROJECT_ROOT = @PROJECT_ROOT@

include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
include $(RTEMS_ROOT)/make/leaf.cfg

DESTDIR=$(PROJECT_RELEASE)/build-tools

PGMS=install-if-change rcs-clean lock-directory unlock-directory rtems-glom search-id.sh


INSTALLED=$(PGMS:%=$(DESTDIR)/%)

all:	$(DESTDIR) $(PGMS) install
	echo $(DESTDIR)

$(DESTDIR):
	[ -d $@ ] || $(MKDIR) $@

install:  $(INSTALLED)

# Install the program
$(DESTDIR)/%: %
	$(make-script)