summaryrefslogtreecommitdiffstats
path: root/src/util/SConscript
blob: a36340deebfaef4d145c5a70c1a4ff2e7bc24c2d (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
import common

Import('*')

from sys import executable as python_cmd

env = env.Clone()

env.Prepend(CPPPATH = [
    '#include',
    '#src/mapi',
    '#src/mesa',
    '#src/util',
])

# parse Makefile.sources
source_lists = env.ParseSourceList('Makefile.sources')

mesautil_sources = source_lists['MESA_UTIL_FILES']

mesautil = env.ConvenienceLibrary(
    target = 'mesautil',
    source = mesautil_sources,
)

env.Alias('mesautil', mesautil)
Export('mesautil')