OSDN Git Service

axfer: add text for compatibility loss of sw parameter in libasound backend
[android-x86/external-alsa-utils.git] / Makefile.am
1 AM_CPPFLAGS=-I$(top_srcdir)/include
2
3 SUBDIRS = include alsactl utils m4 po alsa-info
4 if ALSAMIXER
5 SUBDIRS += alsamixer
6 endif
7 if HAVE_MIXER
8 SUBDIRS += amixer
9 endif
10 if HAVE_RAWMIDI
11 SUBDIRS += amidi
12 endif
13 if ALSACONF
14 SUBDIRS += alsaconf
15 endif
16 if HAVE_PCM
17 SUBDIRS += aplay iecset speaker-test axfer
18 if ALSALOOP
19 SUBDIRS += alsaloop
20 endif
21 if BAT
22 SUBDIRS += bat
23 endif
24 endif
25 if HAVE_SEQ
26 SUBDIRS += seq
27 endif
28 if HAVE_UCM
29 SUBDIRS += alsaucm
30 endif
31 if HAVE_TOPOLOGY
32 SUBDIRS += topology
33 endif
34
35 EXTRA_DIST= TODO gitcompile
36 AUTOMAKE_OPTIONS=foreign
37 ACLOCAL_AMFLAGS = -I m4
38
39 rpm: dist
40         $(MAKE) -C $@
41
42 dist-hook:
43         -chmod -R a+r $(distdir)
44         @if ! test -z "$(AMTAR)"; then \
45                 $(AMTAR) --create --verbose --file=- $(distdir) | bzip2 -c -9 > $(distdir).tar.bz2 ; \
46         else \
47                 $(TAR) --create --verbose --file=- $(distdir) | bzip2 -c -9 > $(distdir).tar.bz2 ; \
48         fi
49
50 install-data-hook:
51         $(MKDIR_P) -m 0755 $(DESTDIR)$(ASOUND_STATE_DIR)
52
53 DISTCHECK_CONFIGURE_FLAGS = \
54         --with-systemdsystemunitdir=$$dc_install_base/$(systemdsystemunitdir)