Fix a segfault (buffer overflow for win32 only).
[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
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_xv_plugin_la_SOURCES = \
37         xcb/xcb_vlc.h \
38         xcb/xvideo.c \
39         xcb/common.c \
40         xcb/events.c
41 libxcb_xv_plugin_la_CFLAGS = $(AM_CFLAGS) \
42         $(XCB_CFLAGS) $(XCB_SHM_CFLAGS) $(XCB_XV_CFLAGS) \
43         $(XPROTO_CFLAGS)
44 libxcb_xv_plugin_la_LIBADD = $(AM_LIBADD) \
45         $(XCB_LIBS) $(XCB_SHM_LIBS) $(XCB_XV_LIBS) \
46         $(XPROTO_LIBS)
47 libxcb_xv_plugin_la_DEPENDENCIES =
48
49 libxcb_window_plugin_la_SOURCES = xcb/window.c xcb/keys.c
50 libxcb_window_plugin_la_CFLAGS = $(AM_CFLAGS) \
51         $(XCB_CFLAGS) \
52         $(XCB_AUX_CFLAGS) $(XCB_KEYSYMS_CFLAGS)
53 libxcb_window_plugin_la_LIBADD = $(AM_LIBADD) \
54         $(XCB_LIBS) \
55         $(XCB_AUX_LIBS) $(XCB_KEYSYMS_LIBS)
56 libxcb_window_plugin_la_DEPENDENCIES =
57
58 EXTRA_LTLIBRARIES += \
59         libxcb_plugin.la \
60         libxcb_xv_plugin.la \
61         libxcb_window_plugin.la
62 libvlc_LTLIBRARIES += \
63         $(LTLIBxcb) \
64         $(LTLIBxcb_xv) \
65         $(LTLIBxcb_window)
66
67 # XXX: do we need yet another modules/ subdirectory?
68 libdrawable_plugin_la_SOURCES = drawable.c
69 libdrawable_plugin_la_CFLAGS = $(AM_CFLAGS)
70 libdrawable_plugin_la_LIBADD = $(AM_LIBADD)
71 libdrawable_plugin_la_DEPENDENCIES =
72 libvlc_LTLIBRARIES += libdrawable_plugin.la