Makefile.am 2.05 KB
Newer Older
1
noinst_LTLIBRARIES =
2
pkglib_LTLIBRARIES =
3
noinst_HEADERS =
4
check_PROGRAMS =
5
EXTRA_DIST =
6

7
EXTRA_SUBDIRS = \
8
	hw/mmal
9

10 11
SUBDIRS = .
DIST_SUBDIRS = . $(EXTRA_SUBDIRS)
12 13 14
if HAVE_MMAL
SUBDIRS += hw/mmal
endif
15

16 17
TESTS =

18
dist_noinst_SCRIPTS = genmf list.sh module.rc.in
Rafaël Carré's avatar
Rafaël Carré committed
19
dist_noinst_DATA = MODULES_LIST
20
EXTRA_LTLIBRARIES =
21

22 23
include common.am
include access/Makefile.am
24
include access/http/Makefile.am
25
include access/rtp/Makefile.am
26
include arm_neon/Makefile.am
27
include audio_filter/Makefile.am
28
include audio_mixer/Makefile.am
29
include audio_output/Makefile.am
30
include codec/Makefile.am
31
include control/Makefile.am
32
include demux/Makefile.am
33
include gui/Makefile.am
34
include hw/vdpau/Makefile.am
35
include keystore/Makefile.am
36
include logger/Makefile.am
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
37
include lua/Makefile.am
38
include meta_engine/Makefile.am
39
include misc/Makefile.am
40
include notify/Makefile.am
41
include packetizer/Makefile.am
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
42
include services_discovery/Makefile.am
43
include spu/Makefile.am
44
include stream_filter/Makefile.am
45
include stream_extractor/Makefile.am
46
include text_renderer/Makefile.am
47
include video_chroma/Makefile.am
48
include video_filter/Makefile.am
49
include video_splitter/Makefile.am
50
include video_output/Makefile.am
51
include visualization/Makefile.am
52
if ENABLE_SOUT
53
include access_output/Makefile.am
54
include mux/Makefile.am
55
include stream_out/Makefile.am
56
endif
57 58 59 60 61

BUILT_SOURCES += dummy.cpp

dummy.cpp:
	touch dummy.cpp
62

63
if HAVE_WIN32
64 65 66 67 68
BUILT_SOURCES += module.rc.lo
CLEANFILES += module.rc
#noinst_DATA = module.rc.lo

module.rc: module.rc.in $(top_builddir)/config.status
69
	$(AM_V_GEN) cd "$(top_builddir)" && $(SHELL) ./config.status --file="modules/$@"
70 71 72 73 74 75

module.rc.lo: module.rc
	$(AM_V_GEN) $(LIBTOOL) --tag=RC --mode=compile $(WINDRES) \
		--include-dir $(top_srcdir)/share \
		--include-dir $(top_srcdir)/extras/package/win32 \
		-i $< -o $@
76
endif
77 78 79 80 81 82 83 84 85 86 87

# Wayland
SUFFIXES += -client-protocol.h -protocol.c .xml

.xml-client-protocol.h:
	$(AM_V_GEN)$(WAYLAND_SCANNER) client-header < "$^" > "$@.tmp"
	$(AM_V_at)mv -f -- "$@.tmp" "$@"

.xml-protocol.c:
	$(AM_V_GEN)$(WAYLAND_SCANNER) code < "$^" > "$@.tmp"
	$(AM_V_at)mv -f -- "$@.tmp" "$@"