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