williamr@4
|
1 |
/*
|
williamr@4
|
2 |
* Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
|
williamr@4
|
3 |
* All rights reserved.
|
williamr@4
|
4 |
* This component and the accompanying materials are made available
|
williamr@4
|
5 |
* under the terms of "Eclipse Public License v1.0"
|
williamr@4
|
6 |
* which accompanies this distribution, and is available
|
williamr@4
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
williamr@4
|
8 |
*
|
williamr@4
|
9 |
* Initial Contributors:
|
williamr@4
|
10 |
* Nokia Corporation - initial contribution.
|
williamr@4
|
11 |
*
|
williamr@4
|
12 |
* Contributors:
|
williamr@4
|
13 |
*
|
williamr@4
|
14 |
* Description: Predefined include paths to be used in the mmp-files for the
|
williamr@4
|
15 |
* components in the layered model. There is one definition for
|
williamr@4
|
16 |
* each layer. The mmp-file should use the statement that is
|
williamr@4
|
17 |
* intended for the same layer as where the mmp-file resides.
|
williamr@4
|
18 |
*
|
williamr@4
|
19 |
* There is also macros to be used in the bld.inf-files to
|
williamr@4
|
20 |
* export of Public and Platform headers into
|
williamr@4
|
21 |
* correct locations.
|
williamr@4
|
22 |
*
|
williamr@4
|
23 |
* Usage examples:
|
williamr@4
|
24 |
* ---------------------------------------------
|
williamr@4
|
25 |
* How to include this file in bld.inf and mmp-files.
|
williamr@4
|
26 |
* Reasoning: The build system is such that at the time the
|
williamr@4
|
27 |
* bld.inf and mmp-files are "compiled" the available
|
williamr@4
|
28 |
* include paths are limited. Only the /epoc32/include
|
williamr@4
|
29 |
* can be guaranteed. Thus to get this file available
|
williamr@4
|
30 |
* you need to make include relative to the mentioned
|
williamr@4
|
31 |
* directory.
|
williamr@4
|
32 |
* ---------------------------------------------
|
williamr@4
|
33 |
*
|
williamr@4
|
34 |
* #include <platform_paths.hrh>
|
williamr@4
|
35 |
*
|
williamr@4
|
36 |
* *************************************************************
|
williamr@4
|
37 |
* * MMP file related macro usages to add the system include paths
|
williamr@4
|
38 |
* *
|
williamr@4
|
39 |
* * The include paths has to be related to the layer in which your SW
|
williamr@4
|
40 |
* * resides. Thus as an example: a component residing in middleware
|
williamr@4
|
41 |
* * layer should use the MW specific macro.
|
williamr@4
|
42 |
* * Keep this as a separate line in the mmp-files. If you need to
|
williamr@4
|
43 |
* * add your own SYSTEMINCLUDE paths, please defined them as
|
williamr@4
|
44 |
* * separate statement.
|
williamr@4
|
45 |
* *************************************************************
|
williamr@4
|
46 |
* APP_LAYER_SYSTEMINCLUDE
|
williamr@4
|
47 |
* MW_LAYER_SYSTEMINCLUDE
|
williamr@4
|
48 |
* OS_LAYER_SYSTEMINCLUDE
|
williamr@4
|
49 |
**
|
williamr@4
|
50 |
* *************************************************************
|
williamr@4
|
51 |
* * Macros related to using various parts of stdapis
|
williamr@4
|
52 |
* *************************************************************
|
williamr@4
|
53 |
* To use STLLIB you need to have this in your mmp-file
|
williamr@4
|
54 |
* STLLIB_USAGE_DEFINITIONS
|
williamr@4
|
55 |
*
|
williamr@4
|
56 |
* Depending on what module you are using from stdapis you need to have
|
williamr@4
|
57 |
* one or more of the following macros in your mmp-file (every one in
|
williamr@4
|
58 |
* separate line !)
|
williamr@4
|
59 |
*
|
williamr@4
|
60 |
* OS_LAYER_LIBC_SYSTEMINCLUDE
|
williamr@4
|
61 |
* OS_LAYER_GLIB_SYSTEMINCLUDE
|
williamr@4
|
62 |
* OS_LAYER_SSL_SYSTEMINCLUDE
|
williamr@4
|
63 |
* OS_LAYER_STDCPP_SYSTEMINCLUDE
|
williamr@4
|
64 |
* OS_LAYER_BOOST_SYSTEMINCLUDE
|
williamr@4
|
65 |
* OS_LAYER_DBUS_SYSTEMINCLUDE
|
williamr@4
|
66 |
* OS_LAYER_LIBUTILITY_SYSTEMINCLUDE
|
williamr@4
|
67 |
*
|
williamr@4
|
68 |
* *************************************************************
|
williamr@4
|
69 |
* * Macros related to exporting Public and Platform APIs into
|
williamr@4
|
70 |
* * correct place in the new system.
|
williamr@4
|
71 |
* *
|
williamr@4
|
72 |
* * The macro that you should use depends on 2 things:
|
williamr@4
|
73 |
* * - in which layer your package, which exports the APIs resides
|
williamr@4
|
74 |
* * - what is the visibility of the API (public or platform)
|
williamr@4
|
75 |
* *************************************************************
|
williamr@4
|
76 |
* // the exporting of public APIs should use one of below macros
|
williamr@4
|
77 |
* // depending on which layer the API belogs to
|
williamr@4
|
78 |
* APP_LAYER_PUBLIC_EXPORT_PATH
|
williamr@4
|
79 |
* MW_LAYER_PUBLIC_EXPORT_PATH
|
williamr@4
|
80 |
* OS_LAYER_PUBLIC_EXPORT_PATH
|
williamr@4
|
81 |
*
|
williamr@4
|
82 |
* // the exporting of platform APIs should use one of below macros
|
williamr@4
|
83 |
* // depending on which layer the API belogs to
|
williamr@4
|
84 |
* APP_LAYER_PLATFORM_EXPORT_PATH
|
williamr@4
|
85 |
* MW_LAYER_PLATFORM_EXPORT_PATH
|
williamr@4
|
86 |
* OS_LAYER_PLATFORM_EXPORT_PATH
|
williamr@4
|
87 |
*
|
williamr@4
|
88 |
* The hierarchy how APIs should reside in foundation has been specified
|
williamr@4
|
89 |
* in developer documentation. See further details from documentation.
|
williamr@4
|
90 |
* Below is example case relying on the structure
|
williamr@4
|
91 |
* my_own_api/group/bld.inf
|
williamr@4
|
92 |
* my_own_api/inc/header1.h
|
williamr@4
|
93 |
* my_own_api/inc/subdir/header2.h
|
williamr@4
|
94 |
*
|
williamr@4
|
95 |
* Assuming that the API is in middleware layer and a public API.
|
williamr@4
|
96 |
* Then the bld.inf should have the following
|
williamr@4
|
97 |
* ../inc/header1.h APP_LAYER_PUBLIC_EXPORT_PATH(header1.h)
|
williamr@4
|
98 |
* ../inc/subdir/header2.h APP_LAYER_PUBLIC_EXPORT_PATH(subdir/header2.h)
|
williamr@4
|
99 |
*
|
williamr@4
|
100 |
* In the above case the locations are as follow (with current MACRO settings):
|
williamr@4
|
101 |
* header1.h in /epoc32/include/app
|
williamr@4
|
102 |
* header2.h in /epoc32/include/app/subdir
|
williamr@4
|
103 |
*
|
williamr@4
|
104 |
*
|
williamr@4
|
105 |
* *************************************************************
|
williamr@4
|
106 |
* * Macros related to IBY file exporting
|
williamr@4
|
107 |
* *************************************************************
|
williamr@4
|
108 |
*
|
williamr@4
|
109 |
* Component bld.inf files need to include platform_paths.hrh, see
|
williamr@4
|
110 |
* beginning of this file on how to do this correctly. Component bld.inf
|
williamr@4
|
111 |
* files need to use these macros in PRJ_EXPORTS to get their IBY files
|
williamr@4
|
112 |
* to ROM image.
|
williamr@4
|
113 |
*
|
williamr@4
|
114 |
* ---------------------------------------------
|
williamr@4
|
115 |
* Usage for Core image (ROM+ROFS1):
|
williamr@4
|
116 |
* ---------------------------------------------
|
williamr@4
|
117 |
* // Layer specific specific macros. Use the macro, which is specified
|
williamr@4
|
118 |
* // for the layer, in which your component resides
|
williamr@4
|
119 |
* <somepath>/<file1.iby> CORE_APP_LAYER_IBY_EXPORT_PATH(<file1.iby>)
|
williamr@4
|
120 |
* <somepath>/<file2.iby> CORE_MW_LAYER_IBY_EXPORT_PATH(<file2.iby>)
|
williamr@4
|
121 |
* <somepath>/<file3.iby> CORE_OS_LAYER_IBY_EXPORT_PATH(<file3.iby>)
|
williamr@4
|
122 |
*
|
williamr@4
|
123 |
* //stub iby files
|
williamr@4
|
124 |
* <somepath>/<file4.iby> CORE_IBY_EXPORT_PATH(stubs,<file4.iby>)
|
williamr@4
|
125 |
* //tool iby files
|
williamr@4
|
126 |
* <somepath>/<file5.iby> CORE_IBY_EXPORT_PATH(tools,<file5.iby>)
|
williamr@4
|
127 |
*
|
williamr@4
|
128 |
* ---------------------------------------------
|
williamr@4
|
129 |
* Usage for Variant image, Language part (ROFS2):
|
williamr@4
|
130 |
* ---------------------------------------------
|
williamr@4
|
131 |
* // Layer specific specific macros. Use the macro, which is specified
|
williamr@4
|
132 |
* // for the layer, in which your component resides
|
williamr@4
|
133 |
* <somepath>/<file1.iby> LANGUAGE_APP_LAYER_IBY_EXPORT_PATH(<file1.iby>)
|
williamr@4
|
134 |
* <somepath>/<file2.iby> LANGUAGE_MW_LAYER_IBY_EXPORT_PATH(<file2.iby>)
|
williamr@4
|
135 |
* <somepath>/<file3.iby> LANGUAGE_OS_LAYER_IBY_EXPORT_PATH(<file3.iby>)
|
williamr@4
|
136 |
*
|
williamr@4
|
137 |
* ---------------------------------------------
|
williamr@4
|
138 |
* Usage for Variant image, Language part (ROFS2):
|
williamr@4
|
139 |
* ---------------------------------------------
|
williamr@4
|
140 |
* // Layer specific specific macros. Use the macro, which is specified
|
williamr@4
|
141 |
* // for the layer, in which your component resides
|
williamr@4
|
142 |
* <somepath>/<file1.iby> CUSTOMER_APP_LAYER_IBY_EXPORT_PATH(<file1.iby>)
|
williamr@4
|
143 |
* <somepath>/<file2.iby> CUSTOMER_MW_LAYER_IBY_EXPORT_PATH(<file2.iby>)
|
williamr@4
|
144 |
* <somepath>/<file3.iby> CUSTOMER_OS_LAYER_IBY_EXPORT_PATH(<file3.iby>)
|
williamr@4
|
145 |
*
|
williamr@4
|
146 |
* ---------------------------------------------
|
williamr@4
|
147 |
* Usage for Customer Variant image, (ROFS3):
|
williamr@4
|
148 |
* ---------------------------------------------
|
williamr@4
|
149 |
* // Layer specific specific macros. Use the macro, which is specified
|
williamr@4
|
150 |
* // for the layer, in which your component resides
|
williamr@4
|
151 |
* <somepath>/<f1.iby> CUSTOMER_VARIANT_APP_LAYER_IBY_EXPORT_PATH(<f1.iby>)
|
williamr@4
|
152 |
* <somepath>/<f2.iby> CUSTOMER_VARIANT_MW_LAYER_IBY_EXPORT_PATH(<f2.iby>)
|
williamr@4
|
153 |
* <somepath>/<f3.iby> CUSTOMER_VARIANT_OS_LAYER_IBY_EXPORT_PATH(<f3.iby>)
|
williamr@4
|
154 |
*
|
williamr@4
|
155 |
*
|
williamr@4
|
156 |
* *************************************************************
|
williamr@4
|
157 |
* * Macro related to Exporting localization .loc files into
|
williamr@4
|
158 |
* * correct place in the system.
|
williamr@4
|
159 |
* *************************************************************
|
williamr@4
|
160 |
*
|
williamr@4
|
161 |
* ---------------------------------------------
|
williamr@4
|
162 |
* Usage for components:
|
williamr@4
|
163 |
* ---------------------------------------------
|
williamr@4
|
164 |
* Component bld.inf files need to include platform_paths.hrh, see
|
williamr@4
|
165 |
* beginning of this file on how to do this correctly. Component bld.inf
|
williamr@4
|
166 |
* files need to use these macros in PRJ_EXPORTS to get their loc files
|
williamr@4
|
167 |
* for localization.
|
williamr@4
|
168 |
* loc files that should be localized by localisation team should be in
|
williamr@4
|
169 |
* loc-folder in the source tree (see developer guidelines)
|
williamr@4
|
170 |
*
|
williamr@4
|
171 |
* // Layer specific specific macros. Use the macro, which is specified
|
williamr@4
|
172 |
* // for the layer, in which your component resides
|
williamr@4
|
173 |
* <somepath>/loc/<file>.loc APP_LAYER_LOC_EXPORT_PATH(<file>.loc)
|
williamr@4
|
174 |
* <somepath>/loc/<file>.loc MW_LAYER_LOC_EXPORT_PATH(<file>.loc)
|
williamr@4
|
175 |
* <somepath>/loc/<file>.loc OS_LAYER_LOC_EXPORT_PATH(<file>.loc)
|
williamr@4
|
176 |
*
|
williamr@4
|
177 |
*
|
williamr@4
|
178 |
*
|
williamr@4
|
179 |
*
|
williamr@4
|
180 |
*/
|
williamr@4
|
181 |
|
williamr@4
|
182 |
|
williamr@4
|
183 |
#ifndef PLATFORM_PATHS_HRH
|
williamr@4
|
184 |
#define PLATFORM_PATHS_HRH
|
williamr@4
|
185 |
|
williamr@4
|
186 |
/**
|
williamr@4
|
187 |
**************************************************************************
|
williamr@4
|
188 |
* General comments about the exporting of headers macros
|
williamr@4
|
189 |
* 1) The definitions point currently to the old locations. (which makes some
|
williamr@4
|
190 |
* macros to have same values. The idea is that you can already start using
|
williamr@4
|
191 |
* them now and those will be later on changed => change affects everybody.
|
williamr@4
|
192 |
***************************************************************************
|
williamr@4
|
193 |
*/
|
williamr@4
|
194 |
|
williamr@4
|
195 |
/**
|
williamr@4
|
196 |
* ---------------------------------------
|
williamr@4
|
197 |
* Location, where the applications layer specific public headers should be exported
|
williamr@4
|
198 |
* See usage on top of this hrh-file.
|
williamr@4
|
199 |
* ---------------------------------------
|
williamr@4
|
200 |
*/
|
williamr@4
|
201 |
|
williamr@4
|
202 |
#if __GNUC__ >= 3
|
williamr@4
|
203 |
#define APP_LAYER_SDK_EXPORT_PATH(exported) do not use intentionally generates error
|
williamr@4
|
204 |
#define APP_LAYER_PUBLIC_EXPORT_PATH(exported) /epoc32/include/app/exported
|
williamr@4
|
205 |
#else
|
williamr@4
|
206 |
#define APP_LAYER_SDK_EXPORT_PATH(exported) do not use intentionally generates error
|
williamr@4
|
207 |
#define APP_LAYER_PUBLIC_EXPORT_PATH(exported) /epoc32/include/app/##exported
|
williamr@4
|
208 |
#endif
|
williamr@4
|
209 |
|
williamr@4
|
210 |
/**
|
williamr@4
|
211 |
* ---------------------------------------
|
williamr@4
|
212 |
* Location, where the applications layer specific platform headers should be exported
|
williamr@4
|
213 |
* See usage on top of this hrh-file.
|
williamr@4
|
214 |
* ---------------------------------------
|
williamr@4
|
215 |
*/
|
williamr@4
|
216 |
#if __GNUC__ >= 3
|
williamr@4
|
217 |
#define APP_LAYER_DOMAIN_EXPORT_PATH(exported) do not use intentionally generates error
|
williamr@4
|
218 |
#define APP_LAYER_PLATFORM_EXPORT_PATH(exported) /epoc32/include/platform/app/exported
|
williamr@4
|
219 |
#else
|
williamr@4
|
220 |
#define APP_LAYER_DOMAIN_EXPORT_PATH(exported) do not use intentionally generates error
|
williamr@4
|
221 |
#define APP_LAYER_PLATFORM_EXPORT_PATH(exported) /epoc32/include/platform/app/##exported
|
williamr@4
|
222 |
#endif
|
williamr@4
|
223 |
|
williamr@4
|
224 |
/**
|
williamr@4
|
225 |
* ---------------------------------------
|
williamr@4
|
226 |
* Location, where the middleware layer specific public headers should be exported
|
williamr@4
|
227 |
* See usage on top of this hrh-file.
|
williamr@4
|
228 |
* ---------------------------------------
|
williamr@4
|
229 |
*/
|
williamr@4
|
230 |
#if __GNUC__ >= 3
|
williamr@4
|
231 |
#define MW_LAYER_SDK_EXPORT_PATH(exported) do not use intentionally generates error
|
williamr@4
|
232 |
#define MW_LAYER_PUBLIC_EXPORT_PATH(exported) /epoc32/include/mw/exported
|
williamr@4
|
233 |
#else
|
williamr@4
|
234 |
#define MW_LAYER_SDK_EXPORT_PATH(exported) do not use intentionally generates error
|
williamr@4
|
235 |
#define MW_LAYER_PUBLIC_EXPORT_PATH(exported) /epoc32/include/mw/##exported
|
williamr@4
|
236 |
#endif
|
williamr@4
|
237 |
|
williamr@4
|
238 |
/**
|
williamr@4
|
239 |
* ---------------------------------------
|
williamr@4
|
240 |
* Location, where the middleware layer specific platform headers should be exported
|
williamr@4
|
241 |
* ---------------------------------------
|
williamr@4
|
242 |
*/
|
williamr@4
|
243 |
#if __GNUC__ >= 3
|
williamr@4
|
244 |
#define MW_LAYER_DOMAIN_EXPORT_PATH(exported) do not use intentionally generates error
|
williamr@4
|
245 |
#define MW_LAYER_PLATFORM_EXPORT_PATH(exported) /epoc32/include/platform/mw/exported
|
williamr@4
|
246 |
#else
|
williamr@4
|
247 |
#define MW_LAYER_DOMAIN_EXPORT_PATH(exported) do not use intentionally generates error
|
williamr@4
|
248 |
#define MW_LAYER_PLATFORM_EXPORT_PATH(exported) /epoc32/include/platform/mw/##exported
|
williamr@4
|
249 |
#endif
|
williamr@4
|
250 |
|
williamr@4
|
251 |
/**
|
williamr@4
|
252 |
* ---------------------------------------
|
williamr@4
|
253 |
* Location, where the os layer specific public headers should be exported
|
williamr@4
|
254 |
* ---------------------------------------
|
williamr@4
|
255 |
*/
|
williamr@4
|
256 |
#if __GNUC__ >= 3
|
williamr@4
|
257 |
#define OSEXT_LAYER_SDK_EXPORT_PATH(exported) do not use intentionally generates error
|
williamr@4
|
258 |
#define OS_LAYER_PUBLIC_EXPORT_PATH(exported) /epoc32/include/exported
|
williamr@4
|
259 |
#else
|
williamr@4
|
260 |
#define OSEXT_LAYER_SDK_EXPORT_PATH(exported) do not use intentionally generates error
|
williamr@4
|
261 |
#define OS_LAYER_PUBLIC_EXPORT_PATH(exported) /epoc32/include/##exported
|
williamr@4
|
262 |
#endif
|
williamr@4
|
263 |
|
williamr@4
|
264 |
/**
|
williamr@4
|
265 |
* ---------------------------------------
|
williamr@4
|
266 |
* Location, where the os specific platform headers should be exported
|
williamr@4
|
267 |
* ---------------------------------------
|
williamr@4
|
268 |
*/
|
williamr@4
|
269 |
#if __GNUC__ >= 3
|
williamr@4
|
270 |
#define OSEXT_LAYER_DOMAIN_EXPORT_PATH(exported) do not use intentionally generates error
|
williamr@4
|
271 |
#define OS_LAYER_PLATFORM_EXPORT_PATH(exported) /epoc32/include/platform/exported
|
williamr@4
|
272 |
#else
|
williamr@4
|
273 |
#define OSEXT_LAYER_DOMAIN_EXPORT_PATH(exported) do not use intentionally generates error
|
williamr@4
|
274 |
#define OS_LAYER_PLATFORM_EXPORT_PATH(exported) /epoc32/include/platform/##exported
|
williamr@4
|
275 |
#endif
|
williamr@4
|
276 |
|
williamr@4
|
277 |
/**
|
williamr@4
|
278 |
* ---------------------------------------
|
williamr@4
|
279 |
* Location, where the cenrep excel sheets should be exported
|
williamr@4
|
280 |
* Deprecated: should no longer be used. Kept for compability.
|
williamr@4
|
281 |
* ---------------------------------------
|
williamr@4
|
282 |
*/
|
williamr@4
|
283 |
#if __GNUC__ >= 3
|
williamr@4
|
284 |
#define CENREP_XLS_EXPORT_PATH(exported) /epoc32/tools/cenrep/data/src/exported
|
williamr@4
|
285 |
#else
|
williamr@4
|
286 |
#define CENREP_XLS_EXPORT_PATH(exported) /epoc32/tools/cenrep/data/src/##exported
|
williamr@4
|
287 |
#endif
|
williamr@4
|
288 |
|
williamr@4
|
289 |
/**
|
williamr@4
|
290 |
**************************************************************************
|
williamr@4
|
291 |
* General comments about the 3 define statements related to include paths:
|
williamr@4
|
292 |
* 1) the /epoc32/include/oem is now defined there for backward compability.
|
williamr@4
|
293 |
* Once the directory is empty, the directory will be removed. However this
|
williamr@4
|
294 |
* enables us to ensure that if you use these define statements => you do
|
williamr@4
|
295 |
* not have to remove the statements later on, when the directory no longer
|
williamr@4
|
296 |
* exists.
|
williamr@4
|
297 |
* 2) These statements should be enough in normal cases. For certain specific
|
williamr@4
|
298 |
* cases you migth need to add some specific directory from /epoc32/include
|
williamr@4
|
299 |
* (for instance /epoc32/include/ecom).
|
williamr@4
|
300 |
* In normal cases the include staments in code should be relative to one of
|
williamr@4
|
301 |
* the system include paths, but in certain cases, the included files requires
|
williamr@4
|
302 |
* that the subdirectory is also part of the system include paths.
|
williamr@4
|
303 |
****************************************************************************
|
williamr@4
|
304 |
*/
|
williamr@4
|
305 |
|
williamr@4
|
306 |
/**
|
williamr@4
|
307 |
* This define statements defines the SYSTEMINCLUDE-line, which is intended to be
|
williamr@4
|
308 |
* used in the mmp-files that are part of the applications-layer. It includes all
|
williamr@4
|
309 |
* the needed directories from the /epoc32/include, that are valid ones for the
|
williamr@4
|
310 |
* application-layer components.
|
williamr@4
|
311 |
*
|
williamr@4
|
312 |
* Applications layer is the last one in the list, since most likely the most of
|
williamr@4
|
313 |
* the headers come from middleware or os-layer => thus they are first.
|
williamr@4
|
314 |
*/
|
williamr@4
|
315 |
#define APP_LAYER_SYSTEMINCLUDE SYSTEMINCLUDE \
|
williamr@4
|
316 |
/epoc32/include \
|
williamr@4
|
317 |
/epoc32/include/mw \
|
williamr@4
|
318 |
/epoc32/include/platform/mw \
|
williamr@4
|
319 |
/epoc32/include/platform \
|
williamr@4
|
320 |
/epoc32/include/app \
|
williamr@4
|
321 |
/epoc32/include/platform/app \
|
williamr@4
|
322 |
/epoc32/include/platform/loc \
|
williamr@4
|
323 |
/epoc32/include/platform/mw/loc \
|
williamr@4
|
324 |
/epoc32/include/platform/app/loc \
|
williamr@4
|
325 |
/epoc32/include/platform/loc/sc \
|
williamr@4
|
326 |
/epoc32/include/platform/mw/loc/sc \
|
williamr@4
|
327 |
/epoc32/include/platform/app/loc/sc
|
williamr@4
|
328 |
|
williamr@4
|
329 |
/**
|
williamr@4
|
330 |
* This define statements defines the SYSTEMINCLUDE-line, which is intended to be
|
williamr@4
|
331 |
* used in the mmp-files that are part of the middleware-layer. It includes all
|
williamr@4
|
332 |
* the needed directories from the /epoc32/include, that are valid ones for the
|
williamr@4
|
333 |
* middleware-layer components.
|
williamr@4
|
334 |
*/
|
williamr@4
|
335 |
#define MW_LAYER_SYSTEMINCLUDE SYSTEMINCLUDE \
|
williamr@4
|
336 |
/epoc32/include \
|
williamr@4
|
337 |
/epoc32/include/mw \
|
williamr@4
|
338 |
/epoc32/include/platform/mw \
|
williamr@4
|
339 |
/epoc32/include/platform \
|
williamr@4
|
340 |
/epoc32/include/platform/loc \
|
williamr@4
|
341 |
/epoc32/include/platform/mw/loc \
|
williamr@4
|
342 |
/epoc32/include/platform/loc/sc \
|
williamr@4
|
343 |
/epoc32/include/platform/mw/loc/sc
|
williamr@4
|
344 |
|
williamr@4
|
345 |
/**
|
williamr@4
|
346 |
* This define statements defines the SYSTEMINCLUDE-line, which is intended to be
|
williamr@4
|
347 |
* used in the mmp-files that are part of the osextensions-layer. It includes all
|
williamr@4
|
348 |
* the needed directories from the /epoc32/include, that are valid ones for the
|
williamr@4
|
349 |
* os-layer components.
|
williamr@4
|
350 |
*/
|
williamr@4
|
351 |
#define OS_LAYER_SYSTEMINCLUDE SYSTEMINCLUDE \
|
williamr@4
|
352 |
/epoc32/include \
|
williamr@4
|
353 |
/epoc32/include/platform \
|
williamr@4
|
354 |
/epoc32/include/platform/loc \
|
williamr@4
|
355 |
/epoc32/include/platform/loc/sc
|
williamr@4
|
356 |
|
williamr@4
|
357 |
// Below statement is Deprecated and the OS_LAYER_SYSTEMINCLUDE-macro has to be
|
williamr@4
|
358 |
// used.
|
williamr@4
|
359 |
// Removed, use teh OS_LAYER_SYSTEMINCLUDE instead.
|
williamr@4
|
360 |
// #define OSEXT_LAYER_SYSTEMINCLUDE OS_LAYER_SYSTEMINCLUDE
|
williamr@4
|
361 |
|
williamr@4
|
362 |
/**
|
williamr@4
|
363 |
* This define statements defines the SYSTEMINCLUDE-line, which is intended to be
|
williamr@4
|
364 |
* used in the mmp-files that are part of the os-layer. This is intended
|
williamr@4
|
365 |
* to be only used by those components which need to use in their mmp-file either
|
williamr@4
|
366 |
* kern_ext.mmh or nkern_ext.mmh. Reason is that those
|
williamr@4
|
367 |
* 2 files already contain the /epoc32/include as system include path.
|
williamr@4
|
368 |
*
|
williamr@4
|
369 |
*/
|
williamr@4
|
370 |
#define OS_LAYER_KERNEL_SYSTEMINCLUDE SYSTEMINCLUDE \
|
williamr@4
|
371 |
/epoc32/include/platform
|
williamr@4
|
372 |
|
williamr@4
|
373 |
// Below statement is Deprecated and the OS_LAYER_KERNEL_SYSTEMINCLUDE-macro
|
williamr@4
|
374 |
// has to be used.
|
williamr@4
|
375 |
// Removed, use the OS_LAYER_KERNER_SYSTEMINCLUDE instead.
|
williamr@4
|
376 |
// #define OSEXT_LAYER_KERNEL_SYSTEMINCLUDE OS_LAYER_KERNEL_SYSTEMINCLUDE
|
williamr@4
|
377 |
|
williamr@4
|
378 |
/**
|
williamr@4
|
379 |
****************************************************************************
|
williamr@4
|
380 |
* Definitions that also define the systeminclude paths for various
|
williamr@4
|
381 |
* part of stdapis. Each statement has to be in its own line in the using
|
williamr@4
|
382 |
* mmp-file. There are be more than 1 statement in single mmp-file.
|
williamr@4
|
383 |
****************************************************************************
|
williamr@4
|
384 |
*/
|
williamr@4
|
385 |
#define OS_LAYER_LIBC_SYSTEMINCLUDE SYSTEMINCLUDE OS_LAYER_PUBLIC_EXPORT_PATH(stdapis)
|
williamr@4
|
386 |
|
williamr@4
|
387 |
#define OS_LAYER_GLIB_SYSTEMINCLUDE SYSTEMINCLUDE OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/glib-2.0) \
|
williamr@4
|
388 |
OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/glib-2.0/glib) \
|
williamr@4
|
389 |
OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/glib-2.0/gobject)
|
williamr@4
|
390 |
|
williamr@4
|
391 |
|
williamr@4
|
392 |
#define OS_LAYER_SSL_SYSTEMINCLUDE SYSTEMINCLUDE OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/openssl)
|
williamr@4
|
393 |
|
williamr@4
|
394 |
#define OS_LAYER_STDCPP_SYSTEMINCLUDE SYSTEMINCLUDE OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/stlport)
|
williamr@4
|
395 |
|
williamr@4
|
396 |
#define OS_LAYER_BOOST_SYSTEMINCLUDE SYSTEMINCLUDE OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/boost)
|
williamr@4
|
397 |
|
williamr@4
|
398 |
#define OS_LAYER_DBUS_SYSTEMINCLUDE SYSTEMINCLUDE OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/dbus-1.0) \
|
williamr@4
|
399 |
OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/dbus-1.0/dbus)
|
williamr@4
|
400 |
#define OS_LAYER_LIBUTILITY_SYSTEMINCLUDE SYSTEMINCLUDE OS_LAYER_PLATFORM_EXPORT_PATH(stdapis/utility)
|
williamr@4
|
401 |
|
williamr@4
|
402 |
#define OS_LAYER_LIBOIL_SYSTEMINCLUDE SYSTEMINCLUDE OS_LAYER_PLATFORM_EXPORT_PATH(stdapis/liboil)
|
williamr@4
|
403 |
|
williamr@4
|
404 |
#define MW_LAYER_GSTREAMER_SYSTEMINCLUDE SYSTEMINCLUDE \
|
williamr@4
|
405 |
/epoc32/include/platform/mw/gstreamer/10_18 \
|
williamr@4
|
406 |
/epoc32/include/platform/mw/gstreamer/10_18/gst \
|
williamr@4
|
407 |
/epoc32/include/platform/mw/gstreamer/10_18/gst/gstcontroller \
|
williamr@4
|
408 |
/epoc32/include/stdapis/machine
|
williamr@4
|
409 |
|
williamr@4
|
410 |
// You need to add STLLIB_USAGE_DEFINITIONS as a separate line into your mmp-file, if you are using
|
williamr@4
|
411 |
// the stllib.
|
williamr@4
|
412 |
#define STLLIB_USAGE_DEFINITIONS OPTION CW -wchar_t on\
|
williamr@4
|
413 |
MACRO _WCHAR_T_DECLARED
|
williamr@4
|
414 |
|
williamr@4
|
415 |
|
williamr@4
|
416 |
/**
|
williamr@4
|
417 |
****************************************************************************
|
williamr@4
|
418 |
* Definitions that also define the paths to the layer specific source directories.
|
williamr@4
|
419 |
****************************************************************************
|
williamr@4
|
420 |
*/
|
williamr@4
|
421 |
/**
|
williamr@4
|
422 |
* The below 3 macros define the paths to the layer-specific source dirs.
|
williamr@4
|
423 |
* See usage on top of this hrh-file, these are used the same way as
|
williamr@4
|
424 |
* for instance the OS_LAYER_DOMAIN_EXPORT_PATH
|
williamr@4
|
425 |
* Deprecated: is not allowed to be using in Symbian Foundation
|
williamr@4
|
426 |
*/
|
williamr@4
|
427 |
#if __GNUC__ >= 3
|
williamr@4
|
428 |
#define APP_LAYER_SOURCE_PATH(rest) do not use intentionally generates error in export
|
williamr@4
|
429 |
#define MW_LAYER_SOURCE_PATH(rest) do not use intentionally generates error in export
|
williamr@4
|
430 |
#define OSEXT_LAYER_SOURCE_PATH(rest) do not use intentionally generates error in export
|
williamr@4
|
431 |
#else
|
williamr@4
|
432 |
#define APP_LAYER_SOURCE_PATH(rest) do not use intentionally generates error in export
|
williamr@4
|
433 |
#define MW_LAYER_SOURCE_PATH(rest) do not use intentionally generates error in export
|
williamr@4
|
434 |
#define OSEXT_LAYER_SOURCE_PATH(rest) do not use intentionally generates error in export
|
williamr@4
|
435 |
#endif
|
williamr@4
|
436 |
|
williamr@4
|
437 |
/**
|
williamr@4
|
438 |
****************************************************************************
|
williamr@4
|
439 |
* Definitions to export IBY files to different folders where they will be taken
|
williamr@4
|
440 |
* to ROM image
|
williamr@4
|
441 |
****************************************************************************
|
williamr@4
|
442 |
*/
|
williamr@4
|
443 |
|
williamr@4
|
444 |
// Following three definitions are used for exporting IBY files to
|
williamr@4
|
445 |
// Core image (ROM+ROFS1). IBY files are exported according to their layer.
|
williamr@4
|
446 |
#if __GNUC__ >= 3
|
williamr@4
|
447 |
#define CORE_APP_LAYER_IBY_EXPORT_PATH(exported) /epoc32/rom/include/core/app/exported
|
williamr@4
|
448 |
#define CORE_MW_LAYER_IBY_EXPORT_PATH(exported) /epoc32/rom/include/core/mw/exported
|
williamr@4
|
449 |
#define CORE_OSEXT_LAYER_IBY_EXPORT_PATH(exported) do not use intentionally generates error
|
williamr@4
|
450 |
#define CORE_OS_LAYER_IBY_EXPORT_PATH(exported) /epoc32/rom/include/core/os/exported
|
williamr@4
|
451 |
#define CORE_ADAPT_LAYER_IBY_EXPORT_PATH(exported) /epoc32/rom/include/exported
|
williamr@4
|
452 |
#else
|
williamr@4
|
453 |
#define CORE_APP_LAYER_IBY_EXPORT_PATH(exported) /epoc32/rom/include/core/app/##exported
|
williamr@4
|
454 |
#define CORE_MW_LAYER_IBY_EXPORT_PATH(exported) /epoc32/rom/include/core/mw/##exported
|
williamr@4
|
455 |
#define CORE_OSEXT_LAYER_IBY_EXPORT_PATH(exported) do not use intentionally generates error
|
williamr@4
|
456 |
#define CORE_OS_LAYER_IBY_EXPORT_PATH(exported) /epoc32/rom/include/core/os/##exported
|
williamr@4
|
457 |
#define CORE_ADAPT_LAYER_IBY_EXPORT_PATH(exported) /epoc32/rom/include/##exported
|
williamr@4
|
458 |
#endif
|
williamr@4
|
459 |
|
williamr@4
|
460 |
// Following three definitions are used for exporting IBY files to Variant image,
|
williamr@4
|
461 |
// Language part (ROFS2). IBY files are exported according to their layer.
|
williamr@4
|
462 |
#if __GNUC__ >= 3
|
williamr@4
|
463 |
#define LANGUAGE_APP_LAYER_IBY_EXPORT_PATH(exported) /epoc32/rom/include/language/app/exported
|
williamr@4
|
464 |
#define LANGUAGE_MW_LAYER_IBY_EXPORT_PATH(exported) /epoc32/rom/include/language/mw/exported
|
williamr@4
|
465 |
#define LANGUAGE_OSEXT_LAYER_IBY_EXPORT_PATH(exported) do not use intentionally generates error
|
williamr@4
|
466 |
#define LANGUAGE_OS_LAYER_IBY_EXPORT_PATH(exported) /epoc32/rom/include/language/os/exported
|
williamr@4
|
467 |
#else
|
williamr@4
|
468 |
#define LANGUAGE_APP_LAYER_IBY_EXPORT_PATH(exported) /epoc32/rom/include/language/app/##exported
|
williamr@4
|
469 |
#define LANGUAGE_MW_LAYER_IBY_EXPORT_PATH(exported) /epoc32/rom/include/language/mw/##exported
|
williamr@4
|
470 |
#define LANGUAGE_OSEXT_LAYER_IBY_EXPORT_PATH(exported) do not use intentionally generates error
|
williamr@4
|
471 |
#define LANGUAGE_OS_LAYER_IBY_EXPORT_PATH(exported) /epoc32/rom/include/language/os/##exported
|
williamr@4
|
472 |
#endif
|
williamr@4
|
473 |
|
williamr@4
|
474 |
// Following three definitions are used for exporting IBY files to Variant image, (ROFS2).
|
williamr@4
|
475 |
// BY files are exported according to their layer.
|
williamr@4
|
476 |
#if __GNUC__ >= 3
|
williamr@4
|
477 |
#define CUSTOMER_APP_LAYER_IBY_EXPORT_PATH(exported) /epoc32/rom/include/customer/app/exported
|
williamr@4
|
478 |
#define CUSTOMER_MW_LAYER_IBY_EXPORT_PATH(exported) /epoc32/rom/include/customer/mw/exported
|
williamr@4
|
479 |
#define CUSTOMER_OSEXT_LAYER_IBY_EXPORT_PATH(exported) do not use intentionally generates error
|
williamr@4
|
480 |
#define CUSTOMER_OS_LAYER_IBY_EXPORT_PATH(exported) /epoc32/rom/include/customer/os/exported
|
williamr@4
|
481 |
#else
|
williamr@4
|
482 |
#define CUSTOMER_APP_LAYER_IBY_EXPORT_PATH(exported) /epoc32/rom/include/customer/app/##exported
|
williamr@4
|
483 |
#define CUSTOMER_MW_LAYER_IBY_EXPORT_PATH(exported) /epoc32/rom/include/customer/mw/##exported
|
williamr@4
|
484 |
#define CUSTOMER_OSEXT_LAYER_IBY_EXPORT_PATH(exported) do not use intentionally generates error
|
williamr@4
|
485 |
#define CUSTOMER_OS_LAYER_IBY_EXPORT_PATH(exported) /epoc32/rom/include/customer/os/##exported
|
williamr@4
|
486 |
#endif
|
williamr@4
|
487 |
|
williamr@4
|
488 |
// Following three definitions are used for exporting IBY files to
|
williamr@4
|
489 |
// Variant Customer part, (ROFS3). IBY files are exported according to
|
williamr@4
|
490 |
// their layer.
|
williamr@4
|
491 |
#if __GNUC__ >= 3
|
williamr@4
|
492 |
#define CUSTOMER_VARIANT_APP_LAYER_IBY_EXPORT_PATH(exported) /epoc32/rom/include/customervariant/app/exported
|
williamr@4
|
493 |
#define CUSTOMER_VARIANT_MW_LAYER_IBY_EXPORT_PATH(exported) /epoc32/rom/include/customervariant/mw/exported
|
williamr@4
|
494 |
#define CUSTOMER_VARIANT_OSEXT_LAYER_IBY_EXPORT_PATH(exported) do not use intentionally generates error
|
williamr@4
|
495 |
#define CUSTOMER_VARIANT_OS_LAYER_IBY_EXPORT_PATH(exported) /epoc32/rom/include/customervariant/os/exported
|
williamr@4
|
496 |
#else
|
williamr@4
|
497 |
#define CUSTOMER_VARIANT_APP_LAYER_IBY_EXPORT_PATH(exported) /epoc32/rom/include/customervariant/app/##exported
|
williamr@4
|
498 |
#define CUSTOMER_VARIANT_MW_LAYER_IBY_EXPORT_PATH(exported) /epoc32/rom/include/customervariant/mw/##exported
|
williamr@4
|
499 |
#define CUSTOMER_VARIANT_OSEXT_LAYER_IBY_EXPORT_PATH(exported) do not use intentionally generates error
|
williamr@4
|
500 |
#define CUSTOMER_VARIANT_OS_LAYER_IBY_EXPORT_PATH(exported) /epoc32/rom/include/customervariant/os/##exported
|
williamr@4
|
501 |
#endif
|
williamr@4
|
502 |
|
williamr@4
|
503 |
|
williamr@4
|
504 |
// Following definition is used for exporting tools and stubs IBY files to
|
williamr@4
|
505 |
// Core image.
|
williamr@4
|
506 |
#if __GNUC__ >= 3
|
williamr@4
|
507 |
#define CORE_IBY_EXPORT_PATH(path,exported) /epoc32/rom/include/core/path/exported
|
williamr@4
|
508 |
#else
|
williamr@4
|
509 |
#define CORE_IBY_EXPORT_PATH(path,exported) /epoc32/rom/include/core/##path##/##exported
|
williamr@4
|
510 |
#endif
|
williamr@4
|
511 |
|
williamr@4
|
512 |
/**
|
williamr@4
|
513 |
* ---------------------------------------
|
williamr@4
|
514 |
* Location, where the localization .loc file should be exported
|
williamr@4
|
515 |
* ---------------------------------------
|
williamr@4
|
516 |
*/
|
williamr@4
|
517 |
// Location, where the os layer localization .loc file should be
|
williamr@4
|
518 |
// exported
|
williamr@4
|
519 |
#if __GNUC__ >= 3
|
williamr@4
|
520 |
// Deprecated: use the OS_LAYER_LOC_EXPORT_PATH instead
|
williamr@4
|
521 |
#define OSEXT_LAYER_LOC_EXPORT_PATH(exported) do not use intentionally generates error
|
williamr@4
|
522 |
#define OS_LAYER_LOC_EXPORT_PATH(exported) /epoc32/include/platform/loc/sc/exported
|
williamr@4
|
523 |
|
williamr@4
|
524 |
// Location, where the middleware layer localization .loc file should be
|
williamr@4
|
525 |
// exported
|
williamr@4
|
526 |
#define MW_LAYER_LOC_EXPORT_PATH(exported) /epoc32/include/platform/mw/loc/sc/exported
|
williamr@4
|
527 |
|
williamr@4
|
528 |
// Location, where the application layer localization .loc file should be
|
williamr@4
|
529 |
// exported
|
williamr@4
|
530 |
#define APP_LAYER_LOC_EXPORT_PATH(exported) /epoc32/include/platform/app/loc/sc/exported
|
williamr@4
|
531 |
|
williamr@4
|
532 |
#else
|
williamr@4
|
533 |
|
williamr@4
|
534 |
// Deprecated: use the OS_LAYER_LOC_EXPORT_PATH instead
|
williamr@4
|
535 |
#define OSEXT_LAYER_LOC_EXPORT_PATH(exported) do not use intentionally generates error
|
williamr@4
|
536 |
#define OS_LAYER_LOC_EXPORT_PATH(exported) /epoc32/include/platform/loc/sc/##exported
|
williamr@4
|
537 |
|
williamr@4
|
538 |
// Location, where the middleware layer localization .loc file should be exported
|
williamr@4
|
539 |
#define MW_LAYER_LOC_EXPORT_PATH(exported) /epoc32/include/platform/mw/loc/sc/##exported
|
williamr@4
|
540 |
|
williamr@4
|
541 |
// Location, where the application layer localization .loc file should be exported
|
williamr@4
|
542 |
#define APP_LAYER_LOC_EXPORT_PATH(exported) /epoc32/include/platform/app/loc/sc/##exported
|
williamr@4
|
543 |
#endif
|
williamr@4
|
544 |
|
williamr@4
|
545 |
/**
|
williamr@4
|
546 |
* ---------------------------------------
|
williamr@4
|
547 |
* Macros for Configuration tool migration.
|
williamr@4
|
548 |
* The below macros define the location under epoc32, where the confml
|
williamr@4
|
549 |
* (Configuration Markup Language) and crml (Central Repository Markup Language)
|
williamr@4
|
550 |
* files should be exported.
|
williamr@4
|
551 |
* ---------------------------------------
|
williamr@4
|
552 |
*/
|
williamr@4
|
553 |
#if __GNUC__ >= 3
|
williamr@4
|
554 |
#define CONFML_EXPORT_PATH(file,category) /epoc32/rom/config/confml_data/category/file
|
williamr@4
|
555 |
#define CRML_EXPORT_PATH(file,category) /epoc32/rom/config/confml_data/category/file
|
williamr@4
|
556 |
#define GCFML_EXPORT_PATH(file,category) /epoc32/rom/config/confml_data/category/file
|
williamr@4
|
557 |
#define CONFML_CONFIG_EXPORT_PATH(file,category) /epoc32/rom/config/confml_data/category/config/file
|
williamr@4
|
558 |
#else
|
williamr@4
|
559 |
#define CONFML_EXPORT_PATH(file,category) /epoc32/rom/config/confml_data/##category##/##file
|
williamr@4
|
560 |
#define CRML_EXPORT_PATH(file,category) /epoc32/rom/config/confml_data/##category##/##file
|
williamr@4
|
561 |
#define GCFML_EXPORT_PATH(file,category) /epoc32/rom/config/confml_data/##category##/##file
|
williamr@4
|
562 |
#define CONFML_CONFIG_EXPORT_PATH(file,category) /epoc32/rom/config/confml_data/##category##/config/##file
|
williamr@4
|
563 |
#endif
|
williamr@4
|
564 |
|
williamr@4
|
565 |
#define APP_LAYER_CONFML(exported) CONFML_EXPORT_PATH(exported,s60)
|
williamr@4
|
566 |
#define APP_LAYER_CRML(exported) CRML_EXPORT_PATH(exported,s60)
|
williamr@4
|
567 |
#define APP_LAYER_GCFML(exported) GCFML_EXPORT_PATH(exported,s60)
|
williamr@4
|
568 |
#define APP_LAYER_CONFML_CONFIG(exported) CONFML_CONFIG_EXPORT_PATH(exported,s60)
|
williamr@4
|
569 |
|
williamr@4
|
570 |
#define MW_LAYER_CONFML(exported) CONFML_EXPORT_PATH(exported,s60)
|
williamr@4
|
571 |
#define MW_LAYER_CRML(exported) CRML_EXPORT_PATH(exported,s60)
|
williamr@4
|
572 |
#define MW_LAYER_GCFML(exported) GCFML_EXPORT_PATH(exported,s60)
|
williamr@4
|
573 |
#define MW_LAYER_CONFML_CONFIG(exported) CONFML_CONFIG_EXPORT_PATH(exported,s60)
|
williamr@4
|
574 |
|
williamr@4
|
575 |
// Deprecate: Use the OS_LAYER_* macros instead of OSEXT_LAYER_*
|
williamr@4
|
576 |
#define OSEXT_LAYER_CONFML(exported) do not use intentionally generates error
|
williamr@4
|
577 |
#define OSEXT_LAYER_CRML(exported) do not use intentionally generates error
|
williamr@4
|
578 |
#define OSEXT_LAYER_GCFML(exported) do not use intentionally generates error
|
williamr@4
|
579 |
#define OSEXT_LAYER_CONFML_CONFIG(exported) do not use intentionally generates error
|
williamr@4
|
580 |
#define OS_LAYER_CONFML(exported) CONFML_EXPORT_PATH(exported,s60)
|
williamr@4
|
581 |
#define OS_LAYER_CRML(exported) CRML_EXPORT_PATH(exported,s60)
|
williamr@4
|
582 |
#define OS_LAYER_GCFML(exported) GCFML_EXPORT_PATH(exported,s60)
|
williamr@4
|
583 |
#define OS_LAYER_CONFML_CONFIG(exported) CONFML_CONFIG_EXPORT_PATH(exported,s60)
|
williamr@4
|
584 |
|
williamr@4
|
585 |
#endif // end of PLATFORM_PATHS_HRH
|