samplerate_ldflags := @samplerate_ldflags@
osl_ldflags := @osl_ldflags@
openssl_ldflags := @openssl_ldflags@
+gcrypt_ldflags := @gcrypt_ldflags@
build_date := $(shell date)
uname_s := $(shell uname -s 2>/dev/null || echo "UNKNOWN_OS")
para_write para_play para_audiod: LDFLAGS += $(ao_ldflags)
para_client para_audioc para_play : LDFLAGS += $(readline_ldflags)
para_server: LDFLAGS += $(osl_ldflags)
-para_server para_client para_audiod: LDFLAGS += $(openssl_ldflags)
+
+para_server \
+para_client \
+para_audiod \
+:LDFLAGS += \
+ $(openssl_ldflags) \
+ $(gcrypt_ldflags)
para_audiod \
para_filter \
if test "$have_gcrypt" = "yes"; then
AC_DEFINE(HAVE_GCRYPT, 1, [define to 1 to turn on gcrypt support])
AC_SUBST(gcrypt_cppflags)
- gcrypt_libs="$gcrypt_libs -lgcrypt"
- server_ldflags="$server_ldflags $gcrypt_libs"
- client_ldflags="$client_ldflags $gcrypt_libs"
- audiod_ldflags="$audiod_ldflags $gcrypt_libs"
+ gcrypt_ldflags="$gcrypt_libs -lgcrypt"
+ AC_SUBST(gcrypt_ldflags)
server_errlist_objs="$server_errlist_objs gcrypt"
client_errlist_objs="$client_errlist_objs gcrypt"