]> git.sesse.net Git - vlc/blob - modules/video_output/Modules.am
XCB: factor some code
[vlc] / 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
23 libxcb_plugin_la_SOURCES = \
24         xcb/xcb_vlc.h \
25         xcb/x11.c \
26         xcb/common.c \
27         xcb/events.c
28 libxcb_plugin_la_CFLAGS = $(AM_CFLAGS) \
29         $(XCB_CFLAGS) $(XCB_SHM_CFLAGS) \
30         $(XPROTO_CFLAGS)
31 libxcb_plugin_la_LIBADD = $(AM_LIBADD) \
32         $(XCB_LIBS) $(XCB_SHM_LIBS) \
33         $(XPROTO_LIBS)
34 libxcb_plugin_la_DEPENDENCIES =
35
36 libxcb_window_plugin_la_SOURCES = xcb/window.c xcb/keys.c
37 libxcb_window_plugin_la_CFLAGS = $(AM_CFLAGS) \
38         $(XCB_CFLAGS) \
39         $(XCB_AUX_CFLAGS) $(XCB_KEYSYMS_CFLAGS)
40 libxcb_window_plugin_la_LIBADD = $(AM_LIBADD) \
41         $(XCB_LIBS) \
42         $(XCB_AUX_LIBS) $(XCB_KEYSYMS_LIBS)
43 libxcb_window_plugin_la_DEPENDENCIES =
44
45 EXTRA_LTLIBRARIES += libxcb_plugin.la libxcb_window_plugin.la
46 libvlc_LTLIBRARIES += $(LTLIBxcb) $(LTLIBxcb_window)
47
48 # XXX: do we need yet another modules/ subdirectory?
49 libdrawable_plugin_la_SOURCES = drawable.c
50 libdrawable_plugin_la_CFLAGS = $(AM_CFLAGS)
51 libdrawable_plugin_la_LIBADD = $(AM_LIBADD)
52 libdrawable_plugin_la_DEPENDENCIES =
53 libvlc_LTLIBRARIES += libdrawable_plugin.la