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