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