hostsupport/hostegl/group/bld.inf
author Matt Plumtree <matt.plumtree@nokia.com>
Mon, 01 Nov 2010 18:10:32 +0000
branchbug235_bringup_0
changeset 69 3f914c77c2e9
parent 68 8d4efe9fa1cf
permissions -rw-r--r--
Host OpenVG building using GCC, without LLVM integration. Change hostbuild extension to avoid use of "lib" prefix on libraries, to allow other names to be used.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
67
ca7e6949bf7a Add hostegl bld.inf info for building exporting and building the library.
Matt Plumtree <matt.plumtree@nokia.com>
parents: 0
diff changeset
     1
/* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
ca7e6949bf7a Add hostegl bld.inf info for building exporting and building the library.
Matt Plumtree <matt.plumtree@nokia.com>
parents: 0
diff changeset
     2
 *
ca7e6949bf7a Add hostegl bld.inf info for building exporting and building the library.
Matt Plumtree <matt.plumtree@nokia.com>
parents: 0
diff changeset
     3
 * Permission is hereby granted, free of charge, to any person obtaining a
ca7e6949bf7a Add hostegl bld.inf info for building exporting and building the library.
Matt Plumtree <matt.plumtree@nokia.com>
parents: 0
diff changeset
     4
 * copy of this software and /or associated documentation files
ca7e6949bf7a Add hostegl bld.inf info for building exporting and building the library.
Matt Plumtree <matt.plumtree@nokia.com>
parents: 0
diff changeset
     5
 * (the "Materials "), to deal in the Materials without restriction,
ca7e6949bf7a Add hostegl bld.inf info for building exporting and building the library.
Matt Plumtree <matt.plumtree@nokia.com>
parents: 0
diff changeset
     6
 * including without limitation the rights to use, copy, modify, merge,
ca7e6949bf7a Add hostegl bld.inf info for building exporting and building the library.
Matt Plumtree <matt.plumtree@nokia.com>
parents: 0
diff changeset
     7
 * publish, distribute, sublicense, and/or sell copies of the Materials,
ca7e6949bf7a Add hostegl bld.inf info for building exporting and building the library.
Matt Plumtree <matt.plumtree@nokia.com>
parents: 0
diff changeset
     8
 * and to permit persons to whom the Materials are furnished to do so,
ca7e6949bf7a Add hostegl bld.inf info for building exporting and building the library.
Matt Plumtree <matt.plumtree@nokia.com>
parents: 0
diff changeset
     9
 * subject to the following conditions:
ca7e6949bf7a Add hostegl bld.inf info for building exporting and building the library.
Matt Plumtree <matt.plumtree@nokia.com>
parents: 0
diff changeset
    10
 *
ca7e6949bf7a Add hostegl bld.inf info for building exporting and building the library.
Matt Plumtree <matt.plumtree@nokia.com>
parents: 0
diff changeset
    11
 * The above copyright notice and this permission notice shall be included
ca7e6949bf7a Add hostegl bld.inf info for building exporting and building the library.
Matt Plumtree <matt.plumtree@nokia.com>
parents: 0
diff changeset
    12
 * in all copies or substantial portions of the Materials.
ca7e6949bf7a Add hostegl bld.inf info for building exporting and building the library.
Matt Plumtree <matt.plumtree@nokia.com>
parents: 0
diff changeset
    13
 *
ca7e6949bf7a Add hostegl bld.inf info for building exporting and building the library.
Matt Plumtree <matt.plumtree@nokia.com>
parents: 0
diff changeset
    14
 * THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
ca7e6949bf7a Add hostegl bld.inf info for building exporting and building the library.
Matt Plumtree <matt.plumtree@nokia.com>
parents: 0
diff changeset
    15
 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
ca7e6949bf7a Add hostegl bld.inf info for building exporting and building the library.
Matt Plumtree <matt.plumtree@nokia.com>
parents: 0
diff changeset
    16
 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
ca7e6949bf7a Add hostegl bld.inf info for building exporting and building the library.
Matt Plumtree <matt.plumtree@nokia.com>
parents: 0
diff changeset
    17
 * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
ca7e6949bf7a Add hostegl bld.inf info for building exporting and building the library.
Matt Plumtree <matt.plumtree@nokia.com>
parents: 0
diff changeset
    18
 * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
ca7e6949bf7a Add hostegl bld.inf info for building exporting and building the library.
Matt Plumtree <matt.plumtree@nokia.com>
parents: 0
diff changeset
    19
 * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE MATERIALS OR
ca7e6949bf7a Add hostegl bld.inf info for building exporting and building the library.
Matt Plumtree <matt.plumtree@nokia.com>
parents: 0
diff changeset
    20
 * THE USE OR OTHER DEALINGS IN THE MATERIALS.
ca7e6949bf7a Add hostegl bld.inf info for building exporting and building the library.
Matt Plumtree <matt.plumtree@nokia.com>
parents: 0
diff changeset
    21
 *
ca7e6949bf7a Add hostegl bld.inf info for building exporting and building the library.
Matt Plumtree <matt.plumtree@nokia.com>
parents: 0
diff changeset
    22
 * Initial Contributors:
ca7e6949bf7a Add hostegl bld.inf info for building exporting and building the library.
Matt Plumtree <matt.plumtree@nokia.com>
parents: 0
diff changeset
    23
 * Nokia Corporation - initial contribution.
ca7e6949bf7a Add hostegl bld.inf info for building exporting and building the library.
Matt Plumtree <matt.plumtree@nokia.com>
parents: 0
diff changeset
    24
 *
ca7e6949bf7a Add hostegl bld.inf info for building exporting and building the library.
Matt Plumtree <matt.plumtree@nokia.com>
parents: 0
diff changeset
    25
 * Contributors:
ca7e6949bf7a Add hostegl bld.inf info for building exporting and building the library.
Matt Plumtree <matt.plumtree@nokia.com>
parents: 0
diff changeset
    26
 *
ca7e6949bf7a Add hostegl bld.inf info for building exporting and building the library.
Matt Plumtree <matt.plumtree@nokia.com>
parents: 0
diff changeset
    27
 * Description:
ca7e6949bf7a Add hostegl bld.inf info for building exporting and building the library.
Matt Plumtree <matt.plumtree@nokia.com>
parents: 0
diff changeset
    28
 * Build information for host EGL
ca7e6949bf7a Add hostegl bld.inf info for building exporting and building the library.
Matt Plumtree <matt.plumtree@nokia.com>
parents: 0
diff changeset
    29
 */
ca7e6949bf7a Add hostegl bld.inf info for building exporting and building the library.
Matt Plumtree <matt.plumtree@nokia.com>
parents: 0
diff changeset
    30
ca7e6949bf7a Add hostegl bld.inf info for building exporting and building the library.
Matt Plumtree <matt.plumtree@nokia.com>
parents: 0
diff changeset
    31
PRJ_PLATFORMS
ca7e6949bf7a Add hostegl bld.inf info for building exporting and building the library.
Matt Plumtree <matt.plumtree@nokia.com>
parents: 0
diff changeset
    32
TOOLS2
ca7e6949bf7a Add hostegl bld.inf info for building exporting and building the library.
Matt Plumtree <matt.plumtree@nokia.com>
parents: 0
diff changeset
    33
ca7e6949bf7a Add hostegl bld.inf info for building exporting and building the library.
Matt Plumtree <matt.plumtree@nokia.com>
parents: 0
diff changeset
    34
PRJ_EXPORTS
ca7e6949bf7a Add hostegl bld.inf info for building exporting and building the library.
Matt Plumtree <matt.plumtree@nokia.com>
parents: 0
diff changeset
    35
ca7e6949bf7a Add hostegl bld.inf info for building exporting and building the library.
Matt Plumtree <matt.plumtree@nokia.com>
parents: 0
diff changeset
    36
../inc/EGL/egl.h            OS_LAYER_PUBLIC_EXPORT_PATH(tools/EGL/egl.h)
ca7e6949bf7a Add hostegl bld.inf info for building exporting and building the library.
Matt Plumtree <matt.plumtree@nokia.com>
parents: 0
diff changeset
    37
../inc/EGL/eglext.h         OS_LAYER_PUBLIC_EXPORT_PATH(tools/EGL/eglext.h)
ca7e6949bf7a Add hostegl bld.inf info for building exporting and building the library.
Matt Plumtree <matt.plumtree@nokia.com>
parents: 0
diff changeset
    38
../inc/EGL/eglplatform.h    OS_LAYER_PUBLIC_EXPORT_PATH(tools/EGL/eglplatform.h)
ca7e6949bf7a Add hostegl bld.inf info for building exporting and building the library.
Matt Plumtree <matt.plumtree@nokia.com>
parents: 0
diff changeset
    39
ca7e6949bf7a Add hostegl bld.inf info for building exporting and building the library.
Matt Plumtree <matt.plumtree@nokia.com>
parents: 0
diff changeset
    40
../inc/KHR/khrplatform.h    OS_LAYER_PUBLIC_EXPORT_PATH(tools/KHR/khrplatform.h)
ca7e6949bf7a Add hostegl bld.inf info for building exporting and building the library.
Matt Plumtree <matt.plumtree@nokia.com>
parents: 0
diff changeset
    41
ca7e6949bf7a Add hostegl bld.inf info for building exporting and building the library.
Matt Plumtree <matt.plumtree@nokia.com>
parents: 0
diff changeset
    42
PRJ_EXTENSIONS
ca7e6949bf7a Add hostegl bld.inf info for building exporting and building the library.
Matt Plumtree <matt.plumtree@nokia.com>
parents: 0
diff changeset
    43
ca7e6949bf7a Add hostegl bld.inf info for building exporting and building the library.
Matt Plumtree <matt.plumtree@nokia.com>
parents: 0
diff changeset
    44
// Dynamic library.
68
8d4efe9fa1cf Add a new FLM for building the host side DLLs (based on the x86build FLM).
Matt Plumtree <matt.plumtree@nokia.com>
parents: 67
diff changeset
    45
start extension graphics_simulator/hostbuild
69
3f914c77c2e9 Host OpenVG building using GCC, without LLVM integration.
Matt Plumtree <matt.plumtree@nokia.com>
parents: 68
diff changeset
    46
option TARGET_NAME libEGL
67
ca7e6949bf7a Add hostegl bld.inf info for building exporting and building the library.
Matt Plumtree <matt.plumtree@nokia.com>
parents: 0
diff changeset
    47
option TARGET_TYPE dll
ca7e6949bf7a Add hostegl bld.inf info for building exporting and building the library.
Matt Plumtree <matt.plumtree@nokia.com>
parents: 0
diff changeset
    48
option SOURCE_DIRS ../src ../src/win32
ca7e6949bf7a Add hostegl bld.inf info for building exporting and building the library.
Matt Plumtree <matt.plumtree@nokia.com>
parents: 0
diff changeset
    49
option INCLUDES ../inc ../../../inc
ca7e6949bf7a Add hostegl bld.inf info for building exporting and building the library.
Matt Plumtree <matt.plumtree@nokia.com>
parents: 0
diff changeset
    50
option SYS_INCLUDES OS_LAYER_PUBLIC_EXPORT_PATH(tools)
ca7e6949bf7a Add hostegl bld.inf info for building exporting and building the library.
Matt Plumtree <matt.plumtree@nokia.com>
parents: 0
diff changeset
    51
option MACROS KHRONOS_APICALL_EXPORT EGLI_USE_SIMULATOR_EXTENSIONS
ca7e6949bf7a Add hostegl bld.inf info for building exporting and building the library.
Matt Plumtree <matt.plumtree@nokia.com>
parents: 0
diff changeset
    52
option COMPILE_OPTIONS -msse2 -mfpmath=sse -march=pentium4
ca7e6949bf7a Add hostegl bld.inf info for building exporting and building the library.
Matt Plumtree <matt.plumtree@nokia.com>
parents: 0
diff changeset
    53
option NO_STD_INCLUDE ON
ca7e6949bf7a Add hostegl bld.inf info for building exporting and building the library.
Matt Plumtree <matt.plumtree@nokia.com>
parents: 0
diff changeset
    54
end