28 lines
511 B
Python
28 lines
511 B
Python
#######################################################################
|
|
# SConscript for xlib state_tracker
|
|
|
|
Import('*')
|
|
|
|
if env['platform'] == 'linux' \
|
|
and 'mesa' in env['statetrackers']:
|
|
|
|
env = env.Clone()
|
|
|
|
env.Append(CPPPATH = [
|
|
'#/src/mapi',
|
|
'#/src/mesa',
|
|
'#/src/mesa/main',
|
|
])
|
|
|
|
st_xlib = env.ConvenienceLibrary(
|
|
target = 'st_xlib',
|
|
source = [
|
|
'glx_api.c',
|
|
'glx_getproc.c',
|
|
'glx_usefont.c',
|
|
'xm_api.c',
|
|
'xm_st.c',
|
|
]
|
|
)
|
|
Export('st_xlib')
|