MKDIR_P := mkdir -p
id3tag_ldflags := @id3tag_ldflags@
+ogg_ldflags := @ogg_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_server \
+para_filter \
+para_audiod \
+para_play \
+para_afh \
+para_recv \
+: LDFLAGS += $(ogg_ldflags)
+
para_recv: $(recv_objs)
@[ -z "$(Q)" ] || echo 'LD $@'
$(Q) $(CC) $(recv_objs) -o $@ @recv_ldflags@ $(LDFLAGS)
test "$have_speex" = "yes" || \
test "$have_opus" = "yes"; then
AC_SUBST(ogg_cppflags)
- ogg_libs="$ogg_libs -logg"
+ ogg_ldflags="$ogg_libs -logg"
if test "$OSTYPE" = "Darwin"; then
- ogg_libs="-Wl,-bind_at_load $ogg_libs"
+ ogg_ldflags="-Wl,-bind_at_load $ogg_ldflags"
fi
- server_ldflags="$server_ldflags $ogg_libs"
- filter_ldflags="$filter_ldflags $ogg_libs"
- audiod_ldflags="$audiod_ldflags $ogg_libs"
- play_ldflags="$play_ldflags $ogg_libs"
- afh_ldflags="$afh_ldflags $ogg_libs"
- recv_ldflags="$recv_ldflags $ogg_libs"
+ AC_SUBST(ogg_ldflags)
afh_errlist_objs="$afh_errlist_objs ogg_afh_common"
recv_errlist_objs="$recv_errlist_objs ogg_afh_common"
server_errlist_objs="$server_errlist_objs ogg_afh_common"