egl/dri2: Fix include path of u_atomic.h introduced e7e29189
[mesa.git] / src / egl / SConscript
1 #######################################################################
2 # SConscript for EGL
3
4
5 Import('*')
6
7 env = env.Clone()
8
9 env.Append(CPPPATH = [
10 '#/include',
11 '#/src/egl/main',
12 '#/src',
13 ])
14
15
16 # parse Makefile.sources
17 egl_sources = env.ParseSourceList('Makefile.sources', 'LIBEGL_C_FILES')
18 egl_sources.append(env.ParseSourceList('Makefile.sources', 'dri2_backend_core_FILES'))
19
20 env.Append(CPPDEFINES = [
21 '_EGL_NATIVE_PLATFORM=_EGL_PLATFORM_HAIKU',
22 '_EGL_BUILT_IN_DRIVER_HAIKU',
23 'HAVE_HAIKU_PLATFORM',
24 ])
25 egl_sources.append('drivers/haiku/egl_haiku.cpp')
26
27 egl = env.SharedLibrary(
28 target = 'EGL',
29 source = egl_sources,
30 )
31
32 egl = env.InstallSharedLibrary(egl, version=(1, 0, 0))
33
34 env.Alias('egl', egl)