]> git.sesse.net Git - vlc/blob - modules/Makefile.am
Rename modules/LIST
[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 = MODULES_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 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