summaryrefslogtreecommitdiff
path: root/src/gallium/winsys/egl_drm/intel/SConscript
diff options
context:
space:
mode:
authorJakob Bornecrantz <jakob@tungstengraphics.com>2008-05-23 16:26:14 +0200
committerJakob Bornecrantz <jakob@tungstengraphics.com>2008-05-23 16:26:14 +0200
commita3dbd412df99c7d19b1f81b3b9ec7d5c8a09d069 (patch)
treebaa0e115e726948268a60d5865897ab4e177ff79 /src/gallium/winsys/egl_drm/intel/SConscript
parente8d5be9c76b08ba423e3c635aae5178f2358169a (diff)
parenta22462f6ef769129ee56223f1edc2cb851505da8 (diff)
Merge branch 'gallium-i915-current' into gallium-0.1
Diffstat (limited to 'src/gallium/winsys/egl_drm/intel/SConscript')
-rw-r--r--src/gallium/winsys/egl_drm/intel/SConscript39
1 files changed, 39 insertions, 0 deletions
diff --git a/src/gallium/winsys/egl_drm/intel/SConscript b/src/gallium/winsys/egl_drm/intel/SConscript
new file mode 100644
index 0000000000..0ad19d42a8
--- /dev/null
+++ b/src/gallium/winsys/egl_drm/intel/SConscript
@@ -0,0 +1,39 @@
+Import('*')
+
+env = drienv.Clone()
+
+env.Append(CPPPATH = [
+ '../intel',
+ 'server'
+])
+
+#MINIGLX_SOURCES = server/intel_dri.c
+
+DRIVER_SOURCES = [
+ 'intel_winsys_pipe.c',
+ 'intel_winsys_softpipe.c',
+ 'intel_winsys_i915.c',
+ 'intel_batchbuffer.c',
+ 'intel_swapbuffers.c',
+ 'intel_context.c',
+ 'intel_lock.c',
+ 'intel_screen.c',
+ 'intel_batchpool.c',
+]
+
+sources = \
+ COMMON_GALLIUM_SOURCES + \
+ COMMON_BM_SOURCES + \
+ DRIVER_SOURCES
+
+drivers = [
+ softpipe,
+ i915simple
+]
+
+# TODO: write a wrapper function http://www.scons.org/wiki/WrapperFunctions
+env.SharedLibrary(
+ target ='i915tex_dri.so',
+ source = sources,
+ LIBS = drivers + mesa + auxiliaries + env['LIBS'],
+) \ No newline at end of file