changeset 4750:74134c731db6

make libSAD shared library, so plugins can use it
author Andrew O. Shadoura <bugzilla@tut.by>
date Wed, 06 Aug 2008 22:30:35 +0300
parents 7bf9affe88b6
children b87f8c707b7f
files src/audacious/Makefile src/libSAD/Makefile
diffstat 2 files changed, 6 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/audacious/Makefile	Sun Jul 06 15:33:19 2008 +0300
+++ b/src/audacious/Makefile	Wed Aug 06 22:30:35 2008 +0300
@@ -146,8 +146,7 @@
        ui/carbon-menubar.ui
 
 CLEAN = build_stamp.c libaudacious.exe.a
-EXT_DEPS = ../libguess/libguess.a \
-           ../libSAD/libSAD.a
+EXT_DEPS = ../libguess/libguess.a ../libSAD/libSAD.so
 
 ifeq ($(USE_EGGSM),yes)
 EXT_DEPS += ../libeggsmclient/libeggsmclient.a
@@ -187,7 +186,7 @@
 		${LIBINTL}						\
 		${SAMPLERATE_LIBS}				\
 		../libguess/libguess.a			\
-		../libSAD/libSAD.a				\
+		-L../libSAD -lSAD			\
 		${EGGSM_LIBS}					\
 		${GLIB_LIBS}					\
 		${GTHREAD_LIBS}					\
--- a/src/libSAD/Makefile	Sun Jul 06 15:33:19 2008 +0300
+++ b/src/libSAD/Makefile	Wed Aug 06 22:30:35 2008 +0300
@@ -1,4 +1,7 @@
-STATIC_LIB_NOINST = libSAD.a
+LIB = ${LIB_PREFIX}SAD${LIB_SUFFIX}
+LIB_MAJOR = 1
+LIB_MINOR = 0
+
 SRCS = dither.c \
        dither_ops.c \
        noicegen.c