X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2FMakefile.am;h=f05787149870e657fa88bcd6248498231de6cab8;hb=a0398a6d80b61da1d493827a77b455f9c9e7f45c;hp=1a2ad33fb36a9e4c966bd98dc9a93ff3f1447890;hpb=7690e538aa8ad75a872bd0235f528d2d8f54675f;p=vlc diff --git a/modules/Makefile.am b/modules/Makefile.am index 1a2ad33fb3..f057871498 100644 --- a/modules/Makefile.am +++ b/modules/Makefile.am @@ -1,31 +1,84 @@ +noinst_LTLIBRARIES = +noinst_HEADERS = +check_PROGRAMS = +EXTRA_DIST = + BASE_SUBDIRS = \ - access \ - access_filter \ audio_filter \ - audio_mixer \ - audio_output \ - codec \ control \ - demux \ gui \ - meta_engine \ - misc \ packetizer \ - services_discovery \ - video_chroma \ + text_renderer \ video_filter \ - video_output \ visualization EXTRA_SUBDIRS = \ access_output \ mux \ - stream_out + stream_out \ + hw/mmal -SUBDIRS = $(BASE_SUBDIRS) -DIST_SUBDIRS = $(BASE_SUBDIRS) $(EXTRA_SUBDIRS) +SUBDIRS = . $(BASE_SUBDIRS) +DIST_SUBDIRS = . $(BASE_SUBDIRS) $(EXTRA_SUBDIRS) if ENABLE_SOUT SUBDIRS += access_output mux stream_out endif +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/rtp/Makefile.am +include arm_neon/Makefile.am +include audio_mixer/Makefile.am +include audio_output/Makefile.am +include codec/Makefile.am +include demux/Makefile.am +include hw/vdpau/Makefile.am +include lua/Makefile.am +include meta_engine/Makefile.am +include misc/Makefile.am +include notify/Makefile.am +include services_discovery/Makefile.am +include stream_filter/Makefile.am +include video_chroma/Makefile.am +include video_splitter/Makefile.am +include video_output/Makefile.am + +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 $@ + echo HELLO +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" "$@" -dist_noinst_SCRIPTS = genmf list.sh -dist_noinst_DATA = LIST +.xml-protocol.c: + $(AM_V_GEN)$(WAYLAND_SCANNER) code < "$^" > "$@.tmp" + $(AM_V_at)mv -f -- "$@.tmp" "$@"