configure: replace pkg-config calls with $(PKG_CONFIG) in the makefiles.
[mesa.git] / src / gallium / targets / xorg-r300 / Makefile
1 TOP = ../../../..
2 include $(TOP)/configs/current
3
4 LIBNAME = r300_drv.so
5
6 C_SOURCES = \
7 target.c \
8 xorg.c
9
10 DRIVER_DEFINES = \
11 -DHAVE_CONFIG_H -DGALLIUM_RBUG -DGALLIUM_TRACE -DGALLIUM_GALAHAD
12
13 DRIVER_PIPES = \
14 $(TOP)/src/gallium/state_trackers/xorg/libxorgtracker.a \
15 $(TOP)/src/gallium/winsys/radeon/drm/libradeonwinsys.a \
16 $(TOP)/src/gallium/drivers/r300/libr300.a \
17 $(TOP)/src/gallium/drivers/galahad/libgalahad.a \
18 $(TOP)/src/gallium/drivers/trace/libtrace.a \
19 $(TOP)/src/gallium/drivers/rbug/librbug.a
20
21 DRIVER_LINKS = \
22 $(shell $(PKG_CONFIG) --libs libdrm)
23
24 include ../Makefile.xorg