diff options
author | Jose Fonseca <[email protected]> | 2015-03-03 16:58:21 +0000 |
---|---|---|
committer | Jose Fonseca <[email protected]> | 2015-03-04 11:01:45 +0000 |
commit | 3acd7a34ab05b87521b74f626ec637e7fdcc6595 (patch) | |
tree | ec442924dfbd3e1f10786b28b3c2d9bc17c85ffe /src/mapi/vgapi/SConscript | |
parent | 5564c361b5cc1f5ec4be3622d7f9be601e3c268a (diff) |
st/vega: Remove.
OpenVG API seems to have dwindled away. The code
would still be interesting if we wanted to implement NV_path_rendering
but given the trend of the next gen graphics APIs, it seems
unlikely that this becomes ARB or core.
v2: Remove a few "openvg" references left, per Emil Velikov.
Reviewed-by: Emil Velikov <[email protected]>
v3: Update release notes.
Diffstat (limited to 'src/mapi/vgapi/SConscript')
-rw-r--r-- | src/mapi/vgapi/SConscript | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/src/mapi/vgapi/SConscript b/src/mapi/vgapi/SConscript deleted file mode 100644 index 63102c107ed..00000000000 --- a/src/mapi/vgapi/SConscript +++ /dev/null @@ -1,61 +0,0 @@ -####################################################################### -# SConscript for vgapi - -from sys import executable as python_cmd - -Import('*') - -env = env.Clone() - -vgapi_header, = env.CodeGenerate( - target = 'vgapi_tmp.h', - script = '../mapi_abi.py', - source = 'vgapi.csv', - command = python_cmd + ' $SCRIPT --printer vgapi --mode lib $SOURCE > $TARGET' -) - -env.Append(CPPDEFINES = [ - 'MAPI_ABI_HEADER=\\"vgapi/vgapi_tmp.h\\"', - 'MAPI_DLL_EXPORTS', - 'KHRONOS_DLL_EXPORTS', -]) - -env.Append(CPPPATH = [ - '#/include', - '#/src/mapi', - Dir('..'), # vgapi/vgapi_tmp.h build path -]) - -mapi_sources = [ - 'entry.c', - 'mapi.c', - 'stub.c', - 'table.c', - 'u_current.c', - 'u_execmem.c', -] - -vgapi_objects = [] -for s in mapi_sources: - o = env.SharedObject(s[:-2], '../' + s) - vgapi_objects.append(o) - -env.Depends(vgapi_objects, vgapi_header) - -# libOpenVG.dll -env['LIBPREFIX'] = 'lib' -env['SHLIBPREFIX'] = 'lib' - -openvg = env.SharedLibrary( - target = 'OpenVG', - source = vgapi_objects, -) - -env.InstallSharedLibrary(openvg, version=(1, 0, 0)) - -if env['platform'] == 'windows': - openvg = env.FindIxes(openvg, 'LIBPREFIX', 'LIBSUFFIX') -else: - openvg = env.FindIxes(openvg, 'SHLIBPREFIX', 'SHLIBSUFFIX') - -Export(['openvg']) |