]> git.sesse.net Git - vlc/blob - modules/Makefile.am
codec: remove makefile recursion
[vlc] / modules / Makefile.am
1 noinst_LTLIBRARIES =
2 noinst_HEADERS =
3 BASE_SUBDIRS = \
4         access/rtp \
5         audio_filter \
6         audio_mixer \
7         audio_output \
8         control \
9         demux \
10         gui \
11         meta_engine \
12         misc \
13         notify \
14         packetizer \
15         services_discovery \
16         stream_filter \
17         text_renderer \
18         video_chroma \
19         video_filter \
20         video_output \
21         video_splitter \
22         visualization
23 EXTRA_SUBDIRS = \
24         access_output \
25         mux \
26         stream_out \
27         arm_neon \
28         hw/vdpau \
29         lua
30
31 SUBDIRS = . $(BASE_SUBDIRS)
32 DIST_SUBDIRS = . $(BASE_SUBDIRS) $(EXTRA_SUBDIRS)
33 if ENABLE_SOUT
34 SUBDIRS += access_output mux stream_out
35 endif
36 if HAVE_NEON
37 SUBDIRS += arm_neon
38 endif
39 if HAVE_VDPAU
40 SUBDIRS += hw/vdpau
41 endif
42 if BUILD_LUA
43 SUBDIRS += lua
44 endif
45
46 dist_noinst_SCRIPTS = genmf list.sh module.rc.in
47 dist_noinst_DATA = LIST
48
49 libvlc_pulse_la_SOURCES = vlcpulse.c vlcpulse.h
50 libvlc_pulse_la_CPPFLAGS = -DMODULE_STRING=\"pulse\"
51 libvlc_pulse_la_CFLAGS = $(AM_CFLAGS) $(PULSE_CFLAGS)
52 libvlc_pulse_la_LDFLAGS = -static
53 libvlc_pulse_la_LIBADD = $(PULSE_LIBS)
54 if HAVE_PULSE
55 noinst_LTLIBRARIES += libvlc_pulse.la
56 endif
57
58 include common.am
59 include access/Makefile.am
60 include codec/Makefile.am
61
62 if HAVE_WIN32
63 module.rc: $(top_builddir)/modules/module.rc.in $(top_builddir)/config.status
64         $(AM_V_GEN) cd "$(top_builddir)" && $(SHELL) ./config.status --file="modules/$@"
65 endif