summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/radeon/drm/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/winsys/radeon/drm/SConscript')
-rw-r--r--src/gallium/winsys/radeon/drm/SConscript19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/gallium/winsys/radeon/drm/SConscript b/src/gallium/winsys/radeon/drm/SConscript
new file mode 100644
index 00000000000..60e409fe10f
--- /dev/null
+++ b/src/gallium/winsys/radeon/drm/SConscript
@@ -0,0 +1,19 @@
+Import('*')
+
+env = env.Clone()
+
+radeon_sources = [
+ 'radeon_drm_buffer.c',
+ 'radeon_drm.c',
+ 'radeon_r300.c',
+]
+
+env.ParseConfig('pkg-config --cflags libdrm_radeon')
+env.Append(CPPPATH = '#/src/gallium/drivers/r300')
+
+radeonwinsys = env.ConvenienceLibrary(
+ target ='radeonwinsys',
+ source = radeon_sources,
+)
+
+Export('radeonwinsys')