core/group/fshell_version.mk
author Fionntina Carville <fionntinac@symbian.org>
Sun, 07 Nov 2010 21:58:33 +0000
changeset 106 e7feb3e56cd0
parent 25 482757737e59
child 108 2c2fba140295
permissions -rw-r--r--
Adjust makefiles for parallel compile.

# Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
# All rights reserved.
# This component and the accompanying materials are made available
# under the terms of "Eclipse Public License v1.0"
# which accompanies this distribution, and is available
# at the URL "http://www.eclipse.org/legal/epl-v10.html".
#
# Initial Contributors:
# Nokia Corporation - initial contribution.
#
# Contributors:
#
# Description:
#

# To ensure that EPOCROOT always ends with a forward slash
TMPROOT:=$(subst \,/,$(EPOCROOT))
EPOCROOT:=$(patsubst %/,%,$(TMPROOT))/

 

GENERATED_SOURCE_DIR = $(EPOCROOT)epoc32/build/fshell/core/generated/platform_$(PLATFORM)
GENERATED_SOURCE = $(GENERATED_SOURCE_DIR)/fshell_version.cpp

GENVER:= $(EPOCROOT)sf/os/fshell/fshell/core/group/genver.pl
 

MAKMAKE : $(GENERATED_SOURCE)

$(GENERATED_SOURCE) :  
	perl $(EPOCROOT)epoc32\tools\emkdir.pl $(GENERATED_SOURCE_DIR)
	echo perl .\genver.pl $(PLATFORM) $(CFG)
	perl $(GENVER) $(PLATFORM) > $(GENERATED_SOURCE)
 

CLEAN :
	perl $(EPOCROOT)epoc32\tools\ermdir.pl $(GENERATED_SOURCE_DIR)

BLD FREEZE LIB CLEANLIB RESOURCE SAVESPACE RELEASABLES FINAL :