1 voutdir = $(pluginsdir)/video_output
8 SOURCES_vout_sdl = sdl.c
9 SOURCES_directfb = directfb.c
12 SOURCES_vout_macosx = macosx.m opengl.h opengl.c
13 SOURCES_vout_coregraphicslayer = coregraphicslayer.m
14 SOURCES_vout_ios2 = ios2.m opengl.h opengl.c
15 SOURCES_android_surface = android/surface.c
18 libdecklinkoutput_plugin_la_SOURCES = decklink.cpp
19 libdecklinkoutput_plugin_la_CXXFLAGS = $(AM_CFLAGS) $(CPPFLAGS_decklinkoutput)
20 libdecklinkoutput_plugin_la_LIBADD = $(LIBS_decklink) $(LIBDL)
21 vout_LTLIBRARIES += libdecklinkoutput_plugin.la
25 # TODO: merge all three source files (?)
26 libgles2_plugin_la_SOURCES = opengl.c opengl.h gl.c
27 libgles2_plugin_la_CFLAGS = $(AM_CFLAGS) $(GLES2_CFLAGS) -DUSE_OPENGL_ES=2
28 libgles2_plugin_la_LIBADD = $(GLES2_LIBS)
29 libgles2_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(voutdir)'
31 libgles1_plugin_la_SOURCES = opengl.c opengl.h gl.c
32 libgles1_plugin_la_CFLAGS = $(AM_CFLAGS) $(GLES1_CFLAGS) -DUSE_OPENGL_ES=1
33 libgles1_plugin_la_LIBADD = $(GLES1_LIBS)
34 libgles1_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(voutdir)'
36 EXTRA_LTLIBRARIES += libgles2_plugin.la libgles1_plugin.la
37 vout_LTLIBRARIES += $(LTLIBgles2) $(LTLIBgles1)
39 libgl_plugin_la_SOURCES = opengl.c opengl.h gl.c
40 libgl_plugin_la_CFLAGS = $(AM_CFLAGS) $(GL_CFLAGS)
41 libgl_plugin_la_LIBADD = $(GL_LIBS)
43 vout_LTLIBRARIES += libgl_plugin.la
48 libvlc_xcb_events_la_SOURCES = xcb/events.c xcb/events.h
49 libvlc_xcb_events_la_CPPFLAGS = -DMODULE_STRING=\"xcb\"
50 libvlc_xcb_events_la_CFLAGS = $(AM_CFLAGS) $(XCB_CFLAGS)
51 libvlc_xcb_events_la_LDFLAGS = -static
52 libvlc_xcb_events_la_LIBADD = $(XCB_LIBS)
54 libxcb_x11_plugin_la_SOURCES = \
55 xcb/pictures.c xcb/pictures.h \
57 libxcb_x11_plugin_la_CFLAGS = $(AM_CFLAGS) \
58 $(XCB_CFLAGS) $(XCB_SHM_CFLAGS)
59 libxcb_x11_plugin_la_LIBADD = libvlc_xcb_events.la \
60 $(XCB_LIBS) $(XCB_SHM_LIBS)
62 libxcb_xv_plugin_la_SOURCES = \
63 xcb/pictures.c xcb/pictures.h \
65 libxcb_xv_plugin_la_CFLAGS = $(AM_CFLAGS) \
66 $(XCB_CFLAGS) $(XCB_SHM_CFLAGS) $(XCB_XV_CFLAGS)
67 libxcb_xv_plugin_la_LIBADD = libvlc_xcb_events.la \
68 $(XCB_LIBS) $(XCB_SHM_LIBS) $(XCB_XV_LIBS)
70 libxcb_glx_plugin_la_SOURCES = \
73 libxcb_glx_plugin_la_CFLAGS = $(AM_CFLAGS) \
74 $(XCB_CFLAGS) $(GL_CFLAGS)
75 libxcb_glx_plugin_la_LIBADD = libvlc_xcb_events.la \
76 $(XCB_LIBS) $(GL_LIBS) $(X_LIBS) $(X_PRE_LIBS) -lX11
78 libxcb_window_plugin_la_SOURCES = xcb/window.c xcb/keys.c xcb/keysym.h xcb/xcb_keysym.h
79 libxcb_window_plugin_la_CFLAGS = $(AM_CFLAGS) \
80 $(CFLAGS_xcb_window) \
81 $(XPROTO_CFLAGS) $(XCB_CFLAGS) $(XCB_KEYSYMS_CFLAGS)
82 libxcb_window_plugin_la_LIBADD = $(XPROTO_LIBS) $(XCB_LIBS) $(XCB_KEYSYMS_LIBS)
84 libegl_x11_plugin_la_SOURCES = egl.c
85 libegl_x11_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) -DUSE_PLATFORM_X11=1
86 libegl_x11_plugin_la_CFLAGS = $(AM_CFLAGS) $(EGL_CFLAGS)
87 libegl_x11_plugin_la_LIBADD = $(EGL_LIBS) $(X_LIBS) $(X_PRE_LIBS) -lX11
89 libglx_plugin_la_SOURCES = glx.c
90 libglx_plugin_la_CFLAGS = $(AM_CFLAGS) $(GL_CFLAGS)
91 libglx_plugin_la_LIBADD = $(GL_LIBS) $(X_LIBS) $(X_PRE_LIBS) -lX11
94 noinst_LTLIBRARIES += libvlc_xcb_events.la
95 vout_LTLIBRARIES += libxcb_x11_plugin.la libxcb_window_plugin.la
97 libxcb_window_plugin_la_CFLAGS += -DHAVE_XCB_KEYSYMS
100 vout_LTLIBRARIES += libxcb_xv_plugin.la
103 vout_LTLIBRARIES += libegl_x11_plugin.la
106 vout_LTLIBRARIES += libxcb_glx_plugin.la libglx_plugin.la
112 libdirect2d_plugin_la_SOURCES = msw/direct2d.c \
113 msw/common.c msw/common.h msw/events.c msw/events.h
114 libdirect2d_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) \
115 -DMODULE_NAME_IS_direct2d
116 libdirect2d_plugin_la_LIBADD = -lgdi32 -lole32 -luuid
117 libdirect2d_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(voutdir)'
118 vout_LTLIBRARIES += $(LTLIBdirect2d)
119 EXTRA_LTLIBRARIES += libdirect2d_plugin.la
121 libdirect3d_plugin_la_SOURCES = msw/direct3d.c \
122 msw/common.c msw/common.h msw/events.c msw/events.h
123 libdirect3d_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) \
124 -DMODULE_NAME_IS_direct3d
125 libdirect3d_plugin_la_LIBADD = -lgdi32 -lole32 -luuid
126 libdirect3d_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(voutdir)'
127 vout_LTLIBRARIES += $(LTLIBdirect3d)
128 EXTRA_LTLIBRARIES += libdirect3d_plugin.la
130 libdirectdraw_plugin_la_SOURCES = msw/directx.c \
131 msw/common.c msw/common.h msw/events.c msw/events.h
132 libdirectdraw_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) \
133 -DMODULE_NAME_IS_directdraw
134 libdirectdraw_plugin_la_LIBADD = -luser32 -lgdi32 -lole32 -luuid
136 vout_LTLIBRARIES += libdirectdraw_plugin.la
139 libglwin32_plugin_la_SOURCES = msw/glwin32.c opengl.c opengl.h \
140 msw/common.c msw/common.h msw/events.c msw/events.h
141 libglwin32_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) \
142 -DMODULE_NAME_IS_glwin32
143 libglwin32_plugin_la_LIBADD = -lopengl32 -lgdi32 -lole32 -luuid
144 libglwin32_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(voutdir)'
145 vout_LTLIBRARIES += $(LTLIBglwin32)
146 EXTRA_LTLIBRARIES += libglwin32_plugin.la
148 libwingdi_plugin_la_SOURCES = msw/wingdi.c \
149 msw/common.c msw/common.h msw/events.c msw/events.h
150 libwingdi_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) \
151 -DMODULE_NAME_IS_wingdi
152 libwingdi_plugin_la_LIBADD = -lgdi32 -lole32 -luuid
154 vout_LTLIBRARIES += libwingdi_plugin.la
157 libegl_win32_plugin_la_SOURCES = egl.c
158 libegl_win32_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) -DUSE_PLATFORM_WIN32=1
159 libegl_win32_plugin_la_CFLAGS = $(AM_CFLAGS) $(EGL_CFLAGS)
160 libegl_win32_plugin_la_LIBADD = $(EGL_LIBS)
163 vout_LTLIBRARIES += libegl_win32_plugin.la
167 libdrawable_plugin_la_SOURCES = drawable.c
169 vout_LTLIBRARIES += libdrawable_plugin.la
174 vout_LTLIBRARIES += libdrawable_plugin.la
177 libkva_plugin_la_SOURCES = kva.c
178 libkva_plugin_la_LIBADD = $(KVA_LIBS)
180 vout_LTLIBRARIES += libkva_plugin.la
185 libandroid_native_window_plugin_la_SOURCES = android/nativewindow.c
186 libandroid_native_window_plugin_la_CFLAGS = $(AM_CFLAGS)
187 libandroid_native_window_plugin_la_LIBADD = -ldl
190 vout_LTLIBRARIES += libandroid_native_window_plugin.la
193 ### Coloured ASCII art ###
194 libcaca_plugin_la_SOURCES = caca.c
195 libcaca_plugin_la_CFLAGS = $(AM_CFLAGS) $(CACA_CFLAGS)
196 libcaca_plugin_la_LIBADD = $(CACA_LIBS)
199 libcaca_plugin_la_LIBADD += $(X_LIBS) $(X_PRE_LIBS) -lX11
202 libcaca_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(voutdir)'
203 EXTRA_LTLIBRARIES += libcaca_plugin.la
204 vout_LTLIBRARIES += $(LTLIBcaca)
207 libvdummy_plugin_la_SOURCES = vdummy.c
209 vout_LTLIBRARIES += \
210 libvdummy_plugin.la \