23 #endif |
23 #endif |
24 |
24 |
25 #define ABI_DIR \epoc32\release\ ## ABI |
25 #define ABI_DIR \epoc32\release\ ## ABI |
26 #define ABI_FOR(file) ABI_DIR ## \file |
26 #define ABI_FOR(file) ABI_DIR ## \file |
27 |
27 |
|
28 #define DATAZ_ \epoc32\data\z |
28 #define ZPRIVATE \epoc32\data\z\private |
29 #define ZPRIVATE \epoc32\data\z\private |
29 #define ZSYSTEM \epoc32\data\z\system |
30 #define ZSYSTEM \epoc32\data\z\system |
30 #define ZRESOURCE \epoc32\data\z\resource |
31 #define ZRESOURCE \epoc32\data\z\resource |
31 #define BUILD_DIR urel |
32 #define BUILD_DIR urel |
32 #define STRINGIFY(x) #x |
33 #define STRINGIFY(x) #x |
37 #define FSHELL_DATA_FILE(fileNameFrom, fileNameTo) STRINGIFY(fileNameFrom) - STRINGIFY(!:\ ## fileNameTo) |
38 #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_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_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_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_RENAMED_DEBUG_EXECUTABLE_FILE(fileNameFrom, fileNameTo) FSHELL_EXECUTABLE_FILE_ABI(fileNameTo, ABI_FOR(udeb\ ## fileNameFrom)) |
|
43 #define FSHELL_EXECUTABLE_AS_DATA(fileNameFrom, fileNameTo) FSHELL_RENAMED_EXECUTABLE_FILE(fileNameFrom, fileNameTo) |
42 #define FSHELL_KERNEL_EXTENSION(fileName) FSHELL_EXECUTABLE_FILE(fileName) |
44 #define FSHELL_KERNEL_EXTENSION(fileName) FSHELL_EXECUTABLE_FILE(fileName) |
43 #define FSHELL_DEBUG_KERNEL_EXTENSION(fileName) FSHELL_DEBUG_EXECUTABLE_FILE(fileName) |
45 #define FSHELL_DEBUG_KERNEL_EXTENSION(fileName) FSHELL_DEBUG_EXECUTABLE_FILE(fileName) |
44 #define FSHELL_DEVICE_DRIVER(fileName) FSHELL_EXECUTABLE_FILE(fileName) |
46 #define FSHELL_DEVICE_DRIVER(fileName) FSHELL_EXECUTABLE_FILE(fileName) |
45 #define FSHELL_DEBUG_DEVICE_DRIVER(fileName) FSHELL_DEBUG_EXECUTABLE_FILE(fileName) |
47 #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) |
48 #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) |