aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/drivers/haiku/swrast/SConscript
blob: 71ce88e20d8b5c8161a759b4741a660e096969e7 (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
Import('*')

env = env.Clone()

env.Append(CPPPATH = [
    '#/src/mapi',
    '#/src/mesa',
    '#/src/mesa/main',
    '/boot/system/develop/headers/private',
    Dir('../../../mapi'), # src/mapi build path for python-generated GL API files/headers
])

env.Prepend(LIBS = [
    glsl,
    mesa,
])

sources = [
	'SoftwareRast.cpp'
]

# Disallow undefined symbols
#env.Append(SHLINKFLAGS = ['-Wl,-z,defs'])

libswrast = env.SharedLibrary(
    target = 'swrast',
    source = sources
)