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

9
EXTRA_SUBDIRS = \
10
	hw/mmal
11

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

18 19
TESTS =

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

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

BUILT_SOURCES += dummy.cpp

dummy.cpp:
	touch dummy.cpp
67

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

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

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

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