USING_EGL=0
# Directories
-SRC_DIRS := glx/x11 egl $(SRC_DIRS)
-PROGRAM_DIRS := egl $(PROGRAM_DIRS)
+SRC_DIRS := glx/x11 $(SRC_DIRS)
ifeq ($(USING_EGL), 1)
+SRC_DIRS := egl $(SRC_DIRS)
PROGRAM_DIRS = egl
endif
# gamma are missing because they have not been converted to use the new
# interface.
-DRI_DIRS = intel
+DRI_DIRS = nouveau