summaryrefslogtreecommitdiff
path: root/src/libvdpau/Makefile.am
blob: dc7ace0a711a2b414314402fd8fc1726389bb25c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
include $(top_srcdir)/misc/Makefile.common

AM_CFLAGS = $(VISIBILITY_FLAG)
AM_LDFLAGS = $(xineplug_ldflags)

if HAVE_VDPAU
vdpau_h264_module = xineplug_decode_vdpau_h264.la
VDPAU_CFLAGS = -D_ISOC99_SOURCE

vdpau_mpeg12_module = xineplug_decode_vdpau_mpeg12.la
endif

xineplug_LTLIBRARIES = $(vdpau_h264_module) $(vdpau_mpeg12_module)

xineplug_decode_vdpau_h264_la_SOURCES = nal.c dpb.c h264_parser.c vdpau_h264.c
xineplug_decode_vdpau_h264_la_CFLAGS = $(AM_CFLAGS) $(VDPAU_CFLAGS)
xineplug_decode_vdpau_h264_la_LIBADD = $(XINE_LIB) $(DYNAMIC_LD_LIBS) -lm

xineplug_decode_vdpau_mpeg12_la_SOURCES = vdpau_mpeg12.c
xineplug_decode_vdpau_mpeg12_la_CFLAGS = $(AM_CFLAGS)
xineplug_decode_vdpau_mpeg12_la_LIBADD = $(XINE_LIB) $(DYNAMIC_LD_LIBS)