add packaging
[platform/upstream/alsa-plugins.git] / Makefile.am
1 SUBDIRS = oss mix usb_stream arcam-av doc
2 if HAVE_JACK
3 SUBDIRS += jack
4 endif
5 if HAVE_PULSE
6 SUBDIRS += pulse
7 endif
8 if HAVE_SAMPLERATE
9 SUBDIRS += rate
10 endif
11 if HAVE_AVCODEC
12 SUBDIRS += a52 rate-lavc
13 endif
14 if HAVE_MAEMO_PLUGIN
15 SUBDIRS += maemo
16 endif
17 if HAVE_PPH
18 SUBDIRS += pph
19 endif
20 if HAVE_SPEEXDSP
21 SUBDIRS += speex
22 endif
23
24 EXTRA_DIST = gitcompile version COPYING.GPL m4/attributes.m4
25 AUTOMAKE_OPTIONS = foreign
26 ACLOCAL_AMFLAGS = -I m4
27
28 dist-hook:
29         -chmod -R a+r $(distdir)
30         @if ! test -z "$(AMTAR)"; then \
31                 $(AMTAR) --create --verbose --file=- $(distdir) | bzip2 -c -9 > $(distdir).tar.bz2 ; \
32         else \
33                 $(TAR) --create --verbose --file=- $(distdir) | bzip2 -c -9 > $(distdir).tar.bz2 ; \
34         fi