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/winsys/sw/hgl/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/winsys/sw/hgl/SConscript')
-rw-r--r-- | src/gallium/winsys/sw/hgl/SConscript | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/gallium/winsys/sw/hgl/SConscript b/src/gallium/winsys/sw/hgl/SConscript new file mode 100644 index 00000000000..e88125721ab --- /dev/null +++ b/src/gallium/winsys/sw/hgl/SConscript @@ -0,0 +1,25 @@ +####################################################################### +# SConscript for haiku winsys + + +Import('*') + +if env['platform'] in ('haiku'): + + env = env.Clone() + + env.Append(CPPPATH = [ + '#/src/gallium/include', + '#/src/gallium/auxiliary', + '#/src/gallium/drivers', + ]) + + ws_haiku = env.ConvenienceLibrary( + target = 'ws_haiku', + source = [ + 'hgl_sw_winsys.c', + 'bitmap_wrapper.cpp', + ] + ) + env.Alias('ws_haiku', ws_haiku) + Export('ws_haiku') |