summaryrefslogtreecommitdiff
path: root/configs/linux-opengl-es
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2011-07-11 20:44:43 +0100
committerJosé Fonseca <jfonseca@vmware.com>2011-07-11 20:44:43 +0100
commit5417f377560f2ccdc018507832978679fb93765c (patch)
treea7f38ba428c5974dc922c9e1b94817504c076ea8 /configs/linux-opengl-es
parent4bb4cbf829413ce37cb6dcb31c14d1548b6fa765 (diff)
downloadglut-5417f377560f2ccdc018507832978679fb93765c.tar.gz
Add enough of the autoconf/gmake build infrastructure to build glut.
Diffstat (limited to 'configs/linux-opengl-es')
-rw-r--r--configs/linux-opengl-es28
1 files changed, 28 insertions, 0 deletions
diff --git a/configs/linux-opengl-es b/configs/linux-opengl-es
new file mode 100644
index 0000000..93c0d47
--- /dev/null
+++ b/configs/linux-opengl-es
@@ -0,0 +1,28 @@
+# Configuration for OpenGL ES on Linux
+
+include $(TOP)/configs/linux
+
+CONFIG_NAME = linux-opengl-es
+
+# Directories to build
+LIB_DIR = lib
+SRC_DIRS = egl glsl mapi/es1api mapi/es2api mesa/es \
+ gallium gallium/winsys gallium/targets
+
+# egl st needs this
+DEFINES += -DGLX_DIRECT_RENDERING
+
+# no mesa or egl drivers
+DRIVER_DIRS =
+EGL_DRIVERS_DIRS =
+
+GALLIUM_DRIVERS_DIRS = softpipe
+
+# build libGLES*.so
+GALLIUM_STATE_TRACKERS_DIRS = es
+
+# build egl_x11_{swrast,i915}.so
+GALLIUM_DRIVERS_DIRS += trace rbug i915
+GALLIUM_STATE_TRACKERS_DIRS += egl
+GALLIUM_WINSYS_DIRS += drm/intel
+GALLIUM_TARGET_DIRS += egl-swrast egl-i915