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 34if NHLT 35SUBDIRS += nhlt 36endif 37 38EXTRA_DIST= README.md TODO gitcompile 39AUTOMAKE_OPTIONS=foreign 40ACLOCAL_AMFLAGS = -I m4 41 42rpm: dist 43 $(MAKE) -C $@ 44 45dist-hook: 46 -chmod -R a+r $(distdir) 47 @if ! test -z "$(AMTAR)"; then \ 48 $(AMTAR) --create --verbose --file=- $(distdir) | bzip2 -c -9 > $(distdir).tar.bz2 ; \ 49 else \ 50 $(TAR) --create --verbose --file=- $(distdir) | bzip2 -c -9 > $(distdir).tar.bz2 ; \ 51 fi 52 53install-data-hook: 54 $(MKDIR_P) -m 0755 $(DESTDIR)$(ASOUND_STATE_DIR) 55 56DISTCHECK_CONFIGURE_FLAGS = \ 57 --with-systemdsystemunitdir=$$dc_install_base/$(systemdsystemunitdir) 58