alsa-utils/bat/Makefile.am
Lu, Han f51cb7212a alsabat: add tinyalsa support
Use "configure --enable-alsabat-backend-tiny" for alsabat to use
tinyalsa as backend lib. On a system that has both ALSA and tinyalsa
installed, alsabat will use ALSA library by default.
The intention is for alsabat to run on tinyalsa platforms such as
Android or some Internet of Things(IoT) devices.

Signed-off-by: Lu, Han <han.lu@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2016-03-23 17:51:22 +01:00

33 lines
543 B
Makefile

bin_PROGRAMS = alsabat
man_MANS = alsabat.1
EXTRA_DIST = alsabat.1 alsabat-test.sh
sbin_SCRIPTS = alsabat-test.sh
alsabat_SOURCES = \
bat.c \
common.c \
signal.c \
convert.c
noinst_HEADERS = \
common.h \
bat-signal.h \
convert.h
if HAVE_LIBFFTW3
alsabat_SOURCES += analyze.c
noinst_HEADERS += analyze.h
endif
if HAVE_LIBTINYALSA
alsabat_SOURCES += tinyalsa.c
noinst_HEADERS += tinyalsa.h
else
alsabat_SOURCES += alsa.c
noinst_HEADERS += alsa.h
endif
AM_CPPFLAGS = \
-Wall -I$(top_srcdir)/include
alsabat_LDADD = @FFTW_LIB@