diff options
Diffstat (limited to 'src/egl/drivers/haiku/SConscript')
-rw-r--r-- | src/egl/drivers/haiku/SConscript | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src/egl/drivers/haiku/SConscript b/src/egl/drivers/haiku/SConscript new file mode 100644 index 00000000000..2c385994309 --- /dev/null +++ b/src/egl/drivers/haiku/SConscript @@ -0,0 +1,35 @@ +Import('*') + +env = env.Clone() + +env.Append(CPPDEFINES = [ + 'DEFAULT_DRIVER_DIR=\\"\\"', +]) + +env.Append(CPPPATH = [ + '#/include', + '#/src/egl/main', + '#/src/loader', +]) + +sources = [ + 'egl_haiku.cpp' +] + +if env['platform'] == 'haiku': + env.Append(CPPDEFINES = [ + 'HAVE_HAIKU_PLATFORM', + '_EGL_NATIVE_PLATFORM=haiku', + ]) + +env.Prepend(LIBS = [ + libloader, +]) + +egl_haiku = env.ConvenienceLibrary( +#egl_dri2 = env.SharedLibrary( + target = 'egl_haiku', + source = sources, +) + +Export('egl_haiku') |