build/buildjavastubsis.flm
branchRCL_3
changeset 19 04becd199f91
equal deleted inserted replaced
16:f5050f1da672 19:04becd199f91
       
     1 #
       
     2 # Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 # All rights reserved.
       
     4 # This component and the accompanying materials are made available
       
     5 # under the terms of "Eclipse Public License v1.0"
       
     6 # which accompanies this distribution, and is available
       
     7 # at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 #
       
     9 # Initial Contributors:
       
    10 # Nokia Corporation - initial contribution.
       
    11 #
       
    12 # Contributors:
       
    13 #
       
    14 # Description: Header file exporting Function Like Makefile (FLM)
       
    15 #
       
    16 
       
    17 JAVASTUBSISCMD = make -C $(EXTENSION_ROOT) -f buildjavastubsis.mk EPOCROOT=$(EPOCROOT)/ PLATFORM=$(PLATFORM) CFG=$(CFG) 
       
    18 
       
    19 define javastubsis_build
       
    20 RESOURCE::
       
    21 	$(call startrule,compilejavastubsis) \
       
    22 	$(JAVASTUBSISCMD) RESOURCE \
       
    23 	$(call endrule,compilejavastubsis)
       
    24 CLEAN::
       
    25 	$(call startrule,cleanjavastubsis) \
       
    26 	$(JAVASTUBSISCMD) CLEAN \
       
    27 	$(call endrule,cleanjavastubsis)
       
    28 endef
       
    29 
       
    30 $(eval $(javastubsis_build))
       
    31 
       
    32 RELEASABLES = $(shell $(JAVASTUBSISCMD) -s RELEASABLES)
       
    33 $(eval $(call whatmacro,$(RELEASABLES),WHATRESOURCES))