summaryrefslogtreecommitdiffstats
path: root/src/egl/drivers/haiku/SConscript
blob: 9db7ecfdd0714250a4545116b7c552f205d6f5fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Import('*')

env = env.Clone()

env.Append(CPPPATH = [
	'#/include',
	'#/src/egl/main',
])

sources = [
	'egl_haiku.cpp'
]

if env['platform'] == 'haiku':
	env.Append(CPPDEFINES = [
		'HAVE_HAIKU_PLATFORM',
		'_EGL_NATIVE_PLATFORM=haiku',
	])

egl_haiku = env.ConvenienceLibrary(
	target = 'egl_haiku',
	source = sources,
)

Export('egl_haiku')