mkv: abort if read fails during seek
[vlc.git] / modules / Makefile.am
index 2c668ba..a4a9977 100644 (file)
@@ -1,70 +1,85 @@
-EXTRA_DIST = \
-       LIST \
-       access/Modules.am \
-       access/dvd/Modules.am \
-       access/dvdplay/Modules.am \
-       access/dvdread/Modules.am \
-       access/mms/Modules.am \
-       access/satellite/Modules.am \
-       access/v4l/Modules.am \
-       access/vcd/Modules.am \
-       access_output/Modules.am \
-       audio_filter/channel_mixer/Modules.am \
-       audio_filter/converter/Modules.am \
-       audio_filter/resampler/Modules.am \
-       audio_mixer/Modules.am \
-       audio_output/Modules.am \
-       codec/Modules.am \
-       codec/a52old/Modules.am \
-       codec/a52old/downmix/Modules.am \
-       codec/a52old/imdct/Modules.am \
-       codec/cinepak/Modules.am \
-       codec/faad/Modules.am \
-       codec/ffmpeg/Modules.am \
-       codec/ffmpeg/postprocessing/Modules.am \
-       codec/mpeg_video/Modules.am \
-       codec/mpeg_video/idct/Modules.am \
-       codec/mpeg_video/motion/Modules.am \
-       codec/spudec/Modules.am \
-       control/lirc/Modules.am \
-       control/rc/Modules.am \
-       demux/Modules.am \
-       demux/aac/Modules.am \
-       demux/avi/Modules.am \
-       demux/asf/Modules.am \
-       demux/mp4/Modules.am \
-       demux/mpeg/Modules.am \
-       demux/util/Modules.am \
-       demux/wav/Modules.am \
-       encoder/Modules.am \
-       encoder/ffmpeg/Modules.am \
-       gui/beos/Modules.am \
-       gui/familiar/Modules.am \
-       gui/gtk/Modules.am \
-       gui/kde/Modules.am \
-       gui/macosx/Modules.am \
-       gui/ncurses/Modules.am \
-       gui/qnx/Modules.am \
-       gui/qt/Modules.am \
-       gui/win32/Modules.am \
-       gui/wxwindows/Modules.am \
-       misc/Modules.am \
-       misc/dummy/Modules.am \
-       misc/logger/Modules.am \
-       misc/memcpy/Modules.am \
-       misc/network/Modules.am \
-       misc/testsuite/Modules.am \
-       mux/Modules.am \
-       mux/mpeg/Modules.am \
-       packetizer/Modules.am \
-       video_chroma/Modules.am \
-       video_filter/Modules.am \
-       video_filter/deinterlace/Modules.am \
-       video_output/Modules.am \
-       video_output/directx/Modules.am \
-       video_output/mga/Modules.am \
-       video_output/qte/Modules.am \
-       video_output/x11/Modules.am \
-       visualization/scope/Modules.am \
-       visualization/xosd/Modules.am
+noinst_LTLIBRARIES =
+pkglib_LTLIBRARIES =
+noinst_HEADERS =
+check_PROGRAMS =
+EXTRA_DIST =
 
+EXTRA_SUBDIRS = \
+       hw/mmal
+
+SUBDIRS = .
+DIST_SUBDIRS = . $(EXTRA_SUBDIRS)
+if HAVE_MMAL
+SUBDIRS += hw/mmal
+endif
+
+TESTS =
+
+dist_noinst_SCRIPTS = genmf list.sh module.rc.in
+dist_noinst_DATA = MODULES_LIST
+EXTRA_LTLIBRARIES =
+
+include common.am
+include access/Makefile.am
+include access/http/Makefile.am
+include access/rtp/Makefile.am
+include arm_neon/Makefile.am
+include audio_filter/Makefile.am
+include audio_mixer/Makefile.am
+include audio_output/Makefile.am
+include codec/Makefile.am
+include control/Makefile.am
+include demux/Makefile.am
+include gui/Makefile.am
+include hw/vdpau/Makefile.am
+include keystore/Makefile.am
+include logger/Makefile.am
+include lua/Makefile.am
+include meta_engine/Makefile.am
+include misc/Makefile.am
+include notify/Makefile.am
+include packetizer/Makefile.am
+include services_discovery/Makefile.am
+include stream_filter/Makefile.am
+include text_renderer/Makefile.am
+include video_chroma/Makefile.am
+include video_filter/Makefile.am
+include video_splitter/Makefile.am
+include video_output/Makefile.am
+include visualization/Makefile.am
+if ENABLE_SOUT
+include access_output/Makefile.am
+include mux/Makefile.am
+include stream_out/Makefile.am
+endif
+
+BUILT_SOURCES += dummy.cpp
+
+dummy.cpp:
+       touch dummy.cpp
+
+if HAVE_WIN32
+BUILT_SOURCES += module.rc.lo
+CLEANFILES += module.rc
+#noinst_DATA = module.rc.lo
+
+module.rc: module.rc.in $(top_builddir)/config.status
+       $(AM_V_GEN) cd "$(top_builddir)" && $(SHELL) ./config.status --file="modules/$@"
+
+module.rc.lo: module.rc
+       $(AM_V_GEN) $(LIBTOOL) --tag=RC --mode=compile $(WINDRES) \
+               --include-dir $(top_srcdir)/share \
+               --include-dir $(top_srcdir)/extras/package/win32 \
+               -i $< -o $@
+endif
+
+# Wayland
+SUFFIXES += -client-protocol.h -protocol.c .xml
+
+.xml-client-protocol.h:
+       $(AM_V_GEN)$(WAYLAND_SCANNER) client-header < "$^" > "$@.tmp"
+       $(AM_V_at)mv -f -- "$@.tmp" "$@"
+
+.xml-protocol.c:
+       $(AM_V_GEN)$(WAYLAND_SCANNER) code < "$^" > "$@.tmp"
+       $(AM_V_at)mv -f -- "$@.tmp" "$@"