]> git.sesse.net Git - vlc/blob - modules/hw/vdpau/Makefile.am
video_output: remove makefile recursion
[vlc] / modules / hw / vdpau / Makefile.am
1 include $(top_srcdir)/modules/common.am
2 vdpaudir = $(pluginsdir)/vdpau
3
4 AM_CFLAGS += $(VDPAU_CFLAGS)
5
6 libvlc_vdpau_la_SOURCES = vlc_vdpau.c vlc_vdpau.h instance.c
7 libvlc_vdpau_la_CPPFLAGS =
8 libvlc_vdpau_la_LIBADD = $(X_LIBS) $(X_PRE_LIBS) -lX11 \
9         $(LIBDL) $(LIBPTHREAD)
10 libvlc_vdpau_la_LDFLAGS = \
11         -no-undefined \
12         -export-symbols-regex ^vdp_ \
13         -version-info 0:0:0
14 pkglib_LTLIBRARIES = libvlc_vdpau.la
15
16 vdpau_LTLIBRARIES =
17
18 libvdpau_avcodec_plugin_la_SOURCES = avcodec.c picture.c
19 libvdpau_avcodec_plugin_la_CFLAGS = $(AM_CFLAGS) \
20         $(X_CFLAGS) $(AVCODEC_CFLAGS)
21 libvdpau_avcodec_plugin_la_LIBADD = libvlc_vdpau.la \
22         $(X_LIBS) $(X_PRE_LIBS) -lX11 $(AVCODEC_LIBS)
23 if HAVE_AVCODEC_VDPAU
24 vdpau_LTLIBRARIES += libvdpau_avcodec_plugin.la
25 endif
26
27 libvdpau_deinterlace_plugin_la_SOURCES = deinterlace.c picture.c
28 libvdpau_deinterlace_plugin_la_CFLAGS = $(AM_CFLAGS) # dummy
29 libvdpau_deinterlace_plugin_la_LIBADD = libvlc_vdpau.la
30 vdpau_LTLIBRARIES += libvdpau_deinterlace_plugin.la
31
32 libvdpau_adjust_plugin_la_SOURCES = adjust.c picture.c
33 libvdpau_adjust_plugin_la_CFLAGS = $(AM_CFLAGS) # dummy
34 libvdpau_adjust_plugin_la_LIBADD = libvlc_vdpau.la
35 vdpau_LTLIBRARIES += libvdpau_adjust_plugin.la
36
37 libvdpau_sharpen_plugin_la_SOURCES = sharpen.c picture.c
38 libvdpau_sharpen_plugin_la_CFLAGS = $(AM_CFLAGS) # dummy
39 libvdpau_sharpen_plugin_la_LIBADD = libvlc_vdpau.la
40 vdpau_LTLIBRARIES += libvdpau_sharpen_plugin.la
41
42 libvdpau_chroma_plugin_la_SOURCES = chroma.c picture.c
43 libvdpau_chroma_plugin_la_CFLAGS = $(AM_CFLAGS) # dummy
44 libvdpau_chroma_plugin_la_LIBADD = libvlc_vdpau.la
45 vdpau_LTLIBRARIES += libvdpau_chroma_plugin.la
46
47 libvdpau_display_plugin_la_SOURCES = display.c
48 libvdpau_display_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/../../video_output/xcb
49 libvdpau_display_plugin_la_CFLAGS = $(AM_CFLAGS) $(XCB_CFLAGS)
50 libvdpau_display_plugin_la_LIBADD = libvlc_vdpau.la \
51         ../../libvlc_xcb_events.la \
52         $(AM_LIBADD) $(X_LIBS) $(X_PRE_LIBS) -lX11 $(XCB_LIBS)
53 vdpau_LTLIBRARIES += libvdpau_display_plugin.la