nouveau/build: Fix build failures when drm is not in /usr/include.

Fixes failures to include libdrm/nouveau.h when drm is not installed in
/usr/include.

Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
José Fonseca 2013-01-22 18:35:13 +00:00
parent a56dfd99e2
commit de0057caa6
3 changed files with 6 additions and 3 deletions

View File

@ -28,6 +28,7 @@ noinst_LTLIBRARIES = libnv30.la
AM_CPPFLAGS = \
-I$(top_srcdir)/src/gallium/drivers \
-I$(top_srcdir)/include \
$(GALLIUM_CFLAGS)
$(GALLIUM_CFLAGS) \
$(NOUVEAU_CFLAGS)
libnv30_la_SOURCES = $(C_SOURCES)

View File

@ -28,6 +28,7 @@ noinst_LTLIBRARIES = libnv50.la
AM_CPPFLAGS = \
-I$(top_srcdir)/src/gallium/drivers \
-I$(top_srcdir)/include \
$(GALLIUM_CFLAGS)
$(GALLIUM_CFLAGS) \
$(NOUVEAU_CFLAGS)
libnv50_la_SOURCES = $(C_SOURCES) $(CPP_SOURCES)

View File

@ -28,6 +28,7 @@ noinst_LTLIBRARIES = libnvc0.la
AM_CPPFLAGS = \
-I$(top_srcdir)/src/gallium/drivers \
-I$(top_srcdir)/include \
$(GALLIUM_CFLAGS)
$(GALLIUM_CFLAGS) \
$(NOUVEAU_CFLAGS)
libnvc0_la_SOURCES = $(C_SOURCES) $(CPP_SOURCES)