1 TOP = ../../../.. 2 include $(TOP)/configs/current 3 4 LIBNAME = xorgtracker 5 6 LIBRARY_INCLUDES = \ 7 -DHAVE_CONFIG_H \ 8 $(shell $(PKG_CONFIG) xextproto --atleast-version=7.0.99.1 \ 9 && echo "-DHAVE_XEXTPROTO_71") \ 10 $(shell $(PKG_CONFIG) libkms --atleast-version=1.0 \ 11 && echo "-DHAVE_LIBKMS") \ 12 $(shell $(PKG_CONFIG) libkms --silence-errors --cflags-only-I) \ 13 $(shell $(PKG_CONFIG) --cflags-only-I pixman-1 xorg-server libdrm xproto dri2proto) \ 14 -I$(TOP)/src/gallium/include \ 15 -I$(TOP)/src/gallium/auxiliary \ 16 -I$(TOP)/include \ 17 -I$(TOP)/src/mesa \ 18 -I$(TOP)/src/mesa/drivers/dri/common \ 19 -I$(TOP)/src/mesa/main 20 21 C_SOURCES = $(wildcard ./*.c) 22 23 include ../../Makefile.template 24