mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 08:10:09 +01:00
Analogous to previous automake/autoconf commit. Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Axel Davy <axel.davy@ens.fr> Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
24 lines
422 B
Python
24 lines
422 B
Python
Import('*')
|
|
|
|
env = env.Clone()
|
|
|
|
env.MSVC2013Compat()
|
|
|
|
env.Prepend(CPPPATH = [
|
|
'#include'
|
|
])
|
|
|
|
if env['drm']:
|
|
env.PkgUseModules('DRM')
|
|
env.Append(CPPDEFINES = ['HAVE_LIBDRM'])
|
|
|
|
# parse Makefile.sources
|
|
sources = env.ParseSourceList('Makefile.sources', 'LOADER_C_FILES')
|
|
|
|
libloader = env.ConvenienceLibrary(
|
|
target = 'libloader',
|
|
source = sources,
|
|
)
|
|
|
|
env.Alias('libloader', libloader)
|
|
Export('libloader')
|