configure: replace pkg-config calls with $(PKG_CONFIG) in the makefiles.
[mesa.git] / src / gallium / targets / dri-nouveau / Makefile
1 TOP = ../../../..
2 include $(TOP)/configs/current
3
4 LIBNAME = nouveau_dri.so
5
6 PIPE_DRIVERS = \
7 $(TOP)/src/gallium/state_trackers/dri/drm/libdridrm.a \
8 $(TOP)/src/gallium/winsys/nouveau/drm/libnouveaudrm.a \
9 $(TOP)/src/gallium/drivers/trace/libtrace.a \
10 $(TOP)/src/gallium/drivers/rbug/librbug.a \
11 $(TOP)/src/gallium/drivers/nvfx/libnvfx.a \
12 $(TOP)/src/gallium/drivers/nv50/libnv50.a \
13 $(TOP)/src/gallium/drivers/nvc0/libnvc0.a \
14 $(TOP)/src/gallium/drivers/nouveau/libnouveau.a
15
16 C_SOURCES = \
17 target.c \
18 $(COMMON_GALLIUM_SOURCES) \
19 $(DRIVER_SOURCES)
20
21 DRIVER_DEFINES = \
22 -DGALLIUM_RBUG -DGALLIUM_TRACE
23
24 include ../Makefile.dri
25
26 DRI_LIB_DEPS += $(shell $(PKG_CONFIG) libdrm_nouveau --libs)
27
28 symlinks: