1 TOP = ../../../.. 2 include $(TOP)/configs/current 3 4 LIBNAME = nouveau 5 6 LIBRARY_INCLUDES = \ 7 $(LIBDRM_CFLAGS) \ 8 -I$(TOP)/src/gallium/drivers/nouveau/include 9 10 LIBRARY_INCLUDES += $(shell $(PKG_CONFIG) libdrm libdrm_nouveau --cflags-only-I) 11 LIBRARY_DEFINES += $(shell $(PKG_CONFIG) libdrm libdrm_nouveau --cflags-only-other) 12 13 # get C_SOURCES 14 include Makefile.sources 15 16 include ../../Makefile.template 17