mad_ldflags := @mad_ldflags@
flac_ldflags := @flac_ldflags@
oss_ldflags := @oss_ldflags@
+alsa_ldflags := @alsa_ldflags@
build_date := $(shell date)
uname_s := $(shell uname -s 2>/dev/null || echo "UNKNOWN_OS")
para_recv para_afh para_play para_server: LDFLAGS += $(id3tag_ldflags)
para_audiod para_filter para_play: LDFLAGS += $(mad_ldflags)
-para_write para_play para_audiod para_fade: LDFLAGS += $(oss_ldflags)
+
+para_write \
+para_play \
+para_audiod \
+para_fade \
+: LDFLAGS += \
+ $(oss_ldflags) \
+ $(alsa_ldflags)
para_server \
para_filter \
fi
if test "$have_alsa" = "yes"; then
+ alsa_ldflags="-lasound"
+ AC_SUBST(alsa_ldflags)
audiod_errlist_objs="$audiod_errlist_objs alsa_write"
audiod_cmdline_objs="$audiod_cmdline_objs alsa_write"
- audiod_ldflags="$audiod_ldflags -lasound"
play_errlist_objs="$play_errlist_objs alsa_write"
play_cmdline_objs="$play_cmdline_objs alsa_write"
- play_ldflags="$play_ldflags -lasound"
write_errlist_objs="$write_errlist_objs alsa_write"
write_cmdline_objs="$write_cmdline_objs alsa_write"
- write_ldflags="$write_ldflags -lasound"
fade_errlist_objs="$fade_errlist_objs alsa_mix"
- fade_ldflags="$fade_ldflags -lasound"
writers="$writers alsa"
default_writer="ALSA_WRITE"