author | Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com> |
Tue, 06 Jul 2010 15:10:48 +0300 | |
changeset 30 | 5dc02b23752f |
parent 19 | fcece45ef507 |
child 33 | 3e2da88830cd |
permissions | -rw-r--r-- |
0 | 1 |
# |
2 |
# ============================================================================== |
|
3 |
# Name : platform_paths.prf |
|
4 |
# Part of : |
|
5 |
# Interface : Platform Path Definitions API for Qt/S60 |
|
6 |
# Description : Predefined include paths to be used in the pro-files for the |
|
7 |
# components in the layered model. There is one definition for |
|
8 |
# each layer. The pro-file should use the statement that is |
|
9 |
# intended for the same layer as where the pro-file resides. |
|
10 |
# |
|
11 |
# Usage examples: |
|
12 |
# |
|
13 |
# Note: this file gets automatically added to all Qt/S60 projects |
|
14 |
# |
|
15 |
# Variable usages to add the system include paths |
|
16 |
# |
|
17 |
# The include paths has to be related to the layer in which your SW |
|
18 |
# resides. Thus as an example: a component residing in middleware |
|
19 |
# layer should use the MW specific macro. |
|
20 |
# |
|
21 |
# INCLUDEPATH += $$APP_LAYER_SYSTEMINCLUDE |
|
22 |
# INCLUDEPATH += $$MW_LAYER_SYSTEMINCLUDE |
|
23 |
# INCLUDEPATH += $$OS_LAYER_SYSTEMINCLUDE |
|
24 |
# |
|
25 |
# If there is a need to include public headers of some S60 component, |
|
26 |
# various *_EXPORT_PATH macros can be utilized: |
|
27 |
# |
|
28 |
# INCLUDEPATH += $$OS_LAYER_PUBLIC_EXPORT_PATH(somecomponent) |
|
29 |
# |
|
30 |
# Variables related to using various parts of stdapis: |
|
31 |
# |
|
32 |
# To use STLLIB you need to have this in your pro-file: |
|
33 |
# |
|
34 |
# QMAKE_CXXFLAGS.CW *= $$STLLIB_USAGE_CW_FLAGS |
|
35 |
# DEFINES *= $$STLLIB_USAGE_DEFINES |
|
36 |
# |
|
37 |
# Depending on what module you are using from stdapis you need to have |
|
38 |
# one or more of the following variables in your pro-file. |
|
39 |
# |
|
40 |
# INCLUDEPATH += $$OS_LAYER_LIBC_SYSTEMINCLUDE |
|
41 |
# INCLUDEPATH += $$OS_LAYER_GLIB_SYSTEMINCLUDE |
|
42 |
# INCLUDEPATH += $$OS_LAYER_SSL_SYSTEMINCLUDE |
|
43 |
# INCLUDEPATH += $$OS_LAYER_STDCPP_SYSTEMINCLUDE |
|
44 |
# INCLUDEPATH += $$OS_LAYER_BOOST_SYSTEMINCLUDE |
|
45 |
# INCLUDEPATH += $$OS_LAYER_DBUS_SYSTEMINCLUDE |
|
46 |
# INCLUDEPATH += $$OS_LAYER_LIBUTILITY_SYSTEMINCLUDE |
|
47 |
# |
|
48 |
# |
|
49 |
# |
|
50 |
# |
|
51 |
# ============================================================================== |
|
52 |
||
30
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
53 |
symbian-abld|symbian-sbsv2 { |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
54 |
epocroot_prefix = / |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
55 |
} else { |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
56 |
epocroot_prefix = $${EPOCROOT} |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
57 |
} |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
58 |
|
0 | 59 |
exists($${EPOCROOT}epoc32/include/platform_paths.prf) { |
60 |
||
61 |
# Load platform specific paths |
|
62 |
load($${EPOCROOT}epoc32/include/platform_paths.prf) |
|
63 |
||
64 |
} else { |
|
65 |
||
66 |
# No platform specific paths provided, use default paths |
|
67 |
||
18
2f34d5167611
Revision: 201011
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
3
diff
changeset
|
68 |
exists($${EPOCROOT}epoc32/include/mw) { # New SF structure |
0 | 69 |
|
70 |
# --------------------------------------- |
|
71 |
# Location, where the applications layer specific public headers are exported |
|
72 |
# --------------------------------------- |
|
73 |
||
74 |
defineReplace(APP_LAYER_SDK_EXPORT_PATH) { |
|
30
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
75 |
return ($${epocroot_prefix}epoc32/include/app/$$1) |
0 | 76 |
} |
77 |
defineReplace(APP_LAYER_PUBLIC_EXPORT_PATH) { |
|
30
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
78 |
return ($${epocroot_prefix}epoc32/include/app/$$1) |
0 | 79 |
} |
80 |
||
81 |
# --------------------------------------- |
|
82 |
# Location, where the applications layer specific platform headers are exported |
|
83 |
# --------------------------------------- |
|
84 |
||
85 |
defineReplace(APP_LAYER_DOMAIN_EXPORT_PATH) { |
|
30
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
86 |
return ($${epocroot_prefix}epoc32/include/platform/app/$$1) |
0 | 87 |
} |
88 |
defineReplace(APP_LAYER_PLATFORM_EXPORT_PATH) { |
|
30
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
89 |
return ($${epocroot_prefix}epoc32/include/platform/app/$$1) |
0 | 90 |
} |
91 |
||
92 |
# --------------------------------------- |
|
93 |
# Location, where the middleware layer specific public headers are exported |
|
94 |
# --------------------------------------- |
|
95 |
||
96 |
defineReplace(MW_LAYER_SDK_EXPORT_PATH) { |
|
30
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
97 |
return ($${epocroot_prefix}epoc32/include/mw/$$1) |
0 | 98 |
} |
99 |
defineReplace(MW_LAYER_PUBLIC_EXPORT_PATH) { |
|
30
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
100 |
return ($${epocroot_prefix}epoc32/include/mw/$$1) |
0 | 101 |
} |
102 |
||
103 |
# --------------------------------------- |
|
104 |
# Location, where the middleware layer specific platform headers are exported |
|
105 |
# --------------------------------------- |
|
106 |
||
107 |
defineReplace(MW_LAYER_DOMAIN_EXPORT_PATH) { |
|
30
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
108 |
return ($${epocroot_prefix}epoc32/include/platform/mw/$$1) |
0 | 109 |
} |
110 |
defineReplace(MW_LAYER_PLATFORM_EXPORT_PATH) { |
|
30
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
111 |
return ($${epocroot_prefix}epoc32/include/platform/mw/$$1) |
0 | 112 |
} |
113 |
||
114 |
# --------------------------------------- |
|
115 |
# Location, where the os layer specific public headers are exported |
|
116 |
# --------------------------------------- |
|
117 |
||
118 |
defineReplace(OSEXT_LAYER_SDK_EXPORT_PATH) { |
|
30
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
119 |
return ($${epocroot_prefix}epoc32/include/$$1) |
0 | 120 |
} |
121 |
# WARNING: If the following path changes see the exists() function around line 219 |
|
122 |
defineReplace(OS_LAYER_PUBLIC_EXPORT_PATH) { |
|
30
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
123 |
return ($${epocroot_prefix}epoc32/include/$$1) |
0 | 124 |
} |
125 |
||
126 |
# --------------------------------------- |
|
127 |
# Location, where the os specific platform headers are exported |
|
128 |
# --------------------------------------- |
|
129 |
||
130 |
defineReplace(OSEXT_LAYER_DOMAIN_EXPORT_PATH) { |
|
30
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
131 |
return ($${epocroot_prefix}epoc32/include/platform/$$1) |
0 | 132 |
} |
133 |
defineReplace(OS_LAYER_PLATFORM_EXPORT_PATH) { |
|
30
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
134 |
return ($${epocroot_prefix}epoc32/include/platform/$$1) |
0 | 135 |
} |
136 |
||
137 |
# --------------------------------------- |
|
138 |
# General comments about the 3 define statements related to include paths: |
|
139 |
# 1) the /epoc32/include/oem is now defined there for backward compability. |
|
140 |
# Once the directory is empty, the directory will be removed. However this |
|
141 |
# enables us to ensure that if you use these define statements => you do |
|
142 |
# not have to remove the statements later on, when the directory no longer |
|
143 |
# exists. |
|
144 |
# 2) These statements should be enough in normal cases. For certain specific |
|
145 |
# cases you might need to add some specific directory from /epoc32/include |
|
146 |
# (for instance /epoc32/include/ecom). |
|
147 |
# In normal cases the include staments in code should be relative to one of |
|
148 |
# the system include paths, but in certain cases, the included files requires |
|
149 |
# that the subdirectory is also part of the system include paths. |
|
150 |
# --------------------------------------- |
|
151 |
||
152 |
# This variable defines the include paths, which are intended to be |
|
153 |
# used in the pro-files that are part of the applications-layer. It includes all |
|
154 |
# the needed directories from the /epoc32/include, that are valid ones for the |
|
155 |
# application-layer components. |
|
156 |
# |
|
157 |
# Applications layer is the last one in the list, since most likely the most of |
|
158 |
# the headers come from middleware or os-layer => thus they are first. |
|
159 |
||
160 |
APP_LAYER_SYSTEMINCLUDE = \ |
|
30
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
161 |
$${epocroot_prefix}epoc32/include \ |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
162 |
$${epocroot_prefix}epoc32/include/mw \ |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
163 |
$${epocroot_prefix}epoc32/include/platform/mw \ |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
164 |
$${epocroot_prefix}epoc32/include/platform \ |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
165 |
$${epocroot_prefix}epoc32/include/app \ |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
166 |
$${epocroot_prefix}epoc32/include/platform/app \ |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
167 |
$${epocroot_prefix}epoc32/include/platform/loc \ |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
168 |
$${epocroot_prefix}epoc32/include/platform/mw/loc \ |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
169 |
$${epocroot_prefix}epoc32/include/platform/app/loc \ |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
170 |
$${epocroot_prefix}epoc32/include/platform/loc/sc \ |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
171 |
$${epocroot_prefix}epoc32/include/platform/mw/loc/sc \ |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
172 |
$${epocroot_prefix}epoc32/include/platform/app/loc/sc |
0 | 173 |
|
174 |
# This define statements defines the include paths, which are intended to be |
|
175 |
# used in the pro-files that are part of the middleware-layer. It includes all |
|
176 |
# the needed directories from the /epoc32/include, that are valid ones for the |
|
177 |
# middleware-layer components. |
|
178 |
||
179 |
MW_LAYER_SYSTEMINCLUDE = \ |
|
30
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
180 |
$${epocroot_prefix}epoc32/include \ |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
181 |
$${epocroot_prefix}epoc32/include/mw \ |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
182 |
$${epocroot_prefix}epoc32/include/platform/mw \ |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
183 |
$${epocroot_prefix}epoc32/include/platform \ |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
184 |
$${epocroot_prefix}epoc32/include/platform/loc \ |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
185 |
$${epocroot_prefix}epoc32/include/platform/mw/loc \ |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
186 |
$${epocroot_prefix}epoc32/include/platform/loc/sc \ |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
187 |
$${epocroot_prefix}epoc32/include/platform/mw/loc/sc |
0 | 188 |
|
189 |
# This define statements defines the include paths, which are intended to be |
|
190 |
# used in the pro-files that are part of the osextensions-layer. It includes all |
|
191 |
# the needed directories from the /epoc32/include, that are valid ones for the |
|
192 |
# os-layer components. |
|
193 |
||
194 |
OS_LAYER_SYSTEMINCLUDE = \ |
|
30
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
195 |
$${epocroot_prefix}epoc32/include \ |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
196 |
$${epocroot_prefix}epoc32/include/platform \ |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
197 |
$${epocroot_prefix}epoc32/include/platform/loc \ |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
198 |
$${epocroot_prefix}epoc32/include/platform/loc/sc |
0 | 199 |
|
200 |
# This define statements defines the include paths, which are intended to be |
|
201 |
# used in the pro-files that are part of the os-layer. This is intended |
|
202 |
# to be only used by those components which need to use in their mmp-file either |
|
203 |
# kern_ext.mmh or nkern_ext.mmh. Reason is that those |
|
204 |
# 2 files already contain the /epoc32/include as system include path. |
|
205 |
||
206 |
OS_LAYER_KERNEL_SYSTEMINCLUDE = \ |
|
30
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
207 |
$${epocroot_prefix}epoc32/include/platform |
0 | 208 |
|
209 |
||
210 |
# --------------------------------------- |
|
211 |
# Definitions that also define the systeminclude paths for various |
|
212 |
# part of stdapis. Append to INCLUDEPATH in pro-file. |
|
213 |
# --------------------------------------- |
|
214 |
||
215 |
OS_LAYER_LIBC_SYSTEMINCLUDE = $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis) \ |
|
216 |
$$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/sys) |
|
217 |
||
218 |
OS_LAYER_GLIB_SYSTEMINCLUDE = $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/glib-2.0) \ |
|
219 |
$$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/glib-2.0/glib) \ |
|
220 |
$$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/glib-2.0/gObject) |
|
221 |
||
222 |
OS_LAYER_SSL_SYSTEMINCLUDE = $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/openssl) |
|
223 |
||
224 |
# stlportv5 is preferred over stlport as it has the throwing version of operator new |
|
18
2f34d5167611
Revision: 201011
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
3
diff
changeset
|
225 |
exists($${EPOCROOT}epoc32/include/stdapis/stlport) \ |
2f34d5167611
Revision: 201011
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
3
diff
changeset
|
226 |
:!exists($${EPOCROOT}epoc32/include/stdapis/stlportv5) { |
2f34d5167611
Revision: 201011
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
3
diff
changeset
|
227 |
OS_LAYER_STDCPP_SYSTEMINCLUDE = $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/stlport) |
2f34d5167611
Revision: 201011
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
3
diff
changeset
|
228 |
} else { |
2f34d5167611
Revision: 201011
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
3
diff
changeset
|
229 |
OS_LAYER_STDCPP_SYSTEMINCLUDE = $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/stlportv5) |
2f34d5167611
Revision: 201011
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
3
diff
changeset
|
230 |
} |
0 | 231 |
|
232 |
OS_LAYER_BOOST_SYSTEMINCLUDE = $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/boost) |
|
233 |
||
234 |
OS_LAYER_DBUS_SYSTEMINCLUDE = $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/dbus-1.0) \ |
|
235 |
$$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/dbus-1.0/dbus) |
|
236 |
||
237 |
OS_LAYER_LIBUTILITY_SYSTEMINCLUDE = $$OS_LAYER_PLATFORM_EXPORT_PATH(stdapis/utility) |
|
238 |
||
239 |
} else { # Old pre-SF structure |
|
240 |
||
241 |
# --------------------------------------- |
|
242 |
# Location, where the applications layer specific public headers are exported |
|
243 |
# --------------------------------------- |
|
244 |
||
245 |
defineReplace(APP_LAYER_SDK_EXPORT_PATH) { |
|
30
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
246 |
return ($${epocroot_prefix}epoc32/include/applications/$$1) |
0 | 247 |
} |
248 |
defineReplace(APP_LAYER_PUBLIC_EXPORT_PATH) { |
|
30
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
249 |
return ($${epocroot_prefix}epoc32/include/applications/$$1) |
0 | 250 |
} |
251 |
||
252 |
# --------------------------------------- |
|
253 |
# Location, where the applications layer specific platform headers are exported |
|
254 |
# --------------------------------------- |
|
255 |
||
256 |
defineReplace(APP_LAYER_DOMAIN_EXPORT_PATH) { |
|
30
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
257 |
return ($${epocroot_prefix}epoc32/include/domain/applications/$$1) |
0 | 258 |
} |
259 |
defineReplace(APP_LAYER_PLATFORM_EXPORT_PATH) { |
|
30
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
260 |
return ($${epocroot_prefix}epoc32/include/domain/applications/$$1) |
0 | 261 |
} |
262 |
||
263 |
# --------------------------------------- |
|
264 |
# Location, where the middleware layer specific public headers are exported |
|
265 |
# --------------------------------------- |
|
266 |
||
267 |
defineReplace(MW_LAYER_SDK_EXPORT_PATH) { |
|
30
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
268 |
return ($${epocroot_prefix}epoc32/include/middleware/$$1) |
0 | 269 |
} |
270 |
defineReplace(MW_LAYER_PUBLIC_EXPORT_PATH) { |
|
30
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
271 |
return ($${epocroot_prefix}epoc32/include/middleware/$$1) |
0 | 272 |
} |
273 |
||
274 |
# --------------------------------------- |
|
275 |
# Location, where the middleware layer specific platform headers are exported |
|
276 |
# --------------------------------------- |
|
277 |
||
278 |
defineReplace(MW_LAYER_DOMAIN_EXPORT_PATH) { |
|
30
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
279 |
return ($${epocroot_prefix}epoc32/include/domain/middleware/$$1) |
0 | 280 |
} |
281 |
defineReplace(MW_LAYER_PLATFORM_EXPORT_PATH) { |
|
30
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
282 |
return ($${epocroot_prefix}epoc32/include/domain/middleware/$$1) |
0 | 283 |
} |
284 |
||
285 |
# --------------------------------------- |
|
286 |
# Location, where the os layer specific public headers are exported |
|
287 |
# --------------------------------------- |
|
288 |
||
289 |
defineReplace(OSEXT_LAYER_SDK_EXPORT_PATH) { |
|
30
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
290 |
return ($${epocroot_prefix}epoc32/include/osextensions/$$1) |
0 | 291 |
} |
292 |
# WARNING: If the following path changes see the exists() function around line 430 |
|
293 |
defineReplace(OS_LAYER_PUBLIC_EXPORT_PATH) { |
|
30
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
294 |
return ($${epocroot_prefix}epoc32/include/osextensions/$$1) |
0 | 295 |
} |
296 |
||
297 |
# --------------------------------------- |
|
298 |
# Location, where the os specific platform headers are exported |
|
299 |
# --------------------------------------- |
|
300 |
||
301 |
defineReplace(OSEXT_LAYER_DOMAIN_EXPORT_PATH) { |
|
30
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
302 |
return ($${epocroot_prefix}epoc32/include/domain/osextensions/$$1) |
0 | 303 |
} |
304 |
defineReplace(OS_LAYER_PLATFORM_EXPORT_PATH) { |
|
30
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
305 |
return ($${epocroot_prefix}epoc32/include/domain/osextensions/$$1) |
0 | 306 |
} |
307 |
||
308 |
# --------------------------------------- |
|
309 |
# General comments about the 3 define statements related to include paths: |
|
310 |
# 1) the /epoc32/include/oem is now defined there for backward compability. |
|
311 |
# Once the directory is empty, the directory will be removed. However this |
|
312 |
# enables us to ensure that if you use these define statements => you do |
|
313 |
# not have to remove the statements later on, when the directory no longer |
|
314 |
# exists. |
|
315 |
# 2) These statements should be enough in normal cases. For certain specific |
|
316 |
# cases you might need to add some specific directory from /epoc32/include |
|
317 |
# (for instance /epoc32/include/ecom). |
|
318 |
# In normal cases the include staments in code should be relative to one of |
|
319 |
# the system include paths, but in certain cases, the included files requires |
|
320 |
# that the subdirectory is also part of the system include paths. |
|
321 |
# --------------------------------------- |
|
322 |
||
323 |
# This variable defines the include paths, which are intended to be |
|
324 |
# used in the pro-files that are part of the applications-layer. It includes all |
|
325 |
# the needed directories from the /epoc32/include, that are valid ones for the |
|
326 |
# application-layer components. |
|
327 |
# |
|
328 |
# Applications layer is the last one in the list, since most likely the most of |
|
329 |
# the headers come from middleware or os-layer => thus they are first. |
|
330 |
||
331 |
APP_LAYER_SYSTEMINCLUDE = \ |
|
30
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
332 |
$${epocroot_prefix}epoc32/include \ |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
333 |
$${epocroot_prefix}epoc32/include/oem \ |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
334 |
$${epocroot_prefix}epoc32/include/middleware \ |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
335 |
$${epocroot_prefix}epoc32/include/domain/middleware \ |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
336 |
$${epocroot_prefix}epoc32/include/osextensions \ |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
337 |
$${epocroot_prefix}epoc32/include/domain/osextensions \ |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
338 |
$${epocroot_prefix}epoc32/include/applications \ |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
339 |
$${epocroot_prefix}epoc32/include/domain/applications \ |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
340 |
$${epocroot_prefix}epoc32/include/domain/osextensions/loc \ |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
341 |
$${epocroot_prefix}epoc32/include/domain/middleware/loc \ |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
342 |
$${epocroot_prefix}epoc32/include/domain/applications/loc \ |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
343 |
$${epocroot_prefix}epoc32/include/domain/osextensions/loc/sc \ |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
344 |
$${epocroot_prefix}epoc32/include/domain/middleware/loc/sc \ |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
345 |
$${epocroot_prefix}epoc32/include/domain/applications/loc/sc |
0 | 346 |
|
347 |
# This define statements defines the include paths, which are intended to be |
|
348 |
# used in the pro-files that are part of the middleware-layer. It includes all |
|
349 |
# the needed directories from the /epoc32/include, that are valid ones for the |
|
350 |
# middleware-layer components. |
|
351 |
||
352 |
MW_LAYER_SYSTEMINCLUDE = \ |
|
30
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
353 |
$${epocroot_prefix}epoc32/include \ |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
354 |
$${epocroot_prefix}epoc32/include/oem \ |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
355 |
$${epocroot_prefix}epoc32/include/middleware \ |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
356 |
$${epocroot_prefix}epoc32/include/domain/middleware \ |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
357 |
$${epocroot_prefix}epoc32/include/osextensions \ |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
358 |
$${epocroot_prefix}epoc32/include/domain/osextensions \ |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
359 |
$${epocroot_prefix}epoc32/include/domain/osextensions/loc \ |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
360 |
$${epocroot_prefix}epoc32/include/domain/middleware/loc \ |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
361 |
$${epocroot_prefix}epoc32/include/domain/osextensions/loc/sc \ |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
362 |
$${epocroot_prefix}epoc32/include/domain/middleware/loc/sc |
0 | 363 |
|
364 |
# This define statements defines the include paths, which are intended to be |
|
365 |
# used in the pro-files that are part of the osextensions-layer. It includes all |
|
366 |
# the needed directories from the /epoc32/include, that are valid ones for the |
|
367 |
# os-layer components. |
|
368 |
||
369 |
OS_LAYER_SYSTEMINCLUDE = \ |
|
30
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
370 |
$${epocroot_prefix}epoc32/include \ |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
371 |
$${epocroot_prefix}epoc32/include/oem \ |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
372 |
$${epocroot_prefix}epoc32/include/osextensions \ |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
373 |
$${epocroot_prefix}epoc32/include/domain/osextensions \ |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
374 |
$${epocroot_prefix}epoc32/include/domain/osextensions/loc \ |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
375 |
$${epocroot_prefix}epoc32/include/domain/osextensions/loc/sc |
0 | 376 |
|
377 |
# This define statements defines the include paths, which are intended to be |
|
378 |
# used in the pro-files that are part of the os-layer. This is intended |
|
379 |
# to be only used by those components which need to use in their mmp-file either |
|
380 |
# kern_ext.mmh or nkern_ext.mmh. Reason is that those |
|
381 |
# 2 files already contain the /epoc32/include as system include path. |
|
382 |
||
383 |
OS_LAYER_KERNEL_SYSTEMINCLUDE = \ |
|
30
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
384 |
$${epocroot_prefix}epoc32/include/oem \ |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
385 |
$${epocroot_prefix}epoc32/include/osextensions \ |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
386 |
$${epocroot_prefix}epoc32/include/domain/osextensions |
0 | 387 |
|
388 |
||
389 |
# --------------------------------------- |
|
390 |
# Definitions that also define the systeminclude paths for various |
|
391 |
# part of stdapis. Append to INCLUDEPATH in pro-file. |
|
392 |
# --------------------------------------- |
|
393 |
||
394 |
OS_LAYER_LIBC_SYSTEMINCLUDE = $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis) \ |
|
395 |
$$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/sys) \ |
|
30
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
396 |
$${epocroot_prefix}epoc32/include/stdapis \ |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
397 |
$${epocroot_prefix}epoc32/include/stdapis/sys |
0 | 398 |
|
399 |
OS_LAYER_GLIB_SYSTEMINCLUDE = $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/glib-2.0) \ |
|
400 |
$$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/glib-2.0/glib) \ |
|
401 |
$$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/glib-2.0/gObject) \ |
|
30
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
402 |
$${epocroot_prefix}epoc32/include/stdapis/glib-2.0 \ |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
403 |
$${epocroot_prefix}epoc32/include/stdapis/glib-2.0/glib \ |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
404 |
$${epocroot_prefix}epoc32/include/stdapis/glib-2.0/gObject |
0 | 405 |
|
406 |
OS_LAYER_SSL_SYSTEMINCLUDE = $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/openssl) \ |
|
30
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
407 |
$${epocroot_prefix}epoc32/include/stdapis/openssl |
0 | 408 |
|
18
2f34d5167611
Revision: 201011
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
3
diff
changeset
|
409 |
# stlportv5 is preferred over stlport as it has the throwing version of operator new |
0 | 410 |
OS_LAYER_STDCPP_SYSTEMINCLUDE = $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/stlportv5) \ |
30
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
411 |
$${epocroot_prefix}epoc32/include/stdapis/stlportv5 |
18
2f34d5167611
Revision: 201011
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
3
diff
changeset
|
412 |
exists($${EPOCROOT}epoc32/include/osextensions/stdapis/stlport) \ |
2f34d5167611
Revision: 201011
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
3
diff
changeset
|
413 |
|exists($${EPOCROOT}epoc32/include/stdapis/stlport) { |
2f34d5167611
Revision: 201011
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
3
diff
changeset
|
414 |
!exists($${EPOCROOT}epoc32/include/osextensions/stdapis/stlportv5) \ |
2f34d5167611
Revision: 201011
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
3
diff
changeset
|
415 |
:!exists($${EPOCROOT}epoc32/include/stdapis/stlportv5) { |
2f34d5167611
Revision: 201011
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
3
diff
changeset
|
416 |
OS_LAYER_STDCPP_SYSTEMINCLUDE = $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/stlport) \ |
30
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
417 |
$${epocroot_prefix}epoc32/include/stdapis/stlport |
18
2f34d5167611
Revision: 201011
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
3
diff
changeset
|
418 |
} |
2f34d5167611
Revision: 201011
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
3
diff
changeset
|
419 |
} |
0 | 420 |
|
421 |
OS_LAYER_BOOST_SYSTEMINCLUDE = $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/boost) \ |
|
30
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
422 |
$${epocroot_prefix}epoc32/include/stdapis/boost |
0 | 423 |
|
424 |
OS_LAYER_DBUS_SYSTEMINCLUDE = $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/dbus-1.0) \ |
|
425 |
$$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/dbus-1.0/dbus) \ |
|
30
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
426 |
$${epocroot_prefix}epoc32/include/stdapis/dbus-1.0 \ |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
427 |
$${epocroot_prefix}epoc32/include/stdapis/dbus-1.0/dbus |
0 | 428 |
|
429 |
OS_LAYER_LIBUTILITY_SYSTEMINCLUDE = $$OS_LAYER_PLATFORM_EXPORT_PATH(stdapis/utility) \ |
|
30
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
430 |
$${epocroot_prefix}epoc32/include/stdapis/utility |
0 | 431 |
|
432 |
} |
|
19
fcece45ef507
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
18
diff
changeset
|
433 |
|
fcece45ef507
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
18
diff
changeset
|
434 |
# Definitions common to both structures |
fcece45ef507
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
18
diff
changeset
|
435 |
|
fcece45ef507
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
18
diff
changeset
|
436 |
# --------------------------------------- |
fcece45ef507
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
18
diff
changeset
|
437 |
# Definitions to export IBY files to different folders where they will be taken |
fcece45ef507
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
18
diff
changeset
|
438 |
# to ROM image |
fcece45ef507
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
18
diff
changeset
|
439 |
# --------------------------------------- |
fcece45ef507
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
18
diff
changeset
|
440 |
|
fcece45ef507
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
18
diff
changeset
|
441 |
defineReplace(CORE_APP_LAYER_IBY_EXPORT_PATH) { |
30
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
442 |
return($${epocroot_prefix}epoc32/rom/include/core/app/$$1) |
19
fcece45ef507
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
18
diff
changeset
|
443 |
} |
fcece45ef507
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
18
diff
changeset
|
444 |
defineReplace(CORE_MW_LAYER_IBY_EXPORT_PATH) { |
30
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
445 |
return($${epocroot_prefix}epoc32/rom/include/core/mw/$$1) |
19
fcece45ef507
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
18
diff
changeset
|
446 |
} |
fcece45ef507
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
18
diff
changeset
|
447 |
|
fcece45ef507
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
18
diff
changeset
|
448 |
defineReplace(LANGUAGE_APP_LAYER_IBY_EXPORT_PATH) { |
30
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
449 |
return($${epocroot_prefix}epoc32/rom/include/language/app/$$1) |
19
fcece45ef507
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
18
diff
changeset
|
450 |
} |
fcece45ef507
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
18
diff
changeset
|
451 |
defineReplace(LANGUAGE_MW_LAYER_IBY_EXPORT_PATH) { |
30
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
452 |
return($${epocroot_prefix}epoc32/rom/include/language/mw/$$1) |
19
fcece45ef507
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
18
diff
changeset
|
453 |
} |
fcece45ef507
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
18
diff
changeset
|
454 |
|
fcece45ef507
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
18
diff
changeset
|
455 |
defineReplace(CUSTOMER_APP_LAYER_IBY_EXPORT_PATH) { |
30
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
456 |
return($${epocroot_prefix}epoc32/rom/include/customer/app/$$1) |
19
fcece45ef507
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
18
diff
changeset
|
457 |
} |
fcece45ef507
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
18
diff
changeset
|
458 |
defineReplace(CUSTOMER_MW_LAYER_IBY_EXPORT_PATH) { |
30
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
459 |
return($${epocroot_prefix}epoc32/rom/include/customer/mw/$$1) |
19
fcece45ef507
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
18
diff
changeset
|
460 |
} |
fcece45ef507
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
18
diff
changeset
|
461 |
|
fcece45ef507
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
18
diff
changeset
|
462 |
defineReplace(CUSTOMER_VARIANT_APP_LAYER_IBY_EXPORT_PATH) { |
30
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
463 |
return($${epocroot_prefix}epoc32/rom/include/customervariant/app/$$1) |
19
fcece45ef507
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
18
diff
changeset
|
464 |
} |
fcece45ef507
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
18
diff
changeset
|
465 |
defineReplace(CUSTOMER_VARIANT_MW_LAYER_IBY_EXPORT_PATH) { |
30
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
466 |
return($${epocroot_prefix}epoc32/rom/include/customervariant/mw/$$1) |
19
fcece45ef507
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
18
diff
changeset
|
467 |
} |
fcece45ef507
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
18
diff
changeset
|
468 |
|
fcece45ef507
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
18
diff
changeset
|
469 |
# You need to define the following in pro-file, if you are using the stllib: |
fcece45ef507
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
18
diff
changeset
|
470 |
# QMAKE_CXXFLAGS.CW *= $$STLLIB_USAGE_CW_FLAGS |
fcece45ef507
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
18
diff
changeset
|
471 |
# DEFINES *= $$STLLIB_USAGE_DEFINES |
fcece45ef507
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
18
diff
changeset
|
472 |
STLLIB_USAGE_CW_FLAGS = "-wchar_t on" |
fcece45ef507
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
18
diff
changeset
|
473 |
STLLIB_USAGE_DEFINES = _WCHAR_T_DECLARED |
fcece45ef507
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
18
diff
changeset
|
474 |
|
0 | 475 |
} |
476 |
||
30
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
477 |
epocroot_prefix = |