summaryrefslogtreecommitdiffstats
path: root/Makefile.am
blob: 0433bca55f0a5352cc598c51c2dfc31445ec26d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
if HAVE_JACK
JACKDIR = jack
endif
if HAVE_PULSE
PULSEDIR = pulse
endif
if HAVE_SAMPLERATE
SAMPLERATEDIR = rate
endif
if HAVE_AVCODEC
A52DIR = a52
LAVCRATEDIR = rate-lavc
endif
if HAVE_DBUS
MAEMODIR = maemo
endif
if HAVE_PPH
PPHDIR = pph
endif

SUBDIRS = oss mix $(PPHDIR) $(JACKDIR) $(PULSEDIR) $(SAMPLERATEDIR) $(A52DIR) $(LAVCRATEDIR) $(MAEMODIR) doc
EXTRA_DIST = hgcompile version COPYING.GPL
AUTOMAKE_OPTIONS = foreign

dist-hook:
	-chmod -R a+r $(distdir)
	@if ! test -z "$(AMTAR)"; then \
		$(AMTAR) --create --verbose --file=- $(distdir) | bzip2 -c -9 > $(distdir).tar.bz2 ; \
	else \
		$(TAR) --create --verbose --file=- $(distdir) | bzip2 -c -9 > $(distdir).tar.bz2 ; \
	fi