summaryrefslogtreecommitdiff
path: root/src/gallium/winsys/drm/radeon/dri/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/winsys/drm/radeon/dri/SConscript')
-rw-r--r--src/gallium/winsys/drm/radeon/dri/SConscript17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/gallium/winsys/drm/radeon/dri/SConscript b/src/gallium/winsys/drm/radeon/dri/SConscript
new file mode 100644
index 0000000000..aea987a3ac
--- /dev/null
+++ b/src/gallium/winsys/drm/radeon/dri/SConscript
@@ -0,0 +1,17 @@
+Import('*')
+
+env = drienv.Clone()
+
+env.ParseConfig('pkg-config --cflags --libs libdrm_radeon')
+
+drivers = [
+ trace,
+ softpipe,
+ r300
+]
+
+env.SharedLibrary(
+ target ='radeon_dri.so',
+ source = COMMON_GALLIUM_SOURCES,
+ LIBS = st_dri + radeonwinsys + mesa + drivers + auxiliaries + env['LIBS'],
+)