vorbis_ldflags := @vorbis_ldflags@
speex_ldflags := @speex_ldflags@
opus_ldflags := @opus_ldflags@
+faad_ldflags := @faad_ldflags@
build_date := $(shell date)
uname_s := $(shell uname -s 2>/dev/null || echo "UNKNOWN_OS")
para_play \
para_afh \
para_recv \
-: LDFLAGS += $(ogg_ldflags) $(vorbis_ldflags) $(speex_ldflags) $(opus_ldflags)
-
+: LDFLAGS += \
+ $(ogg_ldflags) \
+ $(vorbis_ldflags) \
+ $(speex_ldflags) \
+ $(opus_ldflags) \
+ $(faad_ldflags)
para_recv: $(recv_objs)
@[ -z "$(Q)" ] || echo 'LD $@'
AC_CHECK_LIB([faad], [NeAACDecOpen], [], have_faad=no)
if test "$have_faad" = "yes"; then
AC_DEFINE(HAVE_FAAD, 1, define to 1 if you want to build the aacdec filter)
+ AC_SUBST(faad_cppflags)
+ faad_ldflags="$faad_libs -lfaad"
+ AC_SUBST(faad_ldflags)
+
filter_errlist_objs="$filter_errlist_objs aacdec_filter aac_common"
afh_errlist_objs="$afh_errlist_objs aac_common aac_afh"
audiod_errlist_objs="$audiod_errlist_objs aacdec_filter aac_common"
server_errlist_objs="$server_errlist_objs aac_afh aac_common"
recv_errlist_objs="$recv_errlist_objs aac_afh aac_common"
- server_ldflags="$server_ldflags $faad_libs -lfaad"
- filter_ldflags="$filter_ldflags $faad_libs -lfaad"
- audiod_ldflags="$audiod_ldflags $faad_libs -lfaad"
- play_ldflags="$play_ldflags $faad_libs -lfaad"
- afh_ldflags="$afh_ldflags $faad_libs -lfaad"
- recv_ldflags="$afh_ldflags $faad_libs -lfaad"
-
audiod_audio_formats="$audiod_audio_formats aac"
audio_format_handlers="$audio_format_handlers aac"
filters="$filters aacdec"
- AC_SUBST(faad_cppflags)
else
AC_MSG_WARN([no aac support in para_audiod/para_filter])
fi