makefiles-garage/bintools/elftools/Makefile
changeset 0 37428ad74fc2
equal deleted inserted replaced
-1:000000000000 0:37428ad74fc2
       
     1 # Copyright (c) 2009 Symbian Foundation Ltd
       
     2 # This component and the accompanying materials are made available
       
     3 # under the terms of the License "Eclipse Public License v1.0"
       
     4 # which accompanies this distribution, and is available
       
     5 # at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     6 #
       
     7 # Initial Contributors:
       
     8 # Symbian Foundation Ltd - initial contribution.
       
     9 # Mike Kinghan, mikek@symbian.org
       
    10 #
       
    11 # Contributors:
       
    12 #
       
    13 # Description:
       
    14 # This is a Linux makefile for the elftools components.
       
    15 
       
    16 ifdef EPOCROOT
       
    17 include $(EPOCROOT)/build/makefiles-garage/global-make-env.mk
       
    18 else
       
    19 $(error EPOCROOT must be defined as the parent directory of your epoc32 tree)
       
    20 endif
       
    21 
       
    22 subdirs = elfdump elftran getexports genstubs
       
    23 
       
    24 prereqs =
       
    25 
       
    26 .PHONY: all clean $(prereqs)
       
    27 
       
    28 all: $(prereqs)
       
    29 	for file in $(subdirs); do $(MAKE) -C $$file; done
       
    30 
       
    31 $(prereqs) : $(global_prereqs)
       
    32 	$(MAKE) -C $(EPOCROOT)/build $@ 
       
    33 
       
    34 clean:
       
    35 	for file in $(subdirs); do $(MAKE) -C $$file clean; done
       
    36