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