|
1 /* |
|
2 * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: For including std libs |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef __ALF_STD_INC__ |
|
19 #define __ALF_STD_INC__ |
|
20 |
|
21 |
|
22 // Turn this flag on if you need to compile ecosystem on top of W02 or pre W02 release |
|
23 //#define CONFIGURE_FOR_OPENC_STD |
|
24 #undef CONFIGURE_FOR_OPENC_STD |
|
25 |
|
26 #ifndef CONFIGURE_FOR_OPENC_STD |
|
27 OS_LAYER_LIBC_SYSTEMINCLUDE |
|
28 #else |
|
29 OS_LAYER_LIBC_SYSTEMINCLUDE |
|
30 #endif |
|
31 |
|
32 #ifndef ALF_NO_LIBC_INCLUDES |
|
33 OS_LAYER_LIBC_SYSTEMINCLUDE |
|
34 #endif |
|
35 |
|
36 #ifdef CONFIGURE_FOR_OPENC_STD |
|
37 OS_LAYER_LIBC_SYSTEMINCLUDE |
|
38 #endif |
|
39 |
|
40 OS_LAYER_STDCPP_SYSTEMINCLUDE |
|
41 OS_LAYER_GLIB_SYSTEMINCLUDE |
|
42 |
|
43 #ifndef ALF_NO_WCHAR_MACRO |
|
44 OPTION CW -wchar_t on |
|
45 MACRO _WCHAR_T_DECLARED |
|
46 #endif |
|
47 |
|
48 #ifdef ALF_LINK_STDCPP_DLL |
|
49 #ifdef EPOC32 |
|
50 LIBRARY libstdcpp.lib |
|
51 #else |
|
52 // if you want to use codewarrior for compiling, use |
|
53 // FIRSTLIB libstdcpp.lib |
|
54 // instead |
|
55 FIRSTLIB ../udeb/libstdcpp.lib |
|
56 STATICLIBRARY edll.lib |
|
57 #endif |
|
58 #endif |
|
59 |
|
60 #ifdef ALF_LINK_STDCPP_EXE |
|
61 #ifdef EPOC32 |
|
62 LIBRARY libstdcpp.lib |
|
63 #else |
|
64 // if you want to use codewarrior for compiling, use |
|
65 // FIRSTLIB libstdcpp.lib |
|
66 // instead |
|
67 FIRSTLIB ../udeb/libstdcpp.lib |
|
68 STATICLIBRARY eexe.lib |
|
69 #endif |
|
70 #endif |
|
71 |
|
72 #endif // __ALF_STD_INC__ |