author | William Roberts <williamr@symbian.org> |
Fri, 29 Oct 2010 20:03:11 +0100 | |
changeset 94 | 002e7d402b45 |
parent 73 | 59f45c8582d3 |
permissions | -rw-r--r-- |
70
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
1 |
/* |
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
2 |
* Copyright (c) 2009 Symbian Foundation Ltd |
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
3 |
* This component and the accompanying materials are made available |
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
4 |
* under the terms of the License "Eclipse Public License v1.0" |
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
5 |
* which accompanies this distribution, and is available |
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
6 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html". |
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
7 |
* |
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
8 |
* Initial Contributors: |
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
9 |
* Symbian Foundation Ltd - initial contribution. |
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
10 |
* |
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
11 |
* Contributors: |
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
12 |
* |
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
13 |
* Description: |
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
14 |
* sfopenvg mmp file |
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
15 |
*/ |
71
20afbbdb50d8
Modify MMP files to build OpenVG ref. impl. from stemkit and add to bld.inf.
markw <markw@symbian.org>
parents:
70
diff
changeset
|
16 |
// Modified to build from /sf/incubator/stemkit to enable VFP optimisation |
20afbbdb50d8
Modify MMP files to build OpenVG ref. impl. from stemkit and add to bld.inf.
markw <markw@symbian.org>
parents:
70
diff
changeset
|
17 |
// builds against /sf/os/graphics/openvg/openvgrefimplementation/sfopenvg |
20afbbdb50d8
Modify MMP files to build OpenVG ref. impl. from stemkit and add to bld.inf.
markw <markw@symbian.org>
parents:
70
diff
changeset
|
18 |
|
70
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
19 |
#include <vg\openvguids.hrh> // For uids |
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
20 |
|
71
20afbbdb50d8
Modify MMP files to build OpenVG ref. impl. from stemkit and add to bld.inf.
markw <markw@symbian.org>
parents:
70
diff
changeset
|
21 |
target stem_sflibopenvgrefimpl.dll // Destination filename |
70
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
22 |
|
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
23 |
targettype dll // Binary build type |
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
24 |
uid KUidSharedDllUidValue 0x10281CA6 // File uids |
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
25 |
CAPABILITY ALL -tcb |
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
26 |
vendorid 0x70000001 |
73
59f45c8582d3
Resolve ROM linking issues (via use of NOEXPORTLIBRARY in MMP files) and update rom content and static dependencies.
markw <markw@symbian.org>
parents:
72
diff
changeset
|
27 |
noexportlibrary |
70
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
28 |
|
72
2cad7c5d7db8
Build OpenVG reference implementation for VFPv2.
markw <markw@symbian.org>
parents:
71
diff
changeset
|
29 |
armfpu vfpv2 |
70
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
30 |
|
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
31 |
MACRO __OPENVGHEADERS_USE_VG_1_1 |
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
32 |
|
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
33 |
MACRO USE_NEW_ELEAVE //swictch on to use new(ELeave) rather new in alloc's |
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
34 |
//useful to trap OOM failures |
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
35 |
MACRO BUILD_WITH_PRIVATE_EGL //enable this to compile this dll exporting the private form of the EGL functions. |
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
36 |
//These are the ones starting do_XX (e.g. do_eglInitialize). |
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
37 |
//This should be enabled when you wish to have a separate EGL library (e.g. libegl.dll) |
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
38 |
//which will export the ELG APIs. |
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
39 |
//If this macro is supressed then this dll will export the true EGL APIs |
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
40 |
//see riMiniEgl.cpp |
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
41 |
MACRO BUILD_WITH_PRIVATE_VGU //same meaning as macro BUILD_WITH_PRIVATE_EGL except applies to the VGU API. |
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
42 |
//see riVGU.cpp |
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
43 |
|
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
44 |
MACRO BUILD_WITH_PRIVATE_OPENVG //same meaning as macro BUILD_WITH_PRIVATE_EGL except applies to the OpenVG API. |
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
45 |
//see riAPI.cpp |
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
46 |
|
71
20afbbdb50d8
Modify MMP files to build OpenVG ref. impl. from stemkit and add to bld.inf.
markw <markw@symbian.org>
parents:
70
diff
changeset
|
47 |
userinclude /sf/os/graphics/openvg/openvgrefimplementation/sfopenvg/sfopenvg // Local include files |
20afbbdb50d8
Modify MMP files to build OpenVG ref. impl. from stemkit and add to bld.inf.
markw <markw@symbian.org>
parents:
70
diff
changeset
|
48 |
userinclude /sf/os/graphics/openvg/openvgrefimplementation/sfopenvg/sfopenvg/include // Local include files |
70
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
49 |
|
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
50 |
OS_LAYER_SYSTEMINCLUDE |
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
51 |
OS_LAYER_LIBC_SYSTEMINCLUDE |
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
52 |
OS_LAYER_STDCPP_SYSTEMINCLUDE |
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
53 |
|
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
54 |
SYSTEMINCLUDE OS_LAYER_PUBLIC_EXPORT_PATH(vg) // OpenGL ES include files |
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
55 |
SYSTEMINCLUDE OS_LAYER_PUBLIC_EXPORT_PATH(egl) // EGL include files |
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
56 |
|
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
57 |
|
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
58 |
|
71
20afbbdb50d8
Modify MMP files to build OpenVG ref. impl. from stemkit and add to bld.inf.
markw <markw@symbian.org>
parents:
70
diff
changeset
|
59 |
sourcepath /sf/os/graphics/openvg/openvgrefimplementation/sfopenvg/sfopenvg // Relative path to source files |
70
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
60 |
|
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
61 |
source riApi.cpp |
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
62 |
source riContext.cpp |
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
63 |
source riFont.cpp |
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
64 |
source riImage.cpp |
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
65 |
source riMath.cpp |
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
66 |
source riMiniEGL.cpp |
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
67 |
source riPath.cpp |
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
68 |
source riPixelPipe.cpp |
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
69 |
source riRasterizer.cpp |
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
70 |
source riVGU.cpp |
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
71 |
source riUtils.cpp |
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
72 |
// source sfEGLInterface.cpp is skipped because this contains adaptation to |
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
73 |
// use Nokia Platsim interfaces to provide EGL services |
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
74 |
|
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
75 |
//for EGL |
71
20afbbdb50d8
Modify MMP files to build OpenVG ref. impl. from stemkit and add to bld.inf.
markw <markw@symbian.org>
parents:
70
diff
changeset
|
76 |
SOURCEPATH /sf/os/graphics/openvg/openvgrefimplementation/sfopenvg/sfopenvg/symbian |
70
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
77 |
SOURCE riEGLOS.cpp |
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
78 |
|
71
20afbbdb50d8
Modify MMP files to build OpenVG ref. impl. from stemkit and add to bld.inf.
markw <markw@symbian.org>
parents:
70
diff
changeset
|
79 |
DEFFILE /sf/os/graphics/openvg/openvgrefimplementation/sfopenvg/~/sflibopenvgrefimpl.def |
20afbbdb50d8
Modify MMP files to build OpenVG ref. impl. from stemkit and add to bld.inf.
markw <markw@symbian.org>
parents:
70
diff
changeset
|
80 |
|
73
59f45c8582d3
Resolve ROM linking issues (via use of NOEXPORTLIBRARY in MMP files) and update rom content and static dependencies.
markw <markw@symbian.org>
parents:
72
diff
changeset
|
81 |
library libopenvg_sw.lib |
70
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
82 |
library euser.lib // Mandatory |
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
83 |
library fbscli.lib // For CFbsBitmap, etc |
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
84 |
library bitgdi.lib // For CFbsBitmapDevice, CFbsBitGc, etc |
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
85 |
library ws32.lib // For RWindow, Direct Screen Access, etc |
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
86 |
library libstdcpp.lib // standard lib |
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
87 |
library libc.lib // standard lib |
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
88 |
library libm.lib // standard lib |
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
89 |
|
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
90 |
|
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
91 |
|
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
92 |
|
6b078b83b04a
Add original MMP files to build the OpenVG reference implementation.
markw <markw@symbian.org>
parents:
diff
changeset
|
93 |