Makefile.am 2.03 KB
Newer Older
1
2
3
4
basedir = vdpau
include $(top_srcdir)/modules/common.am

AM_CFLAGS += $(VDPAU_CFLAGS)
5
AM_LIBADD += libvlc_vdpau.la
6

7
libvlc_vdpau_la_SOURCES = vlc_vdpau.c vlc_vdpau.h instance.c
8
9
10
11
12
13
14
15
libvlc_vdpau_la_CPPFLAGS =
libvlc_vdpau_la_LIBADD = $(X_LIBS) $(X_PRE_LIBS) -lX11 \
	$(LIBDL) $(LIBPTHREAD)
libvlc_vdpau_la_LDFLAGS = \
	-no-undefined \
	-export-symbols-regex ^vdp_ \
	-version-info 0:0:0
pkglib_LTLIBRARIES = libvlc_vdpau.la
16
17
18

libvlc_LTLIBRARIES =

19
libvdpau_avcodec_plugin_la_SOURCES = avcodec.c picture.c
20
21
22
23
24
25
26
27
libvdpau_avcodec_plugin_la_CFLAGS = $(AM_CFLAGS) \
	$(X_CFLAGS) $(CFLAGS_avcodec)
libvdpau_avcodec_plugin_la_LIBADD = $(AM_LIBADD) \
	$(X_LIBS) $(X_PRE_LIBS) -lX11 $(LIBS_avcodec)
libvdpau_avcodec_plugin_la_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_avcodec)
if HAVE_AVCODEC_VDPAU
libvlc_LTLIBRARIES += libvdpau_avcodec_plugin.la
endif
28

29
30
31
32
33
libvdpau_deinterlace_plugin_la_SOURCES = deinterlace.c picture.c
libvdpau_deinterlace_plugin_la_CFLAGS = $(AM_CFLAGS) # dummy
libvdpau_deinterlace_plugin_la_LIBADD = $(AM_LIBADD)
libvlc_LTLIBRARIES += libvdpau_deinterlace_plugin.la

34
35
36
37
38
libvdpau_adjust_plugin_la_SOURCES = adjust.c picture.c
libvdpau_adjust_plugin_la_CFLAGS = $(AM_CFLAGS) # dummy
libvdpau_adjust_plugin_la_LIBADD = $(AM_LIBADD)
libvlc_LTLIBRARIES += libvdpau_adjust_plugin.la

39
40
41
42
43
libvdpau_sharpen_plugin_la_SOURCES = sharpen.c picture.c
libvdpau_sharpen_plugin_la_CFLAGS = $(AM_CFLAGS) # dummy
libvdpau_sharpen_plugin_la_LIBADD = $(AM_LIBADD)
libvlc_LTLIBRARIES += libvdpau_sharpen_plugin.la

44
libvdpau_chroma_plugin_la_SOURCES = chroma.c picture.c
45
46
47
libvdpau_chroma_plugin_la_CFLAGS = $(AM_CFLAGS) # dummy
libvdpau_chroma_plugin_la_LIBADD = $(AM_LIBADD)
libvlc_LTLIBRARIES += libvdpau_chroma_plugin.la
48
49
50
51
52
53
54
55
56
57
58

libvdpau_display_plugin_la_SOURCES = \
	../../video_output/xcb/events.c \
	display.c
libvdpau_display_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) \
	-I$(srcdir)/../../video_output/xcb
libvdpau_display_plugin_la_CFLAGS = $(AM_CFLAGS) \
	$(XCB_CFLAGS)
libvdpau_display_plugin_la_LIBADD = $(AM_LIBADD) \
	$(X_LIBS) $(X_PRE_LIBS) -lX11 $(XCB_LIBS)
libvlc_LTLIBRARIES += libvdpau_display_plugin.la