sbsv2/raptor/lib/flm/gccxmlresource.flm
changeset 0 044383f39525
child 3 e1eecf4d390d
equal deleted inserted replaced
-1:000000000000 0:044383f39525
       
     1 # Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 # All rights reserved.
       
     3 # This component and the accompanying materials are made available
       
     4 # under the terms of the License "Eclipse Public License v1.0"
       
     5 # which accompanies this distribution, and is available
       
     6 # at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 #
       
     8 # Initial Contributors:
       
     9 # Nokia Corporation - initial contribution.
       
    10 #
       
    11 # Contributors:
       
    12 #
       
    13 # Description:
       
    14 # Thin Function Like Makefile (FLM) wrapper to general resource building FLM
       
    15 # for gccxml builds.
       
    16 # 
       
    17 #
       
    18 
       
    19 
       
    20 # .rfi files need to be generated to a known location that is determined by the "core" GCCXML wrapper build
       
    21 RFIFILE:=$(MAIN_OUTPUTPATH)/$(OUTPUTPATHOFFSET)/$(MAIN_TARGET_lower)_$(MAIN_REQUESTEDTARGETEXT)/gccxml/$(notdir $(SOURCE)).rfi
       
    22 
       
    23 define generaterfifile
       
    24 # $(1) is the .rfi filename
       
    25 # $(2) is the list of .rpp files
       
    26 # $(3) is the list of dependency files
       
    27 
       
    28    $(1): $(2)
       
    29 	$(call startrule,generaterfifile,FORCESUCCESS) \
       
    30 	$(CREATERFIFILE) -o $(1) -x "$(EPOCROOT)/epoc32" $(3) \
       
    31 	$(call endrule,generaterfifile)
       
    32 endef
       
    33 
       
    34 # Main (and mostly generic) resource building FLM
       
    35 include $(FLMHOME)/resource.flm
       
    36 
       
    37