makefiles-garage/imgtools/romtools/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 romtools 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 = rombuild rofsbuild r_t_areaset
       
    23 #export_srcs = ../maksym/fixupsym.pl ../maksym/hpsym.pl ../maksym/maksym.pl ../maksym/maksymrofs.pl
       
    24 #export_dests = $(basename $(export_srcs))
       
    25 
       
    26 prereqs = imglib 
       
    27 
       
    28 .PHONY: all clean $(prereqs)
       
    29 
       
    30 all: $(prereqs)
       
    31 	for file in $(subdirs); do $(MAKE) -C $$file; done
       
    32 
       
    33 $(prereqs): $(global_prereqs)
       
    34 	$(MAKE) -C $(EPOCROOT)/build $@
       
    35 
       
    36 #export: all
       
    37 #	for file in $(exports); do cp -f $$file $(EPOCROOT)/epoc32/tools/$${$$file%%.pl}; done
       
    38 
       
    39 
       
    40 clean:
       
    41 	for file in $(subdirs); do $(MAKE) -C $$file clean; done
       
    42