group/qtextensions_pre_targetdep.flm
changeset 1 2b40d63a9c3d
equal deleted inserted replaced
0:cfcbf08528c4 1:2b40d63a9c3d
       
     1 # /****************************************************************************
       
     2 # **
       
     3 # ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     4 # ** Contact: Nokia Corporation (qt-info@nokia.com)
       
     5 # **
       
     6 # ** This file is part of symbian-sbsv2 mkspec.
       
     7 # **
       
     8 # ****************************************************************************/
       
     9 
       
    10 include $(FLMHOME)/metaflm.mk
       
    11 
       
    12 SINGLETON:=$(call sanitise,TARGET_$(PREDEP_TARGET))
       
    13 
       
    14 define qmake_extra_pre_targetdep
       
    15 EXPORT:: $(PREDEP_TARGET)
       
    16 
       
    17 # Prevent duplicate targets from being created
       
    18 $(SINGLETON):=1
       
    19 
       
    20 $(PREDEP_TARGET)::
       
    21 	$(call startrule,qmake_extra_pre_targetdep,FORCESUCCESS) \
       
    22 	cd $(EXTENSION_ROOT) && \
       
    23 	$(COMMAND) \
       
    24 	$(call endrule,qmake_extra_pre_targetdep)
       
    25 endef
       
    26 
       
    27 ifeq ($($(SINGLETON)),)
       
    28 $(eval $(qmake_extra_pre_targetdep))
       
    29 $(eval $(call GenerateStandardCleanTarget,$(PREDEP_TARGET),''))
       
    30 endif