Makefile.am 1.28 KB
Newer Older
1
NULL =
2
BASE_SUBDIRS = \
3
4
5
6
7
8
9
10
11
12
	access \
	audio_filter \
	audio_mixer \
	audio_output \
	codec \
	control \
	demux \
	gui \
	meta_engine \
	misc \
jetru's avatar
jetru committed
13
	media_library \
14
15
	packetizer \
	services_discovery \
16
	stream_filter \
17
18
19
20
	video_chroma \
	video_filter \
	video_output \
	visualization
21
EXTRA_SUBDIRS = \
22
	access_output \
23
	mux \
24
25
26
	stream_out \
	mmx \
	mmxext \
27
	sse2 \
28
	3dnow \
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
29
	altivec \
30
	arm_neon \
31
	lua \
32
	$(NULL)
33
34

SUBDIRS = $(BASE_SUBDIRS)
35
DIST_SUBDIRS = $(BASE_SUBDIRS) $(EXTRA_SUBDIRS) .
36
if ENABLE_SOUT
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
37
SUBDIRS += access_output mux stream_out
38
endif
39
40
41
42
43
44
if HAVE_MMX
SUBDIRS += mmx
endif
if HAVE_MMXEXT
SUBDIRS += mmxext
endif
45
46
47
if HAVE_SSE2
SUBDIRS += sse2
endif
48
49
50
if HAVE_3DNOW
SUBDIRS += 3dnow
endif
51
52
53
if HAVE_ALTIVEC
SUBDIRS += altivec
endif
54
55
56
if HAVE_ARM_NEON
SUBDIRS += arm_neon
endif
57
58
59
if BUILD_LUA
SUBDIRS += lua
endif
60
SUBDIRS += .
61

62
63
dist_noinst_SCRIPTS = genmf list.sh
dist_noinst_DATA = LIST
Rafaël Carré's avatar
Rafaël Carré committed
64
MOSTLYCLEANFILES = plugins-*-*.dat
65
66
67
68
69
70
71
72
73
74
75

.PHONY: stamp-cache

stamp-cache:
	$(AM_V_GEN)if test "$(build)" = "$(host)"; then \
		../bin/vlc-cache-gen$(EXEEXT) . ; \
	else \
		echo "Cross-compilation: cache generation skipped!" ; \
	fi

install-exec-hook:
76
	if test -z "$(DESTDIR)" -a "$(build)" = "$(host)"; then \
77
		../bin/vlc-cache-gen$(EXEEXT) "$(vlclibdir)/plugins" ; \
78
79
80
	else \
		echo "Staged installation: cache generation skipped!" ; \
	fi