summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gallium/state_trackers/vdpau/Makefile.am14
-rw-r--r--src/gallium/state_trackers/vdpau/Makefile.sources12
2 files changed, 14 insertions, 12 deletions
diff --git a/src/gallium/state_trackers/vdpau/Makefile.am b/src/gallium/state_trackers/vdpau/Makefile.am
index f7c5ed664e0..a2fa3667b04 100644
--- a/src/gallium/state_trackers/vdpau/Makefile.am
+++ b/src/gallium/state_trackers/vdpau/Makefile.am
@@ -20,6 +20,7 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
# DEALINGS IN THE SOFTWARE.
+include Makefile.sources
include $(top_srcdir)/src/gallium/Automake.inc
VDPAU_MAJOR = 1
@@ -35,15 +36,4 @@ AM_CPPFLAGS = \
noinst_LTLIBRARIES = libvdpautracker.la
-libvdpautracker_la_SOURCES = \
- htab.c \
- ftab.c \
- device.c \
- query.c \
- surface.c \
- decode.c \
- presentation.c \
- bitmap.c \
- output.c \
- preemption.c \
- mixer.c
+libvdpautracker_la_SOURCES = $(C_SOURCES)
diff --git a/src/gallium/state_trackers/vdpau/Makefile.sources b/src/gallium/state_trackers/vdpau/Makefile.sources
new file mode 100644
index 00000000000..d90a870a8ef
--- /dev/null
+++ b/src/gallium/state_trackers/vdpau/Makefile.sources
@@ -0,0 +1,12 @@
+C_SOURCES := \
+ htab.c \
+ ftab.c \
+ device.c \
+ query.c \
+ surface.c \
+ decode.c \
+ presentation.c \
+ bitmap.c \
+ output.c \
+ preemption.c \
+ mixer.c