summaryrefslogblamecommitdiffstats
path: root/tools/update/Makefile.in
blob: 142bece1f18777cfb4369175626844e22db9d0d8 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                      
                
                         
                             
 
                                                  











                                        

           
                                    



                      
                           

                      

                                                              
#
# $Id$
#
# 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)/update-tools

PGMS=update word-replace
MISC_SUPPORT=310_to_320_list

INSTALL_LIST= $(PGMS) $(MISC_SUPPORT)

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

all:  $(DESTDIR)

$(DESTDIR):
	@INSTALL@ $(INSTDIRFLAGS) $@

install:  $(INSTALLED)

# Install the program
# FIXME: This isn't correct
$(DESTDIR)/%: %
	$(make-script)
	@INSTALL@  $(INSTBINFLAGS) $(PERL_PGMS) ${DESTDIR}
	@INSTALL@  $(INSTDATAFLAGS) $(MISC_SUPPORT) ${DESTDIR}