X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2FMakefile.am;h=6a1703fb0bf4e0bf170a60a2cad6918b4629cee4;hb=c60652e38ac6afd74bd8225e9dae5406f13aaa4f;hp=42891884474c908c5e0fa799caab2bc647451a82;hpb=9f0dae38aedb4976a4e61cfd7b53975236702cf2;p=vlc diff --git a/modules/Makefile.am b/modules/Makefile.am index 4289188447..6a1703fb0b 100644 --- a/modules/Makefile.am +++ b/modules/Makefile.am @@ -1,7 +1,6 @@ -SUBDIRS = \ +NULL = +BASE_SUBDIRS = \ access \ - access_filter \ - access_output \ audio_filter \ audio_mixer \ audio_output \ @@ -13,18 +12,64 @@ SUBDIRS = \ misc \ packetizer \ services_discovery \ + stream_filter \ video_chroma \ video_filter \ video_output \ visualization EXTRA_SUBDIRS = \ + access_output \ mux \ - stream_out + stream_out \ + mmx \ + mmxext \ + sse2 \ + 3dnow \ + altivec \ + arm_neon \ + $(NULL) + +SUBDIRS = $(BASE_SUBDIRS) +DIST_SUBDIRS = $(BASE_SUBDIRS) $(EXTRA_SUBDIRS) . if ENABLE_SOUT -SUBDIRS += mux stream_out +SUBDIRS += access_output mux stream_out endif - -DIST_SUBDIRS = $(SUBDIRS) $(EXTRA_SUBDIRS) +if HAVE_MMX +SUBDIRS += mmx +endif +if HAVE_MMXEXT +SUBDIRS += mmxext +endif +if HAVE_SSE2 +SUBDIRS += sse2 +endif +if HAVE_3DNOW +SUBDIRS += 3dnow +endif +if HAVE_ALTIVEC +SUBDIRS += altivec +endif +if HAVE_ARM_NEON +SUBDIRS += arm_neon +endif +SUBDIRS += . dist_noinst_SCRIPTS = genmf list.sh dist_noinst_DATA = LIST +MOSTLYCLEANFILES = plugins-*-*.dat + +.PHONY: stamp-cache + +stamp-cache: + $(AM_V_GEN)if test "$(build)" = "$(host)"; then \ + ../bin/vlc-cache-gen$(EXEEXT) . ; \ + else \ + echo "Cross-compilation: cache generation skipped!" ; \ + fi + +install-exec-hook: + if test -z "$(DESTDIR)" -a "$(build)" = "$(host)"; then \ + ../bin/vlc-cache-gen$(EXEEXT) "$(vlclibdir)/plugins" ; \ + else \ + echo "Staged installation: cache generation skipped!" ; \ + fi