diff options
author | Alexander von Gluck IV <[email protected]> | 2013-05-21 15:55:24 -0500 |
---|---|---|
committer | Alexander von Gluck IV <[email protected]> | 2013-05-22 14:31:44 -0500 |
commit | 6d20e251f25b47c19a5fcd80d9aa30bf75367590 (patch) | |
tree | 8d6a8c6a80257c3623e7b95e2028cc408ea1bb7b /src/gallium/targets/haiku-softpipe/SConscript | |
parent | ff68f61bedc2d910b98af4ef4475373f4d3958a3 (diff) |
Haiku: Add Gallium winsys and target code
* We generate a static library for Haiku
Gallium targets as our port system combines
the compiled rendering code into a modular
ar for each module (for example, our port
system combines llvm libsoftpipe.a libllvmpipe.a
into a single ar for the Haiku build system.
I'd like the Gallium hgl target scons build
system to do this some day, however how is
beyond me at the moment. This is a first step.
Diffstat (limited to 'src/gallium/targets/haiku-softpipe/SConscript')
-rw-r--r-- | src/gallium/targets/haiku-softpipe/SConscript | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/gallium/targets/haiku-softpipe/SConscript b/src/gallium/targets/haiku-softpipe/SConscript new file mode 100644 index 00000000000..72a5ba79627 --- /dev/null +++ b/src/gallium/targets/haiku-softpipe/SConscript @@ -0,0 +1,21 @@ +Import('*') + +if True: + env.Append(CPPDEFINES = [ + 'GALLIUM_SOFTPIPE', + 'GALLIUM_RBUG', + 'GALLIUM_TRACE', + ]) + +if env['llvm']: + env.Append(CPPDEFINES = 'HAVE_LLVMPIPE') + +softpipe_sources = [ + 'haiku-softpipe.c' +] + +module = env.StaticLibrary( + target ='swpipe_haiku.a', + source = softpipe_sources, + SHLIBPREFIX = '', +) |