summaryrefslogtreecommitdiffstats
path: root/maemo
diff options
context:
space:
mode:
authorEduardo Valentin <eduardo.valentin@indt.org.br>2006-11-06 14:32:59 +0100
committerTakashi Iwai <tiwai@suse.de>2006-11-06 14:32:59 +0100
commit8428de6faa31639a5ff7a53c9126f31592077de5 (patch)
tree9f2576847c1e473b7653779deae58afff7d8ff0e /maemo
parentec9c86f8c1528765dc933ff09d74ae1b1408a7b4 (diff)
Alsa support for Maemo SDK (n770): Build configuration
This patch file changes the build configuration files to add alsa-dsp plugin to communicate with n770 system. Signed-off-by: Eduardo Valentin <eduardo.valentin@indt.org.br>
Diffstat (limited to 'maemo')
-rw-r--r--maemo/Makefile.am15
1 files changed, 15 insertions, 0 deletions
diff --git a/maemo/Makefile.am b/maemo/Makefile.am
new file mode 100644
index 0000000..097c83f
--- /dev/null
+++ b/maemo/Makefile.am
@@ -0,0 +1,15 @@
+asound_module_pcm_alsa_dsp_LTLIBRARIES = libasound_module_pcm_alsa_dsp.la
+asound_module_ctl_dsp_ctl_LTLIBRARIES = libasound_module_ctl_dsp_ctl.la
+
+asound_module_pcm_alsa_dspdir = $(libdir)/alsa-lib
+asound_module_ctl_dsp_ctldir = $(libdir)/alsa-lib
+
+AM_CFLAGS = -Wall -fPIC -DPIC -O2 @ALSA_CFLAGS@ $(DBUS_CFLAGS)
+AM_LDFLAGS = -shared -lm -ldl -lpthread -module -avoid-version -export-dynamic $(DBUS_LIBS)
+
+libasound_module_pcm_alsa_dsp_la_SOURCES = dsp-protocol.c alsa-dsp.c
+libasound_module_pcm_alsa_dsp_la_LIBADD = @ALSA_LIBS@
+
+libasound_module_ctl_dsp_ctl_la_SOURCES = dsp-protocol.c dsp-ctl.c
+libasound_module_ctl_dsp_ctl_la_LIBADD = @ALSA_LIBS@
+