configure: replace pkg-config calls with $(PKG_CONFIG) in the makefiles.
[mesa.git] / src / gallium / state_trackers / vdpau / Makefile
index 346cce9d43bb33dfc1b1417a15fbb5aaaa40654f..0aeadc0b5b061ebc50ee8629e6b745fd967e5ccc 100644 (file)
@@ -3,13 +3,26 @@ include $(TOP)/configs/current
 
 LIBNAME = vdpautracker
 
+VDPAU_MAJOR = 1
+VDPAU_MINOR = 0
+LIBRARY_DEFINES = -DVER_MAJOR=$(VDPAU_MAJOR) -DVER_MINOR=$(VDPAU_MINOR) $(STATE_TRACKER_DEFINES)
+
 LIBRARY_INCLUDES = \
-       $(shell pkg-config --cflags-only-I vdpau) \
+       $(shell $(PKG_CONFIG) --cflags-only-I vdpau) \
        -I$(TOP)/src/gallium/winsys/g3dvl
 
 C_SOURCES = htab.c \
            ftab.c \
            device.c \
-           query.c
+           query.c \
+           surface.c \
+           decode.c \
+           presentation.c \
+           bitmap.c \
+           output.c \
+           preemption.c \
+           mixer.c
+
 
 include ../../Makefile.template
+