1 # fshell_version.mk |
1 # Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 # |
2 # All rights reserved. |
3 # Copyright (c) 2010 Accenture. All rights reserved. |
|
4 # This component and the accompanying materials are made available |
3 # This component and the accompanying materials are made available |
5 # under the terms of the "Eclipse Public License v1.0" |
4 # under the terms of "Eclipse Public License v1.0" |
6 # which accompanies this distribution, and is available |
5 # which accompanies this distribution, and is available |
7 # at the URL "http://www.eclipse.org/legal/epl-v10.html". |
6 # at the URL "http://www.eclipse.org/legal/epl-v10.html". |
8 # |
7 # |
9 # Initial Contributors: |
8 # Initial Contributors: |
10 # Accenture - Initial contribution |
9 # Nokia Corporation - initial contribution. |
11 # |
10 # |
12 GENERATED_SOURCE_DIR = $(EPOCROOT)epoc32\build\fshell\core\generated\platform_$(PLATFORM) |
11 # Contributors: |
13 GENERATED_SOURCE = $(GENERATED_SOURCE_DIR)\fshell_version.cpp |
12 # |
|
13 # Description: |
|
14 # |
14 |
15 |
15 MAKMAKE : |
16 # To ensure that EPOCROOT always ends with a forward slash |
|
17 TMPROOT:=$(subst \,/,$(EPOCROOT)) |
|
18 EPOCROOT:=$(patsubst %/,%,$(TMPROOT))/ |
|
19 |
|
20 |
|
21 |
|
22 GENERATED_SOURCE_DIR = $(EPOCROOT)epoc32/build/fshell/core/generated/platform_$(PLATFORM) |
|
23 GENERATED_SOURCE = $(GENERATED_SOURCE_DIR)/fshell_version.cpp |
|
24 |
|
25 GENVER:= $(EPOCROOT)sf/os/fshell/fshell/core/group/genver.pl |
|
26 |
|
27 |
|
28 MAKMAKE : $(GENERATED_SOURCE) |
|
29 |
|
30 $(GENERATED_SOURCE) : |
16 perl $(EPOCROOT)epoc32\tools\emkdir.pl $(GENERATED_SOURCE_DIR) |
31 perl $(EPOCROOT)epoc32\tools\emkdir.pl $(GENERATED_SOURCE_DIR) |
17 echo perl .\genver.pl $(PLATFORM) $(CFG) |
32 echo perl .\genver.pl $(PLATFORM) $(CFG) |
18 perl .\genver.pl $(PLATFORM) > $(GENERATED_SOURCE) |
33 perl $(GENVER) $(PLATFORM) > $(GENERATED_SOURCE) |
|
34 |
19 |
35 |
20 CLEAN : |
36 CLEAN : |
21 perl $(EPOCROOT)epoc32\tools\ermdir.pl $(GENERATED_SOURCE_DIR) |
37 perl $(EPOCROOT)epoc32\tools\ermdir.pl $(GENERATED_SOURCE_DIR) |
22 |
38 |
23 BLD FREEZE LIB CLEANLIB RESOURCE SAVESPACE RELEASABLES FINAL : |
39 BLD FREEZE LIB CLEANLIB RESOURCE SAVESPACE RELEASABLES FINAL : |
|
40 |
|
41 |
|
42 |