diff -r cfcbf08528c4 -r 2b40d63a9c3d group/qtextensions_pre_targetdep.flm --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/group/qtextensions_pre_targetdep.flm Fri Apr 16 15:51:22 2010 +0300 @@ -0,0 +1,30 @@ +# /**************************************************************************** +# ** +# ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). +# ** Contact: Nokia Corporation (qt-info@nokia.com) +# ** +# ** This file is part of symbian-sbsv2 mkspec. +# ** +# ****************************************************************************/ + +include $(FLMHOME)/metaflm.mk + +SINGLETON:=$(call sanitise,TARGET_$(PREDEP_TARGET)) + +define qmake_extra_pre_targetdep +EXPORT:: $(PREDEP_TARGET) + +# Prevent duplicate targets from being created +$(SINGLETON):=1 + +$(PREDEP_TARGET):: + $(call startrule,qmake_extra_pre_targetdep,FORCESUCCESS) \ + cd $(EXTENSION_ROOT) && \ + $(COMMAND) \ + $(call endrule,qmake_extra_pre_targetdep) +endef + +ifeq ($($(SINGLETON)),) +$(eval $(qmake_extra_pre_targetdep)) +$(eval $(call GenerateStandardCleanTarget,$(PREDEP_TARGET),'')) +endif