mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 22:49:13 +02:00
scons: Unify state tracker SConscripts
This commit is contained in:
parent
7e9f5eab4e
commit
f1600d3a97
4 changed files with 31 additions and 22 deletions
|
|
@ -14,13 +14,15 @@ env.Append(CPPPATH = [
|
|||
'#/src/mesa/drivers/dri/common',
|
||||
])
|
||||
|
||||
sources = [
|
||||
'dri_context.c',
|
||||
'dri_drawable.c',
|
||||
'dri_screen.c',
|
||||
'dri2.c',
|
||||
]
|
||||
|
||||
st_dri = env.ConvenienceLibrary(
|
||||
target = 'st_dri',
|
||||
source = [ 'dri_context.c',
|
||||
'dri_drawable.c',
|
||||
'dri_screen.c',
|
||||
'dri2.c',
|
||||
]
|
||||
)
|
||||
|
||||
source = sources,
|
||||
)
|
||||
Export('st_dri')
|
||||
|
|
|
|||
|
|
@ -14,13 +14,15 @@ env.Append(CPPPATH = [
|
|||
|
||||
env.Append(CPPDEFINES = [('__NOT_HAVE_DRM_H', '1')])
|
||||
|
||||
sources = [
|
||||
'dri_context.c',
|
||||
'dri_drawable.c',
|
||||
'dri_screen.c',
|
||||
'drisw.c',
|
||||
]
|
||||
|
||||
st_drisw = env.ConvenienceLibrary(
|
||||
target = 'st_drisw',
|
||||
source = [ 'dri_context.c',
|
||||
'dri_drawable.c',
|
||||
'dri_screen.c',
|
||||
'drisw.c',
|
||||
]
|
||||
)
|
||||
|
||||
source = sources,
|
||||
)
|
||||
Export('st_drisw')
|
||||
|
|
|
|||
|
|
@ -11,14 +11,16 @@ env.Append(CPPPATH = [
|
|||
'#/src/mesa/main',
|
||||
])
|
||||
|
||||
st_xlib = env.ConvenienceLibrary(
|
||||
target = 'st_xlib',
|
||||
source = [
|
||||
sources = [
|
||||
'glx_api.c',
|
||||
'glx_getproc.c',
|
||||
'glx_usefont.c',
|
||||
'xm_api.c',
|
||||
'xm_st.c',
|
||||
]
|
||||
]
|
||||
|
||||
st_xlib = env.ConvenienceLibrary(
|
||||
target = 'st_xlib',
|
||||
source = sources,
|
||||
)
|
||||
Export('st_xlib')
|
||||
|
|
|
|||
|
|
@ -21,9 +21,8 @@ if conf.CheckHeader('X11/extensions/dpmsconst.h'):
|
|||
|
||||
conf.Finish()
|
||||
|
||||
st_xorg = env.ConvenienceLibrary(
|
||||
target = 'st_xorg',
|
||||
source = [ 'xorg_composite.c',
|
||||
sources = [
|
||||
'xorg_composite.c',
|
||||
'xorg_crtc.c',
|
||||
'xorg_dri2.c',
|
||||
'xorg_driver.c',
|
||||
|
|
@ -32,6 +31,10 @@ source = [ 'xorg_composite.c',
|
|||
'xorg_output.c',
|
||||
'xorg_renderer.c',
|
||||
'xorg_xv.c',
|
||||
]
|
||||
]
|
||||
|
||||
st_xorg = env.ConvenienceLibrary(
|
||||
target = 'st_xorg',
|
||||
source = sources,
|
||||
)
|
||||
Export('st_xorg')
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue