diff options
Diffstat (limited to 'src/mesa/drivers/xorg')
-rw-r--r-- | src/mesa/drivers/xorg/Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mesa/drivers/xorg/Makefile b/src/mesa/drivers/xorg/Makefile index 7fd7036665..7278182446 100644 --- a/src/mesa/drivers/xorg/Makefile +++ b/src/mesa/drivers/xorg/Makefile @@ -32,6 +32,9 @@ C_SOURCES = \ MESA_MODULES = $(TOP)/src/mesa/libmesa.a C_SOURCES += ../common/driverfuncs.c +ifeq ("${DRIVER_DIRS}", "dri") +C_SOURCES += ../dri/common/utils.c +endif OBJECTS = $(C_SOURCES:.c=.o) @@ -45,6 +48,12 @@ INCLUDES = \ -I$(TOP)/src/mesa/glapi \ `pkg-config --cflags xorg-server` +ifeq ("${DRIVER_DIRS}", "dri") +INCLUDES += \ + -I$(TOP)/src/mesa/drivers/dri/common \ + `pkg-config --cflags libdrm` +endif + # undef 'USE_XSHM' to make it explicit that 'XFree86Server' takes precedence DRIVER_DEFINES = -UUSE_XSHM -DXFree86Server |