]> git.sesse.net Git - vlc/blob - modules/Makefile.am
Use var_InheritString for --decklink-video-connection.
[vlc] / modules / Makefile.am
1 NULL =
2 BASE_SUBDIRS = \
3         access \
4         audio_filter \
5         audio_mixer \
6         audio_output \
7         codec \
8         control \
9         demux \
10         gui \
11         meta_engine \
12         misc \
13         packetizer \
14         services_discovery \
15         stream_filter \
16         video_chroma \
17         video_filter \
18         video_output \
19         visualization
20 EXTRA_SUBDIRS = \
21         access_output \
22         mux \
23         stream_out \
24         mmx \
25         mmxext \
26         sse2 \
27         3dnow \
28         altivec \
29         arm_neon \
30         $(NULL)
31
32 SUBDIRS = $(BASE_SUBDIRS)
33 DIST_SUBDIRS = $(BASE_SUBDIRS) $(EXTRA_SUBDIRS) .
34 if ENABLE_SOUT
35 SUBDIRS += access_output mux stream_out
36 endif
37 if HAVE_MMX
38 SUBDIRS += mmx
39 endif
40 if HAVE_MMXEXT
41 SUBDIRS += mmxext
42 endif
43 if HAVE_SSE2
44 SUBDIRS += sse2
45 endif
46 if HAVE_3DNOW
47 SUBDIRS += 3dnow
48 endif
49 if HAVE_ALTIVEC
50 SUBDIRS += altivec
51 endif
52 if HAVE_ARM_NEON
53 SUBDIRS += arm_neon
54 endif
55 SUBDIRS += .
56
57 dist_noinst_SCRIPTS = genmf list.sh
58 dist_noinst_DATA = LIST
59 MOSTLYCLEANFILES = plugins-*-*.dat
60
61 .PHONY: stamp-cache
62
63 stamp-cache:
64         $(AM_V_GEN)if test "$(build)" = "$(host)"; then \
65                 ../bin/vlc-cache-gen$(EXEEXT) . ; \
66         else \
67                 echo "Cross-compilation: cache generation skipped!" ; \
68         fi
69
70 install-exec-hook:
71         if test -z "$(DESTDIR)" -a "$(build)" = "$(host)"; then \
72                 ../bin/vlc-cache-gen$(EXEEXT) "$(vlclibdir)/plugins" ; \
73         else \
74                 echo "Staged installation: cache generation skipped!" ; \
75         fi