mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
configure.ac: build extra mixer modules conditionally
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
c051036e17
commit
fab28ba1b1
4 changed files with 56 additions and 14 deletions
|
|
@ -1,4 +1,3 @@
|
|||
if BUILD_PYTHON
|
||||
alsaplugindir = @ALSA_PLUGIN_DIR@
|
||||
pkglibdir = $(alsaplugindir)/smixer
|
||||
|
||||
|
|
@ -6,11 +5,17 @@ AM_CFLAGS = -g -O2 -W -Wall
|
|||
|
||||
AM_CPPFLAGS=-I$(top_srcdir)/include
|
||||
|
||||
pkglib_LTLIBRARIES = smixer-sbase.la \
|
||||
smixer-ac97.la \
|
||||
smixer-hda.la
|
||||
pkglib_LTLIBRARIES =
|
||||
|
||||
if BUILD_MIXER_MODULES
|
||||
pkglib_LTLIBRARIES += smixer-sbase.la \
|
||||
smixer-ac97.la \
|
||||
smixer-hda.la
|
||||
endif
|
||||
|
||||
if BUILD_MIXER_PYMODULES
|
||||
pkglib_LTLIBRARIES += smixer-python.la
|
||||
endif
|
||||
|
||||
noinst_HEADERS = sbase.h
|
||||
|
||||
|
|
@ -30,4 +35,3 @@ smixer_python_la_SOURCES = python.c
|
|||
smixer_python_la_LDFLAGS = -module -avoid-version $(LDFLAGS_NOUNDEFINED)
|
||||
smixer_python_la_CFLAGS = $(PYTHON_INCLUDES)
|
||||
smixer_python_la_LIBADD = ../../../src/libasound.la $(PYTHON_LIBS)
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue