summaryrefslogtreecommitdiffstats
path: root/src/egl/drivers/haiku/SConscript
blob: ec6020ece77481f233fa68883d08447773b8ce37 (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
26
27
28
29
Import('*')

env = env.Clone()

env.Append(CPPDEFINES = [
	'DEFAULT_DRIVER_DIR=\\"\\"',
])

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')