]> git.sesse.net Git - vlc/blobdiff - modules/Makefile.am
Use var_Inherit* instead of var_CreateGet*.
[vlc] / modules / Makefile.am
index 9476872729dc1251d9922be6fe33f58fea5cdcfb..6a1703fb0bf4e0bf170a60a2cad6918b4629cee4 100644 (file)
@@ -26,10 +26,11 @@ EXTRA_SUBDIRS = \
        sse2 \
        3dnow \
        altivec \
+       arm_neon \
        $(NULL)
 
 SUBDIRS = $(BASE_SUBDIRS)
-DIST_SUBDIRS = $(BASE_SUBDIRS) $(EXTRA_SUBDIRS)
+DIST_SUBDIRS = $(BASE_SUBDIRS) $(EXTRA_SUBDIRS) .
 if ENABLE_SOUT
 SUBDIRS += access_output mux stream_out
 endif
@@ -48,6 +49,27 @@ 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