|
1 // fsh_makesis_defs.iby |
|
2 // |
|
3 // Copyright (c) 2010 Accenture. All rights reserved. |
|
4 // This component and the accompanying materials are made available |
|
5 // under the terms of the "Eclipse Public License v1.0" |
|
6 // which accompanies this distribution, and is available |
|
7 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 // |
|
9 // Initial Contributors: |
|
10 // Accenture - Initial contribution |
|
11 // |
|
12 #ifndef MAKESIS_DEFS_IBY |
|
13 #define MAKESIS_DEFS_IBY |
|
14 |
|
15 #define FSHELL_MAKESIS |
|
16 |
|
17 #include <fshell/common.mmh> |
|
18 |
|
19 #ifdef GCCE |
|
20 #define ABI gcce |
|
21 #else |
|
22 #define ABI armv5 |
|
23 #endif |
|
24 |
|
25 #define ABI_DIR \epoc32\release\ ## ABI |
|
26 #define ABI_FOR(file) ABI_DIR ## \file |
|
27 |
|
28 #define ZPRIVATE \epoc32\data\z\private |
|
29 #define ZSYSTEM \epoc32\data\z\system |
|
30 #define ZRESOURCE \epoc32\data\z\resource |
|
31 #define BUILD_DIR urel |
|
32 #define STRINGIFY(x) #x |
|
33 #define HASH # |
|
34 |
|
35 #define FSHELL_EXECUTABLE_FILE_ABI(fileName, abiPath) STRINGIFY(abiPath) - STRINGIFY(!:\sys\bin\ ## fileName) |
|
36 |
|
37 #define FSHELL_DATA_FILE(fileNameFrom, fileNameTo) STRINGIFY(fileNameFrom) - STRINGIFY(!:\ ## fileNameTo) |
|
38 #define FSHELL_EXECUTABLE_FILE(fileName) FSHELL_EXECUTABLE_FILE_ABI(fileName, ABI_FOR(urel\ ## fileName)) |
|
39 #define FSHELL_DEBUG_EXECUTABLE_FILE(fileName) FSHELL_EXECUTABLE_FILE_ABI(fileName, ABI_FOR(udeb\ ## fileName)) |
|
40 #define FSHELL_RENAMED_EXECUTABLE_FILE(fileNameFrom, fileNameTo) FSHELL_EXECUTABLE_FILE_ABI(fileNameTo, ABI_FOR(urel\ ## fileNameFrom)) |
|
41 #define FSHELL_RENAMED_DEBUG_EXECUTABLE_FILE(fileNameFrom, fileNameTo) FSHELL_EXECUTABLE_FILE_ABI(fileNameTo, ABI_FOR(udeb\ ## fileNameFrom)) |
|
42 #define FSHELL_KERNEL_EXTENSION(fileName) FSHELL_EXECUTABLE_FILE(fileName) |
|
43 #define FSHELL_DEBUG_KERNEL_EXTENSION(fileName) FSHELL_DEBUG_EXECUTABLE_FILE(fileName) |
|
44 #define FSHELL_DEVICE_DRIVER(fileName) FSHELL_EXECUTABLE_FILE(fileName) |
|
45 #define FSHELL_DEBUG_DEVICE_DRIVER(fileName) FSHELL_DEBUG_EXECUTABLE_FILE(fileName) |
|
46 #define FSHELL_ECOM_PLUGIN(dllName, resourceName) FSHELL_EXECUTABLE_FILE_ABI(dllName, ABI_FOR(urel\ ## dllName)) STRINGIFY(\epoc32\data\z\resource\plugins\##resourceName) - STRINGIFY(!:\resource\plugins\##resourceName) |
|
47 #define FSHELL_DEBUG_ECOM_PLUGIN(dllName, resourceName) FSHELL_EXECUTABLE_FILE_ABI(dllName, ABI_FOR(udeb\ ## dllName)) STRINGIFY(\epoc32\data\z\resource\plugins\##resourceName) - STRINGIFY(!:\resource\plugins\##resourceName) |
|
48 #define FSHELL_COMMAND_INFO_FILE(owner, fileName) STRINGIFY(\epoc32\data\z\resource\cif\##owner##\##fileName) - STRINGIFY(!:\resource\cif\##owner##\##fileName) |
|
49 |
|
50 #endif // MAKESIS_DEFS_IBY |