Rename "xcb" plugin to "xcb_x11"
[vlc.git] / modules / video_output / Modules.am
1 SUBDIRS = msw qte x11
2 # Automake forgets to add a proper tag to libtool with Objective-C files.
3 # Moreocer Libtool should default tag to CC when none is specified but
4 # obviously does not. Here is a fix for that.
5 LIBTOOL=@LIBTOOL@ --tag=CC
6
7 SOURCES_aa = aa.c
8 SOURCES_caca = caca.c
9 SOURCES_fb = fb.c
10 SOURCES_omapfb = omapfb.c
11 SOURCES_ggi = ggi.c
12 SOURCES_vout_sdl = sdl.c
13 SOURCES_svgalib = svgalib.c
14 SOURCES_mga = mga.c
15 SOURCES_hd1000v = hd1000v.cpp
16 SOURCES_snapshot = snapshot.c
17 SOURCES_opengl = opengl.c
18 SOURCES_opengllayer = opengllayer.m
19 SOURCES_directfb = directfb.c
20 SOURCES_vmem = vmem.c
21 SOURCES_yuv = yuv.c
22 SOURCES_vout_wrapper = wrapper.c
23
24 libxcb_x11_plugin_la_SOURCES = \
25         xcb/xcb_vlc.h \
26         xcb/x11.c \
27         xcb/common.c \
28         xcb/events.c
29 libxcb_x11_plugin_la_CFLAGS = $(AM_CFLAGS) \
30         $(XCB_CFLAGS) $(XCB_SHM_CFLAGS) \
31         $(XPROTO_CFLAGS)
32 libxcb_x11_plugin_la_LIBADD = $(AM_LIBADD) \
33         $(XCB_LIBS) $(XCB_SHM_LIBS) \
34         $(XPROTO_LIBS)
35 libxcb_x11_plugin_la_DEPENDENCIES =
36
37 libxcb_xv_plugin_la_SOURCES = \
38         xcb/xcb_vlc.h \
39         xcb/xvideo.c \
40         xcb/common.c \
41         xcb/events.c
42 libxcb_xv_plugin_la_CFLAGS = $(AM_CFLAGS) \
43         $(XCB_CFLAGS) $(XCB_SHM_CFLAGS) $(XCB_XV_CFLAGS) \
44         $(XPROTO_CFLAGS)
45 libxcb_xv_plugin_la_LIBADD = $(AM_LIBADD) \
46         $(XCB_LIBS) $(XCB_SHM_LIBS) $(XCB_XV_LIBS) \
47         $(XPROTO_LIBS)
48 libxcb_xv_plugin_la_DEPENDENCIES =
49
50 libxcb_window_plugin_la_SOURCES = xcb/window.c xcb/keys.c
51 libxcb_window_plugin_la_CFLAGS = $(AM_CFLAGS) \
52         $(XCB_CFLAGS) \
53         $(XCB_AUX_CFLAGS) $(XCB_KEYSYMS_CFLAGS)
54 libxcb_window_plugin_la_LIBADD = $(AM_LIBADD) \
55         $(XCB_LIBS) \
56         $(XCB_AUX_LIBS) $(XCB_KEYSYMS_LIBS)
57 libxcb_window_plugin_la_DEPENDENCIES =
58
59 EXTRA_LTLIBRARIES += \
60         libxcb_x11_plugin.la \
61         libxcb_xv_plugin.la \
62         libxcb_window_plugin.la
63 libvlc_LTLIBRARIES += \
64         $(LTLIBxcb_x11) \
65         $(LTLIBxcb_xv) \
66         $(LTLIBxcb_window)
67
68 # XXX: do we need yet another modules/ subdirectory?
69 libdrawable_plugin_la_SOURCES = drawable.c
70 libdrawable_plugin_la_CFLAGS = $(AM_CFLAGS)
71 libdrawable_plugin_la_LIBADD = $(AM_LIBADD)
72 libdrawable_plugin_la_DEPENDENCIES =
73 if HAVE_WIN32
74 libvlc_LTLIBRARIES += libdrawable_plugin.la
75 endif
76
77 libvlc_LTLIBRARIES += libvout_wrapper_plugin.la