1AM_CPPFLAGS=-I$(top_srcdir)/include 2 3SUBDIRS = include alsactl utils m4 po alsa-info 4if ALSAMIXER 5SUBDIRS += alsamixer 6endif 7if HAVE_MIXER 8SUBDIRS += amixer 9endif 10if HAVE_RAWMIDI 11SUBDIRS += amidi 12endif 13if ALSACONF 14SUBDIRS += alsaconf 15endif 16if HAVE_PCM 17SUBDIRS += aplay iecset speaker-test axfer 18if ALSALOOP 19SUBDIRS += alsaloop 20endif 21if BAT 22SUBDIRS += bat 23endif 24endif 25if HAVE_SEQ 26SUBDIRS += seq 27endif 28if HAVE_UCM 29SUBDIRS += alsaucm 30endif 31if HAVE_TOPOLOGY 32SUBDIRS += topology 33endif 34 35EXTRA_DIST= README.md TODO gitcompile 36AUTOMAKE_OPTIONS=foreign 37ACLOCAL_AMFLAGS = -I m4 38 39rpm: dist 40 $(MAKE) -C $@ 41 42dist-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 50install-data-hook: 51 $(MKDIR_P) -m 0755 $(DESTDIR)$(ASOUND_STATE_DIR) 52 53DISTCHECK_CONFIGURE_FLAGS = \ 54 --with-systemdsystemunitdir=$$dc_install_base/$(systemdsystemunitdir) 55