1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/kernelhwsrv/kerneltest/e32test/nkernsa/nktest_lib.mmp Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,79 @@
1.4 +// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
1.5 +// All rights reserved.
1.6 +// This component and the accompanying materials are made available
1.7 +// under the terms of the License "Eclipse Public License v1.0"
1.8 +// which accompanies this distribution, and is available
1.9 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.10 +//
1.11 +// Initial Contributors:
1.12 +// Nokia Corporation - initial contribution.
1.13 +//
1.14 +// Contributors:
1.15 +//
1.16 +// Description:
1.17 +// e32test/nkernsa/nktest_lib.mmp
1.18 +//
1.19 +//
1.20 +
1.21 +#define STANDALONE_NANOKERNEL
1.22 +macro __STANDALONE_NANOKERNEL__
1.23 +
1.24 +#include <variant.mmh>
1.25 +
1.26 +target VariantTarget(nktest_lib,lib)
1.27 +targettype klib
1.28 +
1.29 +USERINCLUDE ../../../kernel/eka/include/kernel
1.30 +
1.31 +#ifdef SMP
1.32 +#include <nkernsmp/nkern_ext.mmh>
1.33 +#else
1.34 +#include <nkern/nkern_ext.mmh>
1.35 +#endif
1.36 +
1.37 +#if defined(MARM)
1.38 +sourcepath arm
1.39 +source armutils.cpp
1.40 +source armutils.cia
1.41 +
1.42 +sourcepath ../../../kernel/eka/common/arm
1.43 +userinclude ../../../kernel/eka/common
1.44 +source cmem.cia
1.45 +#if defined(GCC32)
1.46 +source cgcchelp.cpp cgcchelp.cia
1.47 +#elif defined(ARMCC)
1.48 +source armcchlp.cpp
1.49 +#ifndef SBSV2
1.50 +source armcchlp.cia
1.51 +#endif
1.52 +#endif
1.53 +
1.54 +#elif defined(X86)
1.55 +sourcepath x86
1.56 +source x86utils.cpp
1.57 +source x86utils.cia
1.58 +
1.59 +sourcepath ../../../kernel/eka/common/x86
1.60 +userinclude ../../../kernel/eka/common
1.61 +source cmem.cia
1.62 +
1.63 +#elif defined(WINS)
1.64 +#error Not yet implemented on WINS
1.65 +#endif
1.66 +
1.67 +sourcepath .
1.68 +source init.cpp kprintf.cpp tlsf.cpp nkutils.cpp
1.69 +source diag.cpp
1.70 +source main.cpp
1.71 +source testutils.cpp
1.72 +source threadbasic.cpp
1.73 +source fastsem.cpp
1.74 +source fastmutex.cpp
1.75 +source debug.cpp
1.76 +source testipi.cpp
1.77 +source testdfc.cpp
1.78 +source fastbuf.cpp
1.79 +source benchmark.cpp
1.80 +source rwspinlock.cpp
1.81 +source tiedevents.cpp
1.82 +SMPSAFE