7a44d28017bf87e9f4ee0685f786146ef456d29d
[mesa.git] / src / gallium / state_trackers / xorg / Makefile
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