plugins/consoles/win32cons/group/os_ver.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: 1
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: 1
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: 1
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: 1
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: 1
diff changeset
     9
# Nokia Corporation - initial contribution.
e7feb3e56cd0 Adjust makefiles for parallel compile.
Fionntina Carville <fionntinac@symbian.org>
parents: 1
diff changeset
    10
#
e7feb3e56cd0 Adjust makefiles for parallel compile.
Fionntina Carville <fionntinac@symbian.org>
parents: 1
diff changeset
    11
# Contributors:
e7feb3e56cd0 Adjust makefiles for parallel compile.
Fionntina Carville <fionntinac@symbian.org>
parents: 1
diff changeset
    12
#
e7feb3e56cd0 Adjust makefiles for parallel compile.
Fionntina Carville <fionntinac@symbian.org>
parents: 1
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: 1
diff changeset
    15
e7feb3e56cd0 Adjust makefiles for parallel compile.
Fionntina Carville <fionntinac@symbian.org>
parents: 1
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: 1
diff changeset
    17
TMPROOT:=$(subst \,/,$(EPOCROOT))
e7feb3e56cd0 Adjust makefiles for parallel compile.
Fionntina Carville <fionntinac@symbian.org>
parents: 1
diff changeset
    18
EPOCROOT:=$(patsubst %/,%,$(TMPROOT))/
e7feb3e56cd0 Adjust makefiles for parallel compile.
Fionntina Carville <fionntinac@symbian.org>
parents: 1
diff changeset
    19
e7feb3e56cd0 Adjust makefiles for parallel compile.
Fionntina Carville <fionntinac@symbian.org>
parents: 1
diff changeset
    20
GENERATED_SOURCE_DIR = $(EPOCROOT)epoc32/build/fshell/win32cons/generated
e7feb3e56cd0 Adjust makefiles for parallel compile.
Fionntina Carville <fionntinac@symbian.org>
parents: 1
diff changeset
    21
GENERATED_SOURCE = $(GENERATED_SOURCE_DIR)/os_version.h
e7feb3e56cd0 Adjust makefiles for parallel compile.
Fionntina Carville <fionntinac@symbian.org>
parents: 1
diff changeset
    22
 
e7feb3e56cd0 Adjust makefiles for parallel compile.
Fionntina Carville <fionntinac@symbian.org>
parents: 1
diff changeset
    23
108
2c2fba140295 Adjust path in .mk fshell files.
Fionntina Carville <fionntinac@symbian.org>
parents: 106
diff changeset
    24
OSVER:= $(EPOCROOT)sf/os/fshell/plugins/consoles/win32cons/group/os_version_h.pl
106
e7feb3e56cd0 Adjust makefiles for parallel compile.
Fionntina Carville <fionntinac@symbian.org>
parents: 1
diff changeset
    25
e7feb3e56cd0 Adjust makefiles for parallel compile.
Fionntina Carville <fionntinac@symbian.org>
parents: 1
diff changeset
    26
e7feb3e56cd0 Adjust makefiles for parallel compile.
Fionntina Carville <fionntinac@symbian.org>
parents: 1
diff changeset
    27
MAKMAKE : $(GENERATED_SOURCE)
e7feb3e56cd0 Adjust makefiles for parallel compile.
Fionntina Carville <fionntinac@symbian.org>
parents: 1
diff changeset
    28
e7feb3e56cd0 Adjust makefiles for parallel compile.
Fionntina Carville <fionntinac@symbian.org>
parents: 1
diff changeset
    29
$(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
    30
	perl $(EPOCROOT)epoc32\tools\emkdir.pl $(EPOCROOT)epoc32\build\fshell/win32cons\generated
106
e7feb3e56cd0 Adjust makefiles for parallel compile.
Fionntina Carville <fionntinac@symbian.org>
parents: 1
diff changeset
    31
	perl $(OSVER) > $(GENERATED_SOURCE)
e7feb3e56cd0 Adjust makefiles for parallel compile.
Fionntina Carville <fionntinac@symbian.org>
parents: 1
diff changeset
    32
 
0
7f656887cf89 First submission to Symbian Foundation staging server.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    33
CLEAN :
7f656887cf89 First submission to Symbian Foundation staging server.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    34
	-del ..\src\os_version.h
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
BLD FREEZE LIB CLEANLIB RESOURCE SAVESPACE RELEASABLES FINAL : 
106
e7feb3e56cd0 Adjust makefiles for parallel compile.
Fionntina Carville <fionntinac@symbian.org>
parents: 1
diff changeset
    37
e7feb3e56cd0 Adjust makefiles for parallel compile.
Fionntina Carville <fionntinac@symbian.org>
parents: 1
diff changeset
    38
e7feb3e56cd0 Adjust makefiles for parallel compile.
Fionntina Carville <fionntinac@symbian.org>
parents: 1
diff changeset
    39