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