glapi: Move to src/mapi/.
[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 mapi/es1api mapi/es2api mesa/es \
10 gallium gallium/winsys gallium/targets
11 PROGRAM_DIRS = egl/eglut egl/opengles1 egl/opengles2
12
13 # egl st needs this
14 DEFINES += -DGLX_DIRECT_RENDERING
15
16 # no mesa or egl drivers
17 DRIVER_DIRS =
18 EGL_DRIVERS_DIRS =
19
20 GALLIUM_DRIVERS_DIRS = softpipe
21
22 # build libGLES*.so
23 GALLIUM_STATE_TRACKERS_DIRS = es
24
25 # build egl_x11_{swrast,i915}.so
26 GALLIUM_DRIVERS_DIRS += trace i915
27 GALLIUM_STATE_TRACKERS_DIRS += egl
28 GALLIUM_WINSYS_DIRS += drm/intel
29 GALLIUM_TARGET_DIRS += egl-swrast egl-i915