egl: use the LC_ALL hammer instead of LANG
[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 '#/include/drm-uapi',
12 '#/include/HaikuGL',
13 '#/src/egl/main',
14 '#/src',
15 ])
16
17
18 # parse Makefile.sources
19 egl_sources = env.ParseSourceList('Makefile.sources', 'LIBEGL_C_FILES')
20
21 env.Append(CPPDEFINES = [
22 '_EGL_NATIVE_PLATFORM=_EGL_PLATFORM_HAIKU',
23 '_EGL_BUILT_IN_DRIVER_HAIKU',
24 'HAVE_HAIKU_PLATFORM',
25 ])
26 egl_sources.append('drivers/haiku/egl_haiku.cpp')
27
28 env.Prepend(LIBS = [mesautil])
29
30 egl = env.SharedLibrary(
31 target = 'EGL',
32 source = egl_sources,
33 )
34
35 egl = env.InstallSharedLibrary(egl, version=(1, 0, 0))
36
37 env.Alias('egl', egl)