For doing builds against a separated libdrm these cflags are needed.
Signed-off-by: Dave Airlie <airlied@redhat.com>
LIBNAME = nouveau
LIBRARY_INCLUDES = \
+ $(LIBDRM_CFLAGS) \
-I$(TOP)/src/gallium/drivers/nouveau/include
C_SOURCES = nouveau_screen.c
nv50_pc_optimize.c \
nv50_pc_regalloc.c
+LIBRARY_INCLUDES = \
+ $(LIBDRM_CFLAGS)
+
include ../../Makefile.template
nvc0_mm.c \
nvc0_query.c
+LIBRARY_INCLUDES = \
+ $(LIBDRM_CFLAGS)
+
include ../../Makefile.template
nvfx_vertprog.c
LIBRARY_INCLUDES = \
+ $(LIBDRM_CFLAGS) \
-I$(TOP)/src/gallium/drivers/nouveau/include
include ../../Makefile.template