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

8
EXTRA_SUBDIRS = \
9
	hw/mmal
10

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

17 18
TESTS =

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

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

BUILT_SOURCES += dummy.cpp

dummy.cpp:
	touch dummy.cpp
66

67
if HAVE_WIN32
68 69 70 71 72
BUILT_SOURCES += module.rc.lo
CLEANFILES += module.rc
#noinst_DATA = module.rc.lo

module.rc: module.rc.in $(top_builddir)/config.status
73
	$(AM_V_GEN) cd "$(top_builddir)" && $(SHELL) ./config.status --file="modules/$@"
74 75 76 77 78 79

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 $@
80
endif
81 82 83 84 85 86 87 88 89 90 91

# 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" "$@"