1 TOP = ../../../../.. 2 include $(TOP)/configs/current 3 4 LIBNAME = svgadrm 5 6 # get C_SOURCES 7 include Makefile.sources 8 9 LIBRARY_INCLUDES = \ 10 -I$(TOP)/src/gallium/drivers/svga \ 11 -I$(TOP)/src/gallium/drivers/svga/include \ 12 $(shell $(PKG_CONFIG) libdrm --cflags-only-I) 13 14 LIBRARY_DEFINES = \ 15 -std=gnu99 -fvisibility=hidden \ 16 -DHAVE_STDINT_H -D_FILE_OFFSET_BITS=64 \ 17 $(shell $(PKG_CONFIG) libdrm --cflags-only-other) 18 19 include ../../../Makefile.template 20