mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04: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.
29 lines
665 B
Makefile
29 lines
665 B
Makefile
SUBDIRS=doc include src modules
|
|
if BUILD_PCM_PLUGIN_SHM
|
|
SUBDIRS += aserver
|
|
endif
|
|
if BUILD_MIXER
|
|
SUBDIRS += alsalisp
|
|
endif
|
|
SUBDIRS += test utils
|
|
EXTRA_DIST=ChangeLog INSTALL TODO NOTES configure cvscompile libtool depcomp version MEMORY-LEAK
|
|
AUTOMAKE_OPTIONS=foreign
|
|
|
|
INCLUDES=-I$(top_srcdir)/include
|
|
|
|
rpm: dist
|
|
$(MAKE) -C utils rpm
|
|
|
|
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
|
|
|
|
doc-dummy:
|
|
|
|
doc: doc-dummy
|
|
$(MAKE) -C include all
|
|
$(MAKE) -C doc doc
|