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