core/group/fshell_version.mk
author Fionntina Carville <fionntinac@symbian.org>
Sun, 07 Nov 2010 22:57:46 +0000
changeset 108 2c2fba140295
parent 106 e7feb3e56cd0
child 111 1158876b5622
permissions -rw-r--r--
Adjust path in .mk fshell files.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
106
e7feb3e56cd0 Adjust makefiles for parallel compile.
Fionntina Carville <fionntinac@symbian.org>
parents: 25
diff changeset
     1
# Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
e7feb3e56cd0 Adjust makefiles for parallel compile.
Fionntina Carville <fionntinac@symbian.org>
parents: 25
diff changeset
     2
# All rights reserved.
0
7f656887cf89 First submission to Symbian Foundation staging server.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
     3
# This component and the accompanying materials are made available
106
e7feb3e56cd0 Adjust makefiles for parallel compile.
Fionntina Carville <fionntinac@symbian.org>
parents: 25
diff changeset
     4
# under the terms of "Eclipse Public License v1.0"
0
7f656887cf89 First submission to Symbian Foundation staging server.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
     5
# which accompanies this distribution, and is available
7f656887cf89 First submission to Symbian Foundation staging server.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
     6
# at the URL "http://www.eclipse.org/legal/epl-v10.html".
106
e7feb3e56cd0 Adjust makefiles for parallel compile.
Fionntina Carville <fionntinac@symbian.org>
parents: 25
diff changeset
     7
#
0
7f656887cf89 First submission to Symbian Foundation staging server.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
     8
# Initial Contributors:
106
e7feb3e56cd0 Adjust makefiles for parallel compile.
Fionntina Carville <fionntinac@symbian.org>
parents: 25
diff changeset
     9
# Nokia Corporation - initial contribution.
e7feb3e56cd0 Adjust makefiles for parallel compile.
Fionntina Carville <fionntinac@symbian.org>
parents: 25
diff changeset
    10
#
e7feb3e56cd0 Adjust makefiles for parallel compile.
Fionntina Carville <fionntinac@symbian.org>
parents: 25
diff changeset
    11
# Contributors:
e7feb3e56cd0 Adjust makefiles for parallel compile.
Fionntina Carville <fionntinac@symbian.org>
parents: 25
diff changeset
    12
#
e7feb3e56cd0 Adjust makefiles for parallel compile.
Fionntina Carville <fionntinac@symbian.org>
parents: 25
diff changeset
    13
# Description:
0
7f656887cf89 First submission to Symbian Foundation staging server.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    14
#
106
e7feb3e56cd0 Adjust makefiles for parallel compile.
Fionntina Carville <fionntinac@symbian.org>
parents: 25
diff changeset
    15
e7feb3e56cd0 Adjust makefiles for parallel compile.
Fionntina Carville <fionntinac@symbian.org>
parents: 25
diff changeset
    16
# To ensure that EPOCROOT always ends with a forward slash
e7feb3e56cd0 Adjust makefiles for parallel compile.
Fionntina Carville <fionntinac@symbian.org>
parents: 25
diff changeset
    17
TMPROOT:=$(subst \,/,$(EPOCROOT))
e7feb3e56cd0 Adjust makefiles for parallel compile.
Fionntina Carville <fionntinac@symbian.org>
parents: 25
diff changeset
    18
EPOCROOT:=$(patsubst %/,%,$(TMPROOT))/
e7feb3e56cd0 Adjust makefiles for parallel compile.
Fionntina Carville <fionntinac@symbian.org>
parents: 25
diff changeset
    19
e7feb3e56cd0 Adjust makefiles for parallel compile.
Fionntina Carville <fionntinac@symbian.org>
parents: 25
diff changeset
    20
 
0
7f656887cf89 First submission to Symbian Foundation staging server.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    21
106
e7feb3e56cd0 Adjust makefiles for parallel compile.
Fionntina Carville <fionntinac@symbian.org>
parents: 25
diff changeset
    22
GENERATED_SOURCE_DIR = $(EPOCROOT)epoc32/build/fshell/core/generated/platform_$(PLATFORM)
e7feb3e56cd0 Adjust makefiles for parallel compile.
Fionntina Carville <fionntinac@symbian.org>
parents: 25
diff changeset
    23
GENERATED_SOURCE = $(GENERATED_SOURCE_DIR)/fshell_version.cpp
e7feb3e56cd0 Adjust makefiles for parallel compile.
Fionntina Carville <fionntinac@symbian.org>
parents: 25
diff changeset
    24
108
2c2fba140295 Adjust path in .mk fshell files.
Fionntina Carville <fionntinac@symbian.org>
parents: 106
diff changeset
    25
GENVER:= $(EPOCROOT)sf/os/fshell/core/group/genver.pl
106
e7feb3e56cd0 Adjust makefiles for parallel compile.
Fionntina Carville <fionntinac@symbian.org>
parents: 25
diff changeset
    26
 
e7feb3e56cd0 Adjust makefiles for parallel compile.
Fionntina Carville <fionntinac@symbian.org>
parents: 25
diff changeset
    27
e7feb3e56cd0 Adjust makefiles for parallel compile.
Fionntina Carville <fionntinac@symbian.org>
parents: 25
diff changeset
    28
MAKMAKE : $(GENERATED_SOURCE)
e7feb3e56cd0 Adjust makefiles for parallel compile.
Fionntina Carville <fionntinac@symbian.org>
parents: 25
diff changeset
    29
e7feb3e56cd0 Adjust makefiles for parallel compile.
Fionntina Carville <fionntinac@symbian.org>
parents: 25
diff changeset
    30
$(GENERATED_SOURCE) :  
1
6c055a136ec1 Build fixes for environments which don't have \epoc32\tools in their path.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents: 0
diff changeset
    31
	perl $(EPOCROOT)epoc32\tools\emkdir.pl $(GENERATED_SOURCE_DIR)
0
7f656887cf89 First submission to Symbian Foundation staging server.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    32
	echo perl .\genver.pl $(PLATFORM) $(CFG)
106
e7feb3e56cd0 Adjust makefiles for parallel compile.
Fionntina Carville <fionntinac@symbian.org>
parents: 25
diff changeset
    33
	perl $(GENVER) $(PLATFORM) > $(GENERATED_SOURCE)
e7feb3e56cd0 Adjust makefiles for parallel compile.
Fionntina Carville <fionntinac@symbian.org>
parents: 25
diff changeset
    34
 
0
7f656887cf89 First submission to Symbian Foundation staging server.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    35
7f656887cf89 First submission to Symbian Foundation staging server.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    36
CLEAN :
1
6c055a136ec1 Build fixes for environments which don't have \epoc32\tools in their path.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents: 0
diff changeset
    37
	perl $(EPOCROOT)epoc32\tools\ermdir.pl $(GENERATED_SOURCE_DIR)
0
7f656887cf89 First submission to Symbian Foundation staging server.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    38
7f656887cf89 First submission to Symbian Foundation staging server.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    39
BLD FREEZE LIB CLEANLIB RESOURCE SAVESPACE RELEASABLES FINAL : 
106
e7feb3e56cd0 Adjust makefiles for parallel compile.
Fionntina Carville <fionntinac@symbian.org>
parents: 25
diff changeset
    40
e7feb3e56cd0 Adjust makefiles for parallel compile.
Fionntina Carville <fionntinac@symbian.org>
parents: 25
diff changeset
    41
e7feb3e56cd0 Adjust makefiles for parallel compile.
Fionntina Carville <fionntinac@symbian.org>
parents: 25
diff changeset
    42