Jakob Bornecrantz | 23170ab | 2009-06-22 23:09:56 +0200 | [diff] [blame] | 1 | TOP = ../../../.. |
Jakob Bornecrantz | 84711c6 | 2009-03-03 03:22:46 +0100 | [diff] [blame] | 2 | include $(TOP)/configs/current |
| 3 | |
Jakob Bornecrantz | 23170ab | 2009-06-22 23:09:56 +0200 | [diff] [blame] | 4 | LIBNAME = xorgtracker |
Jakob Bornecrantz | 84711c6 | 2009-03-03 03:22:46 +0100 | [diff] [blame] | 5 | |
Jakob Bornecrantz | 23170ab | 2009-06-22 23:09:56 +0200 | [diff] [blame] | 6 | LIBRARY_INCLUDES = \ |
| 7 | -DHAVE_CONFIG_H \ |
Zack Rusin | fb22e80 | 2009-10-22 19:31:44 -0400 | [diff] [blame] | 8 | $(shell pkg-config xextproto --atleast-version=7.0.99.1 \ |
| 9 | && echo "-DHAVE_XEXTPROTO_71") \ |
Jakob Bornecrantz | ee40b20 | 2009-11-24 12:47:38 +0100 | [diff] [blame] | 10 | $(shell pkg-config libkms --atleast-version=1.0 \ |
| 11 | && echo "-DHAVE_LIBKMS") \ |
| 12 | $(shell pkg-config libkms --silence-errors --cflags-only-I) \ |
Jakob Bornecrantz | 23170ab | 2009-06-22 23:09:56 +0200 | [diff] [blame] | 13 | $(shell pkg-config --cflags-only-I pixman-1 xorg-server libdrm xproto) \ |
| 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 |
Jakob Bornecrantz | 84711c6 | 2009-03-03 03:22:46 +0100 | [diff] [blame] | 20 | |
Jakob Bornecrantz | 23170ab | 2009-06-22 23:09:56 +0200 | [diff] [blame] | 21 | C_SOURCES = $(wildcard ./*.c) |
Jakob Bornecrantz | 84711c6 | 2009-03-03 03:22:46 +0100 | [diff] [blame] | 22 | |
Jakob Bornecrantz | 23170ab | 2009-06-22 23:09:56 +0200 | [diff] [blame] | 23 | include ../../Makefile.template |