mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-10 00:35:42 +01:00
d12fe105e3
Fix build of alsa-utils package with a partially installed alsa-lib, e.g. without ramwidi or sequencer support. Signed-off-by: Takashi Iwai <tiwai@suse.de>
36 lines
679 B
Makefile
36 lines
679 B
Makefile
INCLUDES=-I$(top_srcdir)/include
|
|
|
|
SUBDIRS = include alsactl utils m4 po
|
|
if ALSAMIXER
|
|
SUBDIRS += alsamixer
|
|
endif
|
|
if HAVE_MIXER
|
|
SUBDIRS += amixer
|
|
endif
|
|
if HAVE_RAWMIDI
|
|
SUBDIRS += amidi
|
|
endif
|
|
if ALSACONF
|
|
SUBDIRS += alsaconf
|
|
endif
|
|
if HAVE_PCM
|
|
SUBDIRS += aplay iecset speaker-test
|
|
endif
|
|
if HAVE_SEQ
|
|
SUBDIRS += seq
|
|
endif
|
|
|
|
EXTRA_DIST= TODO gitcompile
|
|
AUTOMAKE_OPTIONS=foreign
|
|
ACLOCAL_AMFLAGS = -I m4
|
|
|
|
rpm: dist
|
|
$(MAKE) -C $@
|
|
|
|
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
|