1 TOP = ../../../.. 2 include $(TOP)/configs/current 3 4 LIBNAME = svga 5 6 # get C_SOURCES 7 include Makefile.sources 8 9 LIBRARY_INCLUDES = \ 10 -I$(TOP)/src/gallium/drivers/svga/include 11 12 # With linux-debug we get a lots of warnings, filter out the bad flags. 13 CFLAGS := $(filter-out -pedantic, $(filter-out -ansi, $(CFLAGS))) 14 15 LIBRARY_DEFINES = \ 16 -std=gnu99 -fvisibility=hidden \ 17 -DHAVE_STDINT_H -DHAVE_SYS_TYPES_H 18 19 include ../../Makefile.template 20