Add --with-ctl-plugins configure option

Added --with-ctl-plugins configure option to specify the optinal
plugins to build.
This commit is contained in:
Takashi Iwai 2007-03-28 13:48:04 +02:00
parent c16111516f
commit 77b4d5f97a
3 changed files with 45 additions and 3 deletions

View file

@ -1,8 +1,13 @@
EXTRA_LTLIBRARIES = libcontrol.la
libcontrol_la_SOURCES = cards.c namehint.c hcontrol.c \
control.c control_hw.c control_shm.c \
control_ext.c setup.c control_symbols.c
control.c control_hw.c setup.c control_symbols.c
if BUILD_CTL_PLUGIN_SHM
libcontrol_la_SOURCES += control_shm.c
endif
if BUILD_CTL_PLUGIN_EXT
libcontrol_la_SOURCES += control_ext.c
endif
noinst_HEADERS = control_local.h

View file

@ -22,10 +22,11 @@
extern const char *_snd_module_control_hw;
extern const char *_snd_module_control_shm;
extern const char *_snd_module_control_ext;
static const char **snd_control_open_objects[] = {
&_snd_module_control_hw,
&_snd_module_control_shm
#include "ctl_symbols_list.c"
};
void *snd_control_open_symbols(void)