1 # /****************************************************************************
3 # ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
4 # ** Contact: Nokia Corporation (qt-info@nokia.com)
6 # ** This file is part of symbian-sbsv2 mkspec.
8 # ****************************************************************************/
10 include $(FLMHOME)/metaflm.mk
12 POST_LINK_TARGET:=POST_LINK_$(PLATFORM_PATH)_$(CFG_PATH)_$(call sanitise,$(LINK_TARGET))
13 POST_LINK_DEP:=$(EPOCROOT)/epoc32/release/$(PLATFORM_PATH)/$(CFG_PATH)/$(LINK_TARGET)
15 # Passing $(PLATFORM_PATH) etc. variables in FLM options makes sbsv2 toolchain to double the dollar signs,
16 # requiring evaluating them twice in order to get desired values,
17 # so do an extra evaluation before using the command.
19 THE_COMMAND:=$(POST_LINK_CMD)
22 define qmake_post_link
23 $(ALLTARGET):: $(POST_LINK_TARGET)
24 FINAL:: $(POST_LINK_TARGET)
26 $(POST_LINK_TARGET): $(POST_LINK_DEP)
27 $(call startrule,qmake_post_link) \
29 $(call endrule,qmake_post_link)
32 $(eval $(command_fixer))
33 $(eval $(qmake_post_link))