mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2026-02-05 04:06:34 -05:00
Add --enable-* and --with-pcm-plugins configure options for partial builds. User can choose the core components (pcm, mixer, rawmidi, hwdep, seq, instr) via --enable-xxx or --disable-xxx option. As default, all components are enabled. The PCM plugins to build can be selected via --with-pcm-plugins option. For example, to build only rate and linear plugin, pass --with-pcm-plugins=rate,linear Passing "all" will select all plugins (it's the default value). The plug plugin will select linear and copy plugins automatically. The other auto conversions of plug plugin are enabled only when the corresponding plugin is selected.
81 lines
1.7 KiB
Makefile
81 lines
1.7 KiB
Makefile
EXTRA_DIST=Versions
|
|
COMPATNUM=@LIBTOOL_VERSION_INFO@
|
|
|
|
if VERSIONED_SYMBOLS
|
|
VSYMS = -Wl,--version-script=$(srcdir)/Versions
|
|
else
|
|
VSYMS =
|
|
endif
|
|
|
|
lib_LTLIBRARIES = libasound.la
|
|
libasound_la_SOURCES = conf.c confmisc.c input.c output.c async.c error.c dlmisc.c socket.c shmarea.c userfile.c names.c
|
|
|
|
SUBDIRS=control
|
|
libasound_la_LIBADD = control/libcontrol.la
|
|
if BUILD_MIXER
|
|
SUBDIRS += mixer
|
|
libasound_la_LIBADD += mixer/libmixer.la
|
|
endif
|
|
if BUILD_PCM
|
|
SUBDIRS += pcm timer
|
|
libasound_la_LIBADD += pcm/libpcm.la timer/libtimer.la
|
|
endif
|
|
if BUILD_RAWMIDI
|
|
SUBDIRS += rawmidi
|
|
libasound_la_LIBADD += rawmidi/librawmidi.la
|
|
endif
|
|
if BUILD_HWDEP
|
|
SUBDIRS += hwdep
|
|
libasound_la_LIBADD += hwdep/libhwdep.la
|
|
endif
|
|
if BUILD_SEQ
|
|
SUBDIRS += seq
|
|
libasound_la_LIBADD += seq/libseq.la
|
|
endif
|
|
if BUILD_INSTR
|
|
SUBDIRS += instr
|
|
libasound_la_LIBADD += instr/libinstr.la
|
|
endif
|
|
SUBDIRS += compat conf alisp
|
|
libasound_la_LIBADD += compat/libcompat.la alisp/libalisp.la -lm -ldl -lpthread
|
|
|
|
libasound_la_LDFLAGS = -version-info $(COMPATNUM)
|
|
AM_LDFLAGS = $(VSYMS)
|
|
|
|
control/libcontrol.la:
|
|
$(MAKE) -C control libcontrol.la
|
|
|
|
mixer/libmixer.la:
|
|
$(MAKE) -C mixer libmixer.la
|
|
|
|
ordinary_mixer/libordinarymixer.la:
|
|
$(MAKE) -C ordinary_mixer libordinarymixer.la
|
|
|
|
pcm/libpcm.la:
|
|
$(MAKE) -C pcm libpcm.la
|
|
|
|
ordinary_pcm/libordinarypcm.la:
|
|
$(MAKE) -C ordinary_pcm libordinarypcm.la
|
|
|
|
rawmidi/librawmidi.la:
|
|
$(MAKE) -C rawmidi librawmidi.la
|
|
|
|
timer/libtimer.la:
|
|
$(MAKE) -C timer libtimer.la
|
|
|
|
hwdep/libhwdep.la:
|
|
$(MAKE) -C hwdep libhwdep.la
|
|
|
|
seq/libseq.la:
|
|
$(MAKE) -C seq libseq.la
|
|
|
|
instr/libinstr.la:
|
|
$(MAKE) -C instr libinstr.la
|
|
|
|
compat/libcompat.la:
|
|
$(MAKE) -C compat libcompat.la
|
|
|
|
alisp/libalisp.la:
|
|
$(MAKE) -C alisp libalisp.la
|
|
|
|
INCLUDES=-I$(top_srcdir)/include
|