summaryrefslogtreecommitdiff
path: root/src/audio_out/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/audio_out/Makefile.am')
-rw-r--r--src/audio_out/Makefile.am14
1 files changed, 11 insertions, 3 deletions
diff --git a/src/audio_out/Makefile.am b/src/audio_out/Makefile.am
index bf44d5940..00368063d 100644
--- a/src/audio_out/Makefile.am
+++ b/src/audio_out/Makefile.am
@@ -17,8 +17,13 @@ endif
# on the alsa project side
#
if HAVE_ALSA
+if HAVE_ALSA05
+alsa05_module = xineplug_ao_out_alsa05.la
+endif
+if HAVE_ALSA09
alsa_module = xineplug_ao_out_alsa.la
endif
+endif
if HAVE_ESD
esd_module = xineplug_ao_out_esd.la
@@ -42,15 +47,18 @@ endif
# All of xine audio out plugins should be named like the
# scheme "xineplug_ao_out_"
#
-lib_LTLIBRARIES = $(oss_module) $(alsa_module) $(sun_module) \
+lib_LTLIBRARIES = $(oss_module) $(alsa05_module) $(alsa_module) $(sun_module) \
$(arts_module) $(esd_module)
## $(irixal_module)
xineplug_ao_out_oss_la_SOURCES = audio_oss_out.c resample.c
xineplug_ao_out_oss_la_LDFLAGS = -avoid-version -module
-xineplug_ao_out_alsa_la_SOURCES = audio_alsa_out.c audio_alsa05_out.c \
- resample.c
+xineplug_ao_out_alsa05_la_SOURCES = audio_alsa05_out.c resample.c
+xineplug_ao_out_alsa05_la_LIBADD = $(ALSA_LIBS)
+xineplug_ao_out_alsa05_la_LDFLAGS = -avoid-version -module
+
+xineplug_ao_out_alsa_la_SOURCES = audio_alsa_out.c resample.c
xineplug_ao_out_alsa_la_LIBADD = $(ALSA_LIBS)
xineplug_ao_out_alsa_la_LDFLAGS = -avoid-version -module