]> git.sesse.net Git - vlc/blob - modules/Makefile.am
video_output: 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         misc \
11         packetizer \
12         text_renderer \
13         video_filter \
14         visualization
15 EXTRA_SUBDIRS = \
16         access_output \
17         mux \
18         stream_out \
19         hw/vdpau \
20         hw/mmal
21
22 SUBDIRS = . $(BASE_SUBDIRS)
23 DIST_SUBDIRS = . $(BASE_SUBDIRS) $(EXTRA_SUBDIRS)
24 if ENABLE_SOUT
25 SUBDIRS += access_output mux stream_out
26 endif
27 if HAVE_VDPAU
28 SUBDIRS += hw/vdpau
29 endif
30 if HAVE_MMAL
31 SUBDIRS += hw/mmal
32 endif
33
34 TESTS =
35
36 dist_noinst_SCRIPTS = genmf list.sh module.rc.in
37 dist_noinst_DATA = MODULES_LIST
38 EXTRA_LTLIBRARIES =
39
40 include common.am
41 include access/Makefile.am
42 include access/rtp/Makefile.am
43 include arm_neon/Makefile.am
44 include audio_mixer/Makefile.am
45 include audio_output/Makefile.am
46 include codec/Makefile.am
47 include demux/Makefile.am
48 include lua/Makefile.am
49 include meta_engine/Makefile.am
50 include notify/Makefile.am
51 include services_discovery/Makefile.am
52 include stream_filter/Makefile.am
53 include video_chroma/Makefile.am
54 include video_splitter/Makefile.am
55 include video_output/Makefile.am
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" "$@"