vout: remove evas output
[vlc.git] / modules / video_output / Makefile.am
1 voutdir = $(pluginsdir)/video_output
2 vout_LTLIBRARIES =
3
4 EXTRA_DIST += video_output/README
5
6 OPENGL_COMMONSOURCES = video_output/opengl/vout_helper.c \
7         video_output/opengl/vout_helper.h video_output/opengl/converter.h \
8         video_output/opengl/internal.h video_output/opengl/fragment_shaders.c \
9         video_output/opengl/converter_sw.c
10
11 OPENGL_COMMONCLFAGS = $(LIBPLACEBO_CFLAGS)
12 OPENGL_COMMONLIBS = $(LIBPLACEBO_LIBS)
13
14 if HAVE_DECKLINK
15 libdecklinkoutput_plugin_la_SOURCES = video_output/decklink.cpp
16 libdecklinkoutput_plugin_la_CXXFLAGS = $(AM_CXXFLAGS) $(CPPFLAGS_decklinkoutput)
17 libdecklinkoutput_plugin_la_LIBADD = $(LIBS_decklink) $(LIBDL) -lpthread
18 vout_LTLIBRARIES += libdecklinkoutput_plugin.la
19 endif
20
21 libglconv_cvpx_plugin_la_SOURCES = video_output/opengl/converter_cvpx.c \
22         video_output/opengl/converter.h
23 libglconv_cvpx_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(voutdir)'
24
25 if HAVE_OSX
26 libvout_macosx_plugin_la_SOURCES = video_output/macosx.m $(OPENGL_COMMONSOURCES)
27 libvout_macosx_plugin_la_CFLAGS = $(AM_CFLAGS) $(OPENGL_COMMONCLFAGS) -DHAVE_GL_CORE_SYMBOLS
28 libvout_macosx_plugin_la_LIBADD = $(OPENGL_COMMONLIBS)
29 libvout_macosx_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(voutdir)' \
30         -Wl,-framework,OpenGL,-framework,Cocoa
31
32 libcaopengllayer_plugin_la_SOURCES = video_output/caopengllayer.m $(OPENGL_COMMONSOURCES)
33 libcaopengllayer_plugin_la_CFLAGS = $(AM_CFLAGS) $(OPENGL_COMMONCLFAGS) -DHAVE_GL_CORE_SYMBOLS
34 libcaopengllayer_plugin_la_LIBADD = $(OPENGL_COMMONLIBS)
35 libcaopengllayer_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(voutdir)' \
36         -Wl,-framework,OpenGL,-framework,Cocoa,-framework,QuartzCore
37
38 libglconv_cvpx_plugin_la_SOURCES += codec/vt_utils.c codec/vt_utils.h
39 libglconv_cvpx_plugin_la_LDFLAGS += -Wl,-framework,IOSurface \
40         -Wl,-framework,Foundation,-framework,CoreVideo,-framework,OpenGL
41 vout_LTLIBRARIES += libvout_macosx_plugin.la libcaopengllayer_plugin.la \
42         libglconv_cvpx_plugin.la
43 endif
44 if HAVE_IOS
45 libglconv_cvpx_plugin_la_CFLAGS = $(AM_CFLAGS) -DUSE_OPENGL_ES2
46 endif
47
48 libvout_ios_plugin_la_SOURCES = video_output/ios.m $(OPENGL_COMMONSOURCES)
49 libvout_ios_plugin_la_CFLAGS = $(AM_CFLAGS) $(OPENGL_COMMONCLFAGS) -DUSE_OPENGL_ES2
50 libvout_ios_plugin_la_LIBADD = $(OPENGL_COMMONLIBS)
51 libvout_ios_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(voutdir)' \
52         -Wl,-framework,OpenGLES,-framework,QuartzCore,-framework,UIKit
53 if HAVE_IOS
54 vout_LTLIBRARIES += libvout_ios_plugin.la libglconv_cvpx_plugin.la
55 endif
56 if HAVE_TVOS
57 vout_LTLIBRARIES += libvout_ios_plugin.la
58 endif
59
60 ### OpenGL ###
61 libgles2_plugin_la_SOURCES = $(OPENGL_COMMONSOURCES) video_output/opengl/display.c
62 libgles2_plugin_la_CFLAGS = $(AM_CFLAGS) $(GLES2_CFLAGS) -DUSE_OPENGL_ES2 $(OPENGL_COMMONCLFAGS)
63 libgles2_plugin_la_LIBADD = $(GLES2_LIBS) $(LIBM) $(OPENGL_COMMONLIBS)
64 libgles2_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(voutdir)'
65
66 EXTRA_LTLIBRARIES += libgles2_plugin.la
67 vout_LTLIBRARIES += $(LTLIBgles2)
68
69 libgl_plugin_la_SOURCES = $(OPENGL_COMMONSOURCES) video_output/opengl/display.c
70 libgl_plugin_la_CFLAGS = $(AM_CFLAGS) $(GL_CFLAGS) $(OPENGL_COMMONCLFAGS)
71 libgl_plugin_la_LIBADD = $(LIBM) $(OPENGL_COMMONLIBS)
72 if HAVE_WIN32
73 libgl_plugin_la_CFLAGS += -DHAVE_GL_CORE_SYMBOLS
74 libgl_plugin_la_LIBADD += $(GL_LIBS)
75 endif
76
77 libglconv_vaapi_wl_plugin_la_SOURCES = video_output/opengl/converter_vaapi.c \
78         video_output/opengl/converter.h \
79         hw/vaapi/vlc_vaapi.c hw/vaapi/vlc_vaapi.h
80 libglconv_vaapi_wl_plugin_la_CFLAGS = $(AM_CFLAGS) $(GL_CFLAGS) -DHAVE_VA_WL $(LIBVA_WL_CFLAGS)
81 libglconv_vaapi_wl_plugin_la_LIBADD = $(LIBVA_LIBS) $(LIBVA_EGL_LIBS) \
82         $(LIBVA_WL_LIBS)
83
84 libglconv_vaapi_x11_plugin_la_SOURCES = $(libglconv_vaapi_wl_plugin_la_SOURCES)
85 libglconv_vaapi_x11_plugin_la_CFLAGS = $(AM_CFLAGS) -DHAVE_VA_X11
86 libglconv_vaapi_x11_plugin_la_LIBADD = $(LIBVA_LIBS) $(LIBVA_EGL_LIBS) \
87         $(LIBVA_X11_LIBS) $(X_LIBS) $(X_PRE_LIBS) -lX11
88
89 libglconv_vaapi_drm_plugin_la_SOURCES = $(libglconv_vaapi_wl_plugin_la_SOURCES)
90 libglconv_vaapi_drm_plugin_la_CFLAGS = $(AM_CFLAGS) -DHAVE_VA_DRM
91 libglconv_vaapi_drm_plugin_la_LIBADD = $(LIBVA_LIBS) $(LIBVA_EGL_LIBS) \
92         $(LIBVA_DRM_LIBS)
93
94 libglconv_vdpau_plugin_la_SOURCES = video_output/opengl/converter_vdpau.c \
95         video_output/opengl/converter.h hw/vdpau/vlc_vdpau.h
96 libglconv_vdpau_plugin_la_CFLAGS = $(AM_CFLAGS) $(VDPAU_CFLAGS)
97 libglconv_vdpau_plugin_la_LIBADD = $(LIBDL) libvlc_vdpau.la $(X_LIBS) $(X_PRE_LIBS) -lX11
98
99 if HAVE_GL
100 vout_LTLIBRARIES += libgl_plugin.la
101 if HAVE_EGL
102 if HAVE_VAAPI
103 if HAVE_WAYLAND_EGL
104 if HAVE_VAAPI_WL
105 vout_LTLIBRARIES += libglconv_vaapi_wl_plugin.la
106 endif
107 endif
108 if HAVE_XCB
109 if HAVE_VAAPI_X11
110 vout_LTLIBRARIES += libglconv_vaapi_x11_plugin.la
111 endif
112 endif
113 if HAVE_VAAPI_DRM
114 vout_LTLIBRARIES += libglconv_vaapi_drm_plugin.la
115 endif
116 endif
117 endif # HAVE_EGL
118
119 if HAVE_VDPAU
120 vout_LTLIBRARIES += libglconv_vdpau_plugin.la
121 endif
122 endif # HAVE_GL
123
124 ### XCB ###
125 libvlc_xcb_events_la_SOURCES = \
126         video_output/xcb/events.c video_output/xcb/events.h
127 libvlc_xcb_events_la_CFLAGS = $(AM_CFLAGS) $(XCB_CFLAGS)
128 libvlc_xcb_events_la_LDFLAGS = \
129         -no-undefined \
130         -export-symbols-regex ^vlc_xcb_ \
131         -version-info 0:0:0
132 libvlc_xcb_events_la_LIBADD = $(XCB_LIBS) $(LTLIBVLCCORE)
133
134 libxcb_x11_plugin_la_SOURCES = \
135         video_output/xcb/pictures.c video_output/xcb/pictures.h \
136         video_output/xcb/x11.c
137 libxcb_x11_plugin_la_CFLAGS = $(AM_CFLAGS) \
138         $(XCB_CFLAGS) $(XCB_SHM_CFLAGS)
139 libxcb_x11_plugin_la_LIBADD = libvlc_xcb_events.la \
140         $(XCB_LIBS) $(XCB_SHM_LIBS)
141
142 libxcb_xv_plugin_la_SOURCES = \
143         video_output/xcb/pictures.c video_output/xcb/pictures.h \
144         video_output/xcb/xvideo.c
145 libxcb_xv_plugin_la_CFLAGS = $(AM_CFLAGS) \
146         $(XCB_CFLAGS) $(XCB_SHM_CFLAGS) $(XCB_XV_CFLAGS)
147 libxcb_xv_plugin_la_LIBADD = libvlc_xcb_events.la \
148         $(XCB_LIBS) $(XCB_SHM_LIBS) $(XCB_XV_LIBS)
149
150 libxcb_window_plugin_la_SOURCES =  \
151         video_output/xcb/keys.c \
152         video_output/xcb/keysym.h video_output/xcb/xcb_keysym.h \
153         video_output/xcb/window.c
154 libxcb_window_plugin_la_CFLAGS = $(AM_CFLAGS) \
155         $(CFLAGS_xcb_window) \
156         $(XPROTO_CFLAGS) $(XCB_CFLAGS) $(XCB_KEYSYMS_CFLAGS)
157 libxcb_window_plugin_la_LIBADD = $(XPROTO_LIBS) $(XCB_LIBS) $(XCB_KEYSYMS_LIBS)
158
159 libegl_x11_plugin_la_SOURCES = video_output/opengl/egl.c
160 libegl_x11_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) -DUSE_PLATFORM_X11=1
161 libegl_x11_plugin_la_CFLAGS = $(AM_CFLAGS) $(EGL_CFLAGS)
162 libegl_x11_plugin_la_LIBADD = $(EGL_LIBS) $(X_LIBS) $(X_PRE_LIBS) -lX11
163
164 libglx_plugin_la_SOURCES = video_output/glx.c
165 libglx_plugin_la_CFLAGS = $(AM_CFLAGS) $(GL_CFLAGS)
166 libglx_plugin_la_LIBADD = $(GL_LIBS) $(X_LIBS) $(X_PRE_LIBS) -lX11
167
168 if HAVE_XCB
169 pkglib_LTLIBRARIES += libvlc_xcb_events.la
170 vout_LTLIBRARIES += libxcb_x11_plugin.la libxcb_window_plugin.la
171 if HAVE_XCB_KEYSYMS
172 libxcb_window_plugin_la_CFLAGS += -DHAVE_XCB_KEYSYMS
173 endif
174 if HAVE_XCB_XVIDEO
175 vout_LTLIBRARIES += libxcb_xv_plugin.la
176 endif
177 if HAVE_EGL
178 vout_LTLIBRARIES += libegl_x11_plugin.la
179 endif
180 if HAVE_GL
181 vout_LTLIBRARIES += libglx_plugin.la
182 endif
183 endif
184
185
186 ### Wayland ###
187 libwl_shm_plugin_la_SOURCES = video_output/wayland/shm.c
188 nodist_libwl_shm_plugin_la_SOURCES = \
189         video_output/wayland/viewporter-client-protocol.h \
190         video_output/wayland/viewporter-protocol.c
191 libwl_shm_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) \
192         -I$(builddir)/video_output/wayland
193 libwl_shm_plugin_la_CFLAGS = $(WAYLAND_CLIENT_CFLAGS)
194 libwl_shm_plugin_la_LIBADD = $(WAYLAND_CLIENT_LIBS)
195 CLEANFILES += $(nodist_libwl_shm_plugin_la_SOURCES)
196
197 video_output/wayland/viewporter-client-protocol.h: \
198                 $(WAYLAND_PROTOCOLS)/stable/viewporter/viewporter.xml
199         $(AM_V_GEN)$(WAYLAND_SCANNER) client-header $< $@
200
201 video_output/wayland/viewporter-protocol.c: \
202                 $(WAYLAND_PROTOCOLS)/stable/viewporter/viewporter.xml
203         $(AM_V_GEN)$(WAYLAND_SCANNER) code $< $@
204
205 libwl_shell_plugin_la_SOURCES = video_output/wayland/shell.c
206 libwl_shell_plugin_la_CFLAGS = $(WAYLAND_CLIENT_CFLAGS)
207 libwl_shell_plugin_la_LIBADD = $(WAYLAND_CLIENT_LIBS) $(LIBPTHREAD)
208
209 libxdg_shell_plugin_la_SOURCES = video_output/wayland/xdg-shell.c
210 nodist_libxdg_shell_plugin_la_SOURCES = \
211         video_output/wayland/xdg-shell-client-protocol.h \
212         video_output/wayland/xdg-shell-protocol.c \
213         video_output/wayland/server-decoration-client-protocol.h \
214         video_output/wayland/server-decoration-protocol.c
215 libxdg_shell_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) \
216         -I$(builddir)/video_output/wayland
217 libxdg_shell_plugin_la_CFLAGS = $(WAYLAND_CLIENT_CFLAGS)
218 libxdg_shell_plugin_la_LIBADD = $(WAYLAND_CLIENT_LIBS) $(LIBPTHREAD)
219
220 video_output/wayland/xdg-shell-client-protocol.h: \
221                 $(WAYLAND_PROTOCOLS)/unstable/xdg-shell/xdg-shell-unstable-v5.xml
222         $(AM_V_GEN)$(WAYLAND_SCANNER) client-header $< $@
223
224 video_output/wayland/xdg-shell-protocol.c: \
225                 $(WAYLAND_PROTOCOLS)/unstable/xdg-shell/xdg-shell-unstable-v5.xml
226         $(AM_V_GEN)$(WAYLAND_SCANNER) code $< $@
227
228 video_output/wayland/server-decoration-client-protocol.h: \
229                 video_output/wayland/server-decoration.xml
230 video_output/wayland/server-decoration-protocol.c: \
231                 video_output/wayland/server-decoration.xml
232 EXTRA_DIST += video_output/wayland/server-decoration.xml
233
234 libegl_wl_plugin_la_SOURCES = video_output/opengl/egl.c
235 libegl_wl_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) -DUSE_PLATFORM_WAYLAND=1
236 libegl_wl_plugin_la_CFLAGS = $(AM_CFLAGS) $(EGL_CFLAGS) $(WAYLAND_EGL_CFLAGS)
237 libegl_wl_plugin_la_LIBADD = $(EGL_LIBS) $(WAYLAND_EGL_LIBS)
238
239 if HAVE_WAYLAND
240 BUILT_SOURCES += $(nodist_libwl_shm_plugin_la_SOURCES)
241 vout_LTLIBRARIES += libwl_shm_plugin.la
242 vout_LTLIBRARIES += libwl_shell_plugin.la
243 BUILT_SOURCES += $(nodist_libxdg_shell_plugin_la_SOURCES)
244 vout_LTLIBRARIES += libxdg_shell_plugin.la
245 if HAVE_WAYLAND_EGL
246 if HAVE_EGL
247 vout_LTLIBRARIES += libegl_wl_plugin.la
248 endif
249 endif
250 endif
251
252
253 ### Win32 ###
254 libdirect3d9_plugin_la_SOURCES = video_output/win32/direct3d9.c \
255         video_output/win32/common.c video_output/win32/common.h \
256         video_output/win32/events.c video_output/win32/events.h \
257         video_output/win32/sensors.cpp \
258         video_output/win32/builtin_shaders.h \
259         video_output/win32/win32touch.c video_output/win32/win32touch.h
260 libdirect3d9_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) \
261         -DMODULE_NAME_IS_direct3d9
262 libdirect3d9_plugin_la_LIBADD = libchroma_copy.la libd3d9_common.la -lgdi32 $(LIBCOM) -luuid
263 libdirect3d9_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(voutdir)'
264 if HAVE_WIN32_DESKTOP
265 vout_LTLIBRARIES += $(LTLIBdirect3d9)
266 EXTRA_LTLIBRARIES += libdirect3d9_plugin.la
267 endif
268
269 libdirect3d11_plugin_la_SOURCES = video_output/win32/direct3d11.c \
270  video_output/win32/common.c video_output/win32/common.h
271 libdirect3d11_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) \
272  -DMODULE_NAME_IS_direct3d11
273 libdirect3d11_plugin_la_LIBADD = libchroma_copy.la libd3d11_common.la $(LIBCOM) -luuid
274 if !HAVE_WINSTORE
275 libdirect3d11_plugin_la_SOURCES += video_output/win32/events.c \
276  video_output/win32/events.h \
277  video_output/win32/sensors.cpp \
278  video_output/win32/win32touch.c video_output/win32/win32touch.h
279 libdirect3d11_plugin_la_LIBADD += -lgdi32
280 else
281 libdirect3d11_plugin_la_LIBADD += -ld3d11
282 libdirect3d11_plugin_la_LIBADD += -ld3dcompiler_47
283 endif
284 libdirect3d11_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(voutdir)'
285 vout_LTLIBRARIES += $(LTLIBdirect3d11)
286 EXTRA_LTLIBRARIES += libdirect3d11_plugin.la
287
288 libdirectdraw_plugin_la_SOURCES = video_output/win32/directdraw.c \
289         video_output/win32/common.c video_output/win32/common.h \
290         video_output/win32/events.c video_output/win32/events.h \
291         video_output/win32/sensors.cpp \
292         video_output/win32/win32touch.c video_output/win32/win32touch.h
293 libdirectdraw_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) \
294         -DMODULE_NAME_IS_directdraw
295 libdirectdraw_plugin_la_LIBADD = libchroma_copy.la -luser32 -lgdi32 $(LIBCOM) -luuid
296 libdirectdraw_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(voutdir)'
297 if HAVE_WIN32_DESKTOP
298 vout_LTLIBRARIES += $(LTLIBdirectdraw)
299 EXTRA_LTLIBRARIES += libdirectdraw_plugin.la
300 endif
301
302 libglwin32_plugin_la_SOURCES = $(OPENGL_COMMONSOURCES) \
303         video_output/win32/glwin32.c \
304         video_output/win32/common.c video_output/win32/common.h \
305         video_output/win32/events.c video_output/win32/events.h \
306         video_output/win32/sensors.cpp \
307         video_output/win32/win32touch.c video_output/win32/win32touch.h
308 libwgl_plugin_la_SOURCES = video_output/win32/wgl.c $(OPENGL_COMMONSOURCES)
309
310 libglwin32_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) \
311         -DMODULE_NAME_IS_glwin32
312
313 libglwin32_plugin_la_LIBADD = libchroma_copy.la -lopengl32 -lgdi32 $(LIBCOM) -luuid $(OPENGL_COMMONLIBS)
314 libwgl_plugin_la_LIBADD = -lopengl32 -lgdi32 $(OPENGL_COMMONLIBS)
315
316 libglwin32_plugin_la_CFLAGS = $(AM_CFLAGS) $(OPENGL_COMMONCLFAGS) -DHAVE_GL_CORE_SYMBOLS
317 libwgl_plugin_la_CFLAGS = $(AM_CFLAGS) $(OPENGL_COMMONCLFAGS)
318
319 libglwin32_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(voutdir)'
320 libwgl_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(voutdir)'
321
322 if HAVE_WIN32_DESKTOP
323 vout_LTLIBRARIES += $(LTLIBglwin32) $(LTLIBwgl)
324 EXTRA_LTLIBRARIES += libglwin32_plugin.la libwgl_plugin.la
325 endif
326
327 libwingdi_plugin_la_SOURCES = video_output/win32/wingdi.c \
328         video_output/win32/common.c video_output/win32/common.h \
329         video_output/win32/events.c video_output/win32/events.h \
330         video_output/win32/sensors.cpp \
331         video_output/win32/win32touch.c video_output/win32/win32touch.h
332 libwingdi_plugin_la_LIBADD = libchroma_copy.la -lgdi32 $(LIBCOM) -luuid
333 if HAVE_WIN32_DESKTOP
334 vout_LTLIBRARIES += libwingdi_plugin.la
335 endif
336
337 libwinhibit_plugin_la_SOURCES = video_output/win32/inhibit.c
338 if HAVE_WIN32_DESKTOP
339 vout_LTLIBRARIES += libwinhibit_plugin.la
340 endif
341
342 libegl_win32_plugin_la_SOURCES = video_output/opengl/egl.c
343 libegl_win32_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) -DUSE_PLATFORM_WIN32=1
344 libegl_win32_plugin_la_CFLAGS = $(AM_CFLAGS) $(EGL_CFLAGS)
345 libegl_win32_plugin_la_LIBADD = $(EGL_LIBS)
346 if HAVE_WIN32
347 if HAVE_EGL
348 vout_LTLIBRARIES += libegl_win32_plugin.la
349 endif
350 endif
351
352 libdrawable_plugin_la_SOURCES = video_output/drawable.c
353 if HAVE_WIN32
354 vout_LTLIBRARIES += libdrawable_plugin.la
355 endif
356
357 ### OS/2 ###
358 if HAVE_OS2
359 vout_LTLIBRARIES += libdrawable_plugin.la
360 endif
361
362 libkva_plugin_la_SOURCES = video_output/kva.c
363 libkva_plugin_la_LIBADD = $(KVA_LIBS)
364 if HAVE_KVA
365 vout_LTLIBRARIES += libkva_plugin.la
366 endif
367
368
369 ### Android ###
370
371 libegl_android_plugin_la_SOURCES = video_output/opengl/egl.c
372 libegl_android_plugin_la_CFLAGS = $(AM_CFLAGS) $(EGL_CFLAGS) -DUSE_PLATFORM_ANDROID=1
373 libegl_android_plugin_la_LIBADD = $(EGL_LIBS)
374
375 libandroid_window_plugin_la_SOURCES = video_output/android/window.c \
376         video_output/android/utils.c video_output/android/utils.h
377 libandroid_window_plugin_la_CFLAGS = $(AM_CFLAGS)
378 libandroid_window_plugin_la_LIBADD = $(LIBDL)
379
380 libandroid_display_plugin_la_SOURCES = video_output/android/display.c \
381         video_output/android/display.h \
382         video_output/android/utils.c video_output/android/utils.h
383 libandroid_display_plugin_la_CFLAGS = $(AM_CFLAGS)
384 libandroid_display_plugin_la_LIBADD = $(LIBDL)
385
386 libglconv_android_plugin_la_SOURCES = video_output/opengl/converter_android.c \
387         video_output/opengl/converter.h
388 libglconv_android_plugin_la_CFLAGS = $(AM_CFLAGS) -DUSE_OPENGL_ES2
389
390 if HAVE_ANDROID
391 vout_LTLIBRARIES += libandroid_window_plugin.la libandroid_display_plugin.la
392 if HAVE_EGL
393 vout_LTLIBRARIES += libegl_android_plugin.la libglconv_android_plugin.la
394 endif
395 endif
396
397
398 ### FrameBuffer ###
399
400 libfb_plugin_la_SOURCES = video_output/fb.c
401 libfb_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(voutdir)'
402 EXTRA_LTLIBRARIES += libfb_plugin.la
403 vout_LTLIBRARIES += $(LTLIBfb)
404
405
406 ### ASCII Art ###
407 libaa_plugin_la_SOURCES = video_output/aa.c
408 libaa_plugin_la_LIBADD = libevent_thread.la -laa
409 if !HAVE_WIN32
410 libaa_plugin_la_LIBADD += $(X_LIBS) $(X_PRE_LIBS) -lX11
411 endif
412 libaa_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(voutdir)'
413 EXTRA_LTLIBRARIES += libaa_plugin.la
414 vout_LTLIBRARIES += $(LTLIBaa)
415
416
417 ### Coloured ASCII art ###
418 libcaca_plugin_la_SOURCES = video_output/caca.c
419 libcaca_plugin_la_CFLAGS = $(AM_CFLAGS) $(CACA_CFLAGS)
420 libcaca_plugin_la_LIBADD = libevent_thread.la $(CACA_LIBS)
421 if !HAVE_WIN32
422 if !HAVE_DARWIN
423 libcaca_plugin_la_LIBADD += $(X_LIBS) $(X_PRE_LIBS) -lX11
424 endif
425 endif
426 libcaca_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(voutdir)'
427 EXTRA_LTLIBRARIES += libcaca_plugin.la
428 vout_LTLIBRARIES += $(LTLIBcaca)
429
430 ### Common ###
431
432 libflaschen_plugin_la_SOURCES = video_output/flaschen.c
433 libflaschen_plugin_la_LIBADD = $(SOCKET_LIBS)
434
435 libvdummy_plugin_la_SOURCES = video_output/vdummy.c
436 libvmem_plugin_la_SOURCES = video_output/vmem.c
437 libyuv_plugin_la_SOURCES = video_output/yuv.c
438
439 vout_LTLIBRARIES += \
440         libflaschen_plugin.la \
441         libvdummy_plugin.la \
442         libvmem_plugin.la \
443         libyuv_plugin.la
444
445 libevent_thread_la_SOURCES = \
446         video_output/event_thread.c video_output/event_thread.h
447 libevent_thread_la_LDFLAGS = -static
448 noinst_LTLIBRARIES += libevent_thread.la