sbsv1/buildsystem/extension/tools/kif.mk
changeset 620 ad8ffc8e1982
parent 599 fa7a3cc6effd
equal deleted inserted replaced
585:238f4cb8391f 620:ad8ffc8e1982
       
     1 # Copyright (c) 2007-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 "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 # Invoke genkif.pl to create the Kit Information File
       
    15 # 
       
    16 #
       
    17 
       
    18 TMPROOT:=$(subst \,/,$(EPOCROOT))
       
    19 EPOCROOT:=$(patsubst %/,%,$(TMPROOT))/
       
    20 
       
    21 include $(EPOCROOT)epoc32/tools/shell/$(notdir $(basename $(SHELL))).mk
       
    22 
       
    23 do_nothing :
       
    24 	
       
    25 
       
    26 #
       
    27 # The targets invoked by abld 
       
    28 #
       
    29 
       
    30 MAKMAKE : do_nothing
       
    31 
       
    32 RESOURCE : do_nothing
       
    33 
       
    34 SAVESPACE : BLD
       
    35 
       
    36 BLD : 
       
    37 ifeq ($(CFG),REL)
       
    38 	perl ${EPOCROOT}epoc32/tools/genkif.pl -o ${EPOCROOT}epoc32/data/kif.xml
       
    39 endif
       
    40 
       
    41 FREEZE : do_nothing
       
    42 
       
    43 LIB : do_nothing
       
    44 
       
    45 CLEANLIB : do_nothing
       
    46 
       
    47 FINAL : do_nothing
       
    48 
       
    49 CLEAN : 
       
    50 ifeq ($(CFG),REL)
       
    51 	$(call remove,${EPOCROOT}epoc32/data/kif.xml)
       
    52 endif
       
    53 
       
    54 RELEASABLES : 
       
    55 ifeq ($(CFG),REL)	
       
    56 	@echo ${EPOCROOT}epoc32/data/kif.xml	
       
    57 endif
       
    58 
       
    59 
       
    60