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