mkspecs/symbian-sbsv2/flm/qt/qmake_emulator_deployment.flm
branchRCL_3
changeset 6 dee5afe5301f
parent 4 3b1da2848fc7
equal deleted inserted replaced
5:d3bac044e0f0 6:dee5afe5301f
     5 # **
     5 # **
     6 # ** This file is part of symbian-sbsv2 mkspec.
     6 # ** This file is part of symbian-sbsv2 mkspec.
     7 # **
     7 # **
     8 # ****************************************************************************/
     8 # ****************************************************************************/
     9 
     9 
    10 include $(FLMHOME)/metaflm.mk
       
    11 
    10 
    12 SINGLETON:=$(call sanitise,TARGET_$(DEPLOY_TARGET))
    11 SINGLETON:=$(call sanitise,TARGET_$(DEPLOY_TARGET))
    13 CLEAN_TARGET:=
    12 CLEAN_TARGET:=
    14 
    13 
       
    14 # add EPOCROOT if missing (not if drive letters are present)
    15 ifeq ($(findstring :,$(firstword $(DEPLOY_TARGET))), :)
    15 ifeq ($(findstring :,$(firstword $(DEPLOY_TARGET))), :)
    16 	DEPLOY_TARGET:=$(DEPLOY_TARGET)
    16 	DEPLOY_TARGET:=$(DEPLOY_TARGET)
    17 else
    17 else
    18 	DEPLOY_TARGET:=$(EPOCROOT)$(DEPLOY_TARGET)
    18     ifeq ($(findstring $(EPOCROOT), $(firstword $(DEPLOY_TARGET))), $(EPOCROOT))
       
    19         DEPLOY_TARGET:=$(DEPLOY_TARGET)
       
    20     else
       
    21         DEPLOY_TARGET:=$(EPOCROOT)$(DEPLOY_TARGET)
       
    22     endif
    19 endif
    23 endif
    20 
    24 
    21 define qmake_emulator_deployment
    25 define qmake_emulator_deployment
    22 $(ALLTARGET):: $(1)
    26 $(ALLTARGET):: $(1)
    23 FINAL::$(1)
       
    24 
    27 
    25 # Prevent duplicate targets from being created
    28 # Prevent duplicate targets from being created
    26 $(SINGLETON):=1
    29 $(SINGLETON):=1
    27 
    30 
    28 CLEAN_TARGET:=$(1)
    31 CLEAN_TARGET:=$(1)