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