group/qtextensions_pre_targetdep.flm
author hgs
Wed, 13 Oct 2010 18:52:44 +0300
changeset 31 0bb8eae52540
parent 1 2b40d63a9c3d
permissions -rw-r--r--
201037_2

# /****************************************************************************
# **
# ** 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