Makefile.am 1.33 KB
Newer Older
1
noinst_LTLIBRARIES =
2
noinst_HEADERS =
3

4
BASE_SUBDIRS = \
5
	access/rtp \
6 7 8 9 10
	audio_filter \
	audio_mixer \
	control \
	gui \
	misc \
11
	notify \
12
	packetizer \
13
	stream_filter \
14
	text_renderer \
15 16 17
	video_chroma \
	video_filter \
	video_output \
18
	video_splitter \
19
	visualization
20
EXTRA_SUBDIRS = \
21
	access_output \
22
	mux \
23
	stream_out \
24
	hw/vdpau \
25
	lua
26

27 28
SUBDIRS = . $(BASE_SUBDIRS)
DIST_SUBDIRS = . $(BASE_SUBDIRS) $(EXTRA_SUBDIRS)
29
if ENABLE_SOUT
30
SUBDIRS += access_output mux stream_out
31
endif
32 33 34
if HAVE_VDPAU
SUBDIRS += hw/vdpau
endif
35 36 37
if BUILD_LUA
SUBDIRS += lua
endif
38

39
dist_noinst_SCRIPTS = genmf list.sh module.rc.in
Rafaël Carré's avatar
Rafaël Carré committed
40
dist_noinst_DATA = MODULES_LIST
41

42 43
include common.am
include access/Makefile.am
44
include arm_neon/Makefile.am
45
include audio_output/Makefile.am
46
include codec/Makefile.am
47
include demux/Makefile.am
48
include meta_engine/Makefile.am
49
include services_discovery/Makefile.am
50 51 52 53 54

BUILT_SOURCES += dummy.cpp

dummy.cpp:
	touch dummy.cpp
55

56
if HAVE_WIN32
57 58 59 60 61
BUILT_SOURCES += module.rc.lo
CLEANFILES += module.rc
#noinst_DATA = module.rc.lo

module.rc: module.rc.in $(top_builddir)/config.status
62
	$(AM_V_GEN) cd "$(top_builddir)" && $(SHELL) ./config.status --file="modules/$@"
63 64 65 66 67 68 69

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 $@
	echo HELLO
70
endif