audio_filter: remove Makefile recursion
[vlc.git] / modules / Makefile.am
1 noinst_LTLIBRARIES =
2 noinst_HEADERS =
3 check_PROGRAMS =
4 EXTRA_DIST =
5
6 BASE_SUBDIRS = \
7         control \
8         gui \
9         video_filter \
10         visualization
11 EXTRA_SUBDIRS = \
12         access_output \
13         mux \
14         stream_out \
15         hw/mmal
16
17 SUBDIRS = . $(BASE_SUBDIRS)
18 DIST_SUBDIRS = . $(BASE_SUBDIRS) $(EXTRA_SUBDIRS)
19 if ENABLE_SOUT
20 SUBDIRS += access_output mux stream_out
21 endif
22 if HAVE_MMAL
23 SUBDIRS += hw/mmal
24 endif
25
26 TESTS =
27
28 dist_noinst_SCRIPTS = genmf list.sh module.rc.in
29 dist_noinst_DATA = MODULES_LIST
30 EXTRA_LTLIBRARIES =
31
32 include common.am
33 include access/Makefile.am
34 include access/rtp/Makefile.am
35 include arm_neon/Makefile.am
36 include audio_filter/Makefile.am
37 include audio_mixer/Makefile.am
38 include audio_output/Makefile.am
39 include codec/Makefile.am
40 include demux/Makefile.am
41 include hw/vdpau/Makefile.am
42 include logger/Makefile.am
43 include lua/Makefile.am
44 include meta_engine/Makefile.am
45 include misc/Makefile.am
46 include notify/Makefile.am
47 include packetizer/Makefile.am
48 include services_discovery/Makefile.am
49 include stream_filter/Makefile.am
50 include text_renderer/Makefile.am
51 include video_chroma/Makefile.am
52 include video_splitter/Makefile.am
53 include video_output/Makefile.am
54
55 BUILT_SOURCES += dummy.cpp
56
57 dummy.cpp:
58         touch dummy.cpp
59
60 if HAVE_WIN32
61 BUILT_SOURCES += module.rc.lo
62 CLEANFILES += module.rc
63 #noinst_DATA = module.rc.lo
64
65 module.rc: module.rc.in $(top_builddir)/config.status
66         $(AM_V_GEN) cd "$(top_builddir)" && $(SHELL) ./config.status --file="modules/$@"
67
68 module.rc.lo: module.rc
69         $(AM_V_GEN) $(LIBTOOL) --tag=RC --mode=compile $(WINDRES) \
70                 --include-dir $(top_srcdir)/share \
71                 --include-dir $(top_srcdir)/extras/package/win32 \
72                 -i $< -o $@
73         echo HELLO
74 endif
75
76 # Wayland
77 SUFFIXES += -client-protocol.h -protocol.c .xml
78
79 .xml-client-protocol.h:
80         $(AM_V_GEN)$(WAYLAND_SCANNER) client-header < "$^" > "$@.tmp"
81         $(AM_V_at)mv -f -- "$@.tmp" "$@"
82
83 .xml-protocol.c:
84         $(AM_V_GEN)$(WAYLAND_SCANNER) code < "$^" > "$@.tmp"
85         $(AM_V_at)mv -f -- "$@.tmp" "$@"