]> git.sesse.net Git - vlc/blob - modules/Makefile.am
385942eb8f84005b7b26ab3120782f027464bc29
[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         stream_filter \
14         text_renderer \
15         video_chroma \
16         video_filter \
17         video_output \
18         video_splitter \
19         visualization
20 EXTRA_SUBDIRS = \
21         access_output \
22         mux \
23         stream_out \
24         arm_neon \
25         hw/vdpau \
26         lua
27
28 SUBDIRS = . $(BASE_SUBDIRS)
29 DIST_SUBDIRS = . $(BASE_SUBDIRS) $(EXTRA_SUBDIRS)
30 if ENABLE_SOUT
31 SUBDIRS += access_output mux stream_out
32 endif
33 if HAVE_NEON
34 SUBDIRS += arm_neon
35 endif
36 if HAVE_VDPAU
37 SUBDIRS += hw/vdpau
38 endif
39 if BUILD_LUA
40 SUBDIRS += lua
41 endif
42
43 dist_noinst_SCRIPTS = genmf list.sh module.rc.in
44 dist_noinst_DATA = MODULES_LIST
45
46 libvlc_pulse_la_SOURCES = vlcpulse.c vlcpulse.h
47 libvlc_pulse_la_CPPFLAGS = -DMODULE_STRING=\"pulse\"
48 libvlc_pulse_la_CFLAGS = $(AM_CFLAGS) $(PULSE_CFLAGS)
49 libvlc_pulse_la_LDFLAGS = -static
50 libvlc_pulse_la_LIBADD = $(PULSE_LIBS)
51 if HAVE_PULSE
52 noinst_LTLIBRARIES += libvlc_pulse.la
53 endif
54
55 include common.am
56 include access/Makefile.am
57 include audio_output/Makefile.am
58 include codec/Makefile.am
59 include demux/Makefile.am
60 include meta_engine/Makefile.am
61 include services_discovery/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