summaryrefslogtreecommitdiff
path: root/src/gallium/winsys/drm/radeon/dri
diff options
context:
space:
mode:
authorCorbin Simpson <MostAwesomeDude@gmail.com>2009-04-28 03:28:57 -0700
committerCorbin Simpson <MostAwesomeDude@gmail.com>2009-04-28 03:28:57 -0700
commit81ded8092a4068ec289e6c7207078f076bfee5fd (patch)
treeed8c8ff0010de21030f6eb4ae9cf928e20eedfcf /src/gallium/winsys/drm/radeon/dri
parent1ae877d95adbc19cb0a8d4fe07f46ac4d46c8147 (diff)
radeon-r300: Fix a bit of breakage.
Not really sure why reordering the ioctls makes them work again.
Diffstat (limited to 'src/gallium/winsys/drm/radeon/dri')
-rw-r--r--src/gallium/winsys/drm/radeon/dri/Makefile25
-rw-r--r--src/gallium/winsys/drm/radeon/dri/SConscript14
2 files changed, 39 insertions, 0 deletions
diff --git a/src/gallium/winsys/drm/radeon/dri/Makefile b/src/gallium/winsys/drm/radeon/dri/Makefile
new file mode 100644
index 0000000000..c218ee9d01
--- /dev/null
+++ b/src/gallium/winsys/drm/radeon/dri/Makefile
@@ -0,0 +1,25 @@
+
+TOP = ../../../../../..
+include $(TOP)/configs/current
+
+LIBNAME = radeon_dri.so
+
+MINIGLX_SOURCES =
+
+PIPE_DRIVERS = \
+ $(TOP)/src/gallium/state_trackers/dri/libdridrm.a \
+ $(TOP)/src/gallium/winsys/drm/radeon/core/libradeonwinsys.a \
+ $(TOP)/src/gallium/drivers/softpipe/libsoftpipe.a \
+ $(TOP)/src/gallium/drivers/r300/libr300.a
+
+C_SOURCES = \
+ $(COMMON_GALLIUM_SOURCES) \
+ $(DRIVER_SOURCES)
+
+ASM_SOURCES =
+
+include ../../Makefile.template
+
+DRI_LIB_DEPS += -ldrm_radeon
+
+symlinks:
diff --git a/src/gallium/winsys/drm/radeon/dri/SConscript b/src/gallium/winsys/drm/radeon/dri/SConscript
new file mode 100644
index 0000000000..f2cdee97d9
--- /dev/null
+++ b/src/gallium/winsys/drm/radeon/dri/SConscript
@@ -0,0 +1,14 @@
+Import('*')
+
+env = drienv.Clone()
+
+drivers = [
+ softpipe,
+ r300
+]
+
+env.SharedLibrary(
+ target ='radeon_dri.so',
+ source = COMMON_GALLIUM_SOURCES,
+ LIBS = drivers + mesa + auxiliaries + env['LIBS'],
+)