summaryrefslogblamecommitdiffstats
path: root/tools/cpu/generic/Makefile.in
blob: 33c2fb81dd715db69db0ec43bb954b8e56238317 (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
include $(RTEMS_ROOT)/make/rtems.cfg

DESTDIR=$(PROJECT_RELEASE)/bin

BUILD_PGMS=size_rtems
PGMS=$(BUILD_PGMS)

CLEAN_ADDITIONS += $(BUILD_PGMS)

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

all:	$(DESTDIR) $(PGMS) install

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

$(INSTALLED_PGMS): $(PGMS)
	@INSTALL@ $(INSTBINFLAGS) $^ $@

install:  $(DESTDIR) $(INSTALLED_PGMS)