0
|
1 |
// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
2 |
// All rights reserved.
|
|
3 |
// This component and the accompanying materials are made available
|
|
4 |
// under the terms of the License "Eclipse Public License v1.0"
|
|
5 |
// which accompanies this distribution, and is available
|
|
6 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
7 |
//
|
|
8 |
// Initial Contributors:
|
|
9 |
// Nokia Corporation - initial contribution.
|
|
10 |
//
|
|
11 |
// Contributors:
|
|
12 |
//
|
|
13 |
// Description:
|
|
14 |
// e32test/nkernsa/nktest_lib.mmp
|
|
15 |
//
|
|
16 |
//
|
|
17 |
|
|
18 |
#define STANDALONE_NANOKERNEL
|
|
19 |
macro __STANDALONE_NANOKERNEL__
|
|
20 |
|
|
21 |
#include <variant.mmh>
|
|
22 |
|
|
23 |
target VariantTarget(nktest_lib,lib)
|
|
24 |
targettype klib
|
|
25 |
|
|
26 |
USERINCLUDE ../../../kernel/eka/include/kernel
|
|
27 |
|
|
28 |
#ifdef SMP
|
|
29 |
#include <nkernsmp/nkern_ext.mmh>
|
|
30 |
#else
|
|
31 |
#include <nkern/nkern_ext.mmh>
|
|
32 |
#endif
|
|
33 |
|
|
34 |
#if defined(MARM)
|
|
35 |
sourcepath arm
|
|
36 |
source armutils.cpp
|
|
37 |
source armutils.cia
|
|
38 |
|
|
39 |
sourcepath ../../../kernel/eka/common/arm
|
|
40 |
userinclude ../../../kernel/eka/common
|
|
41 |
source cmem.cia
|
|
42 |
#if defined(GCC32)
|
|
43 |
source cgcchelp.cpp cgcchelp.cia
|
|
44 |
#elif defined(ARMCC)
|
|
45 |
source armcchlp.cpp
|
|
46 |
#ifndef SBSV2
|
|
47 |
source armcchlp.cia
|
|
48 |
#endif
|
|
49 |
#endif
|
|
50 |
|
|
51 |
#elif defined(X86)
|
|
52 |
sourcepath x86
|
|
53 |
source x86utils.cpp
|
|
54 |
source x86utils.cia
|
|
55 |
|
|
56 |
sourcepath ../../../kernel/eka/common/x86
|
|
57 |
userinclude ../../../kernel/eka/common
|
|
58 |
source cmem.cia
|
|
59 |
|
|
60 |
#elif defined(WINS)
|
|
61 |
#error Not yet implemented on WINS
|
|
62 |
#endif
|
|
63 |
|
|
64 |
sourcepath .
|
|
65 |
source init.cpp kprintf.cpp tlsf.cpp nkutils.cpp
|
|
66 |
source diag.cpp
|
|
67 |
source main.cpp
|
|
68 |
source testutils.cpp
|
|
69 |
source threadbasic.cpp
|
|
70 |
source fastsem.cpp
|
|
71 |
source fastmutex.cpp
|
|
72 |
source debug.cpp
|
|
73 |
source testipi.cpp
|
|
74 |
source testdfc.cpp
|
|
75 |
source fastbuf.cpp
|
|
76 |
source benchmark.cpp
|
|
77 |
source rwspinlock.cpp
|
|
78 |
source tiedevents.cpp
|
|
79 |
SMPSAFE
|