Merge branch 'mesa_7_7_branch'
[mesa.git] / configs / linux-opengl-es
1 # Configuration for OpenGL ES on Linux
2
3 include $(TOP)/configs/linux
4
5 CONFIG_NAME = linux-opengl-es
6
7 # Directories to build
8 LIB_DIR = lib
9 SRC_DIRS = egl glsl mesa/es gallium gallium/winsys
10 PROGRAM_DIRS = es1/screen es1/xegl es2/xegl
11
12 # egl st needs this
13 DEFINES += -DGLX_DIRECT_RENDERING
14
15 # no mesa or egl drivers
16 DRIVER_DIRS =
17 EGL_DRIVERS_DIRS =
18
19 GALLIUM_DRIVERS_DIRS = softpipe
20
21 # build libGLES*.so
22 GALLIUM_STATE_TRACKERS_DIRS = es
23
24 # build egl_x11_{swrast,i915}.so
25 GALLIUM_DRIVERS_DIRS += trace i915
26 GALLIUM_STATE_TRACKERS_DIRS += egl
27 GALLIUM_WINSYS_DIRS += drm
28 GALLIUM_WINSYS_DRM_DIRS += intel swrast