]> git.sesse.net Git - vlc/blob - modules/Makefile.am
Revert "audio_filter: remove Makefile recursion"
[vlc] / modules / Makefile.am
1 noinst_LTLIBRARIES =
2 noinst_HEADERS =
3 check_PROGRAMS =
4 EXTRA_DIST =
5
6 BASE_SUBDIRS = \
7         audio_filter \
8         control \
9         gui \
10         video_filter \
11         visualization
12 EXTRA_SUBDIRS = \
13         access_output \
14         mux \
15         stream_out \
16         hw/mmal
17
18 SUBDIRS = . $(BASE_SUBDIRS)
19 DIST_SUBDIRS = . $(BASE_SUBDIRS) $(EXTRA_SUBDIRS)
20 if ENABLE_SOUT
21 SUBDIRS += access_output mux stream_out
22 endif
23 if HAVE_MMAL
24 SUBDIRS += hw/mmal
25 endif
26
27 TESTS =
28
29 dist_noinst_SCRIPTS = genmf list.sh module.rc.in
30 dist_noinst_DATA = MODULES_LIST
31 EXTRA_LTLIBRARIES =
32
33 include common.am
34 include access/Makefile.am
35 include access/rtp/Makefile.am
36 include arm_neon/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" "$@"