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