flac_ldflags := @flac_ldflags@
oss_ldflags := @oss_ldflags@
alsa_ldflags := @alsa_ldflags@
+ao_ldflags := @ao_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: LDFLAGS += $(ao_ldflags)
para_write \
para_play \
])
fi
if test "$have_ao" = "yes"; then
+ AC_SUBST(ao_cppflags)
+ ao_ldflags="$ao_libs -lao -lpthread"
+ AC_SUBST(ao_ldflags)
+
audiod_errlist_objs="$audiod_errlist_objs ao_write"
audiod_cmdline_objs="$audiod_cmdline_objs ao_write"
- audiod_ldflags="$audiod_ldflags -lao -lpthread"
play_errlist_objs="$play_errlist_objs ao_write"
play_cmdline_objs="$play_cmdline_objs ao_write"
- play_ldflags="$play_ldflags -lao -lpthread"
write_errlist_objs="$write_errlist_objs ao_write"
write_cmdline_objs="$write_cmdline_objs ao_write"
- write_ldflags="$write_ldflags $ao_libs -lao -lpthread"
writers="$writers ao"
- AC_SUBST(ao_cppflags)
fi
CPPFLAGS="$OLD_CPPFLAGS"