1alsaplugindir = @ALSA_PLUGIN_DIR@ 2pkglibdir = $(alsaplugindir)/smixer 3 4AM_CFLAGS = -g -O2 -W -Wall 5 6AM_CPPFLAGS=-I$(top_srcdir)/include 7 8pkglib_LTLIBRARIES = 9 10if BUILD_MIXER_MODULES 11pkglib_LTLIBRARIES += smixer-sbase.la \ 12 smixer-ac97.la \ 13 smixer-hda.la 14endif 15 16if BUILD_MIXER_PYMODULES 17pkglib_LTLIBRARIES += smixer-python.la 18endif 19 20noinst_HEADERS = sbase.h 21 22smixer_sbase_la_SOURCES = sbase.c 23smixer_sbase_la_LDFLAGS = -module -avoid-version $(LDFLAGS_NOUNDEFINED) 24smixer_sbase_la_LIBADD = ../../../src/libasound.la 25 26smixer_ac97_la_SOURCES = ac97.c sbasedl.c 27smixer_ac97_la_LDFLAGS = -module -avoid-version $(LDFLAGS_NOUNDEFINED) 28smixer_ac97_la_LIBADD = ../../../src/libasound.la -ldl 29 30smixer_hda_la_SOURCES = hda.c sbasedl.c 31smixer_hda_la_LDFLAGS = -module -avoid-version $(LDFLAGS_NOUNDEFINED) 32smixer_hda_la_LIBADD = ../../../src/libasound.la -ldl 33 34smixer_python_la_SOURCES = python.c 35smixer_python_la_LDFLAGS = -module -avoid-version $(LDFLAGS_NOUNDEFINED) 36smixer_python_la_CFLAGS = $(PYTHON_INCLUDES) 37smixer_python_la_LIBADD = ../../../src/libasound.la $(PYTHON_LIBS) 38