changeset 387:0c50f248ed10 trunk

[svn] - added AUDACIOUS_LIBS and AUDACIOUS_CFLAGS to makefiles to ensure that plugins are linked to libaudacious
author giacomo
date Sun, 17 Dec 2006 07:06:34 -0800
parents de15b9e09d2d
children ad8e44bcdf8a
files ChangeLog mk/rules.mk.in src/CoreAudio/Makefile src/OSS/Makefile src/aac/src/Makefile src/adplug/Makefile src/alac/Makefile src/alarm/Makefile src/alsa/Makefile src/amidi-plug/Makefile src/arts/Makefile src/audiocompress/Makefile src/blur_scope/Makefile src/cdaudio/Makefile src/console/Makefile src/cue/Makefile src/disk_writer/Makefile src/echo_plugin/Makefile src/esd/Makefile src/flac112/Makefile src/flac113/Makefile src/jack/Makefile src/ladspa/Makefile src/lirc/Makefile src/m3u/Makefile src/metronom/Makefile src/modplug/Makefile src/mpg123/Makefile src/musepack/Makefile src/null/Makefile src/paranormal/Makefile src/pls/Makefile src/projectm/Makefile src/pulse_audio/Makefile src/rocklight/Makefile src/scrobbler/Makefile src/sexypsf/Makefile src/sid/Makefile src/song_change/Makefile src/spectrum/Makefile src/stdio/Makefile src/stereo_plugin/Makefile src/sun/Makefile src/timidity/src/Makefile src/tonegen/Makefile src/tta/Makefile src/voice_removal/Makefile src/vorbis/Makefile src/wav/Makefile src/wavpack/Makefile src/wma/Makefile src/xspf/Makefile
diffstat 52 files changed, 115 insertions(+), 99 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sat Dec 16 02:56:32 2006 -0800
+++ b/ChangeLog	Sun Dec 17 07:06:34 2006 -0800
@@ -1,3 +1,12 @@
+2006-12-16 10:56:32 +0000  Giacomo Lozito <james@develia.org>
+  revision [844]
+  - updated m3u.c, xspf.c, pls.c to use the playlist->mutex and no more playlist_get
+  trunk/src/m3u/m3u.c   |    4 ++--
+  trunk/src/pls/pls.c   |    6 +++---
+  trunk/src/xspf/xspf.c |    6 +++---
+  3 files changed, 8 insertions(+), 8 deletions(-)
+
+
 2006-12-16 05:24:10 +0000  William Pitcock <nenolod@nenolod.net>
   revision [842]
   - some improvements for chiptune expansion efficiency
--- a/mk/rules.mk.in	Sat Dec 16 02:56:32 2006 -0800
+++ b/mk/rules.mk.in	Sun Dec 17 07:06:34 2006 -0800
@@ -71,6 +71,8 @@
 ARCH_X86_TRUE ?= @ARCH_X86_TRUE@
 ARTSC_CFLAGS ?= @ARTSC_CFLAGS@
 ARTSC_LIBS ?= @ARTSC_LIBS@
+AUDACIOUS_CFLAGS ?= @AUDACIOUS_CFLAGS@
+AUDACIOUS_LIBS ?= @AUDACIOUS_LIBS@
 AUTOCONF ?= @AUTOCONF@
 AUTOHEADER ?= @AUTOHEADER@
 AUTOMAKE ?= @AUTOMAKE@
--- a/src/CoreAudio/Makefile	Sat Dec 16 02:56:32 2006 -0800
+++ b/src/CoreAudio/Makefile	Sun Dec 17 07:06:34 2006 -0800
@@ -7,11 +7,11 @@
 
 LIBDIR = $(plugindir)/$(OUTPUT_PLUGIN_DIR)
 
-LIBADD = $(GTK_LIBS) -Wl,-framework,CoreAudio
+LIBADD = $(GTK_LIBS) $(AUDACIOUS_LIBS) -Wl,-framework,CoreAudio
 SOURCES = coreaudio.c mixer.c about.c configure.c audio.c init.c convert.c dbconvert.c
 
 OBJECTS = ${SOURCES:.c=.o}
 
-CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) -I../..intl -I../..
+CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(AUDACIOUS_CFLAGS) -I../..intl -I../..
 
 include ../../mk/objective.mk
--- a/src/OSS/Makefile	Sat Dec 16 02:56:32 2006 -0800
+++ b/src/OSS/Makefile	Sun Dec 17 07:06:34 2006 -0800
@@ -7,11 +7,11 @@
 
 LIBDIR = $(plugindir)/$(OUTPUT_PLUGIN_DIR)
 
-LIBADD = $(OSS_LIBS) $(GTK_LIBS)
+LIBADD = $(OSS_LIBS) $(GTK_LIBS) $(AUDACIOUS_LIBS)
 SOURCES = OSS.c mixer.c about.c configure.c audio.c init.c convert.c
 
 OBJECTS = ${SOURCES:.c=.o}
 
-CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) -I../../intl -I../..
+CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(AUDACIOUS_CFLAGS) -I../../intl -I../..
 
 include ../../mk/objective.mk
--- a/src/aac/src/Makefile	Sat Dec 16 02:56:32 2006 -0800
+++ b/src/aac/src/Makefile	Sun Dec 17 07:06:34 2006 -0800
@@ -8,12 +8,12 @@
 # override objective make's LIBDIR
 LIBDIR = $(plugindir)/$(INPUT_PLUGIN_DIR)
 
-LDFLAGS += ../libfaad2/libfaad.a ../mp4ff/libmp4ff.a -lstdc++
+LDFLAGS += ../libfaad2/libfaad.a ../mp4ff/libmp4ff.a -lstdc++ $(AUDACIOUS_LIBS)
 
 SOURCES = libmp4.c mp4_utils.c aac_utils.c tagging_mp4.c
 
 OBJECTS = ${SOURCES:.c=.o}
 
-CFLAGS += $(GTK_CFLAGS) -I../../.. -I../include -I../libfaad -I../mp4ff
+CFLAGS += $(GTK_CFLAGS) $(AUDACIOUS_CFLAGS) -I../../.. -I../include -I../libfaad -I../mp4ff
 
 include ../../../mk/objective.mk
--- a/src/adplug/Makefile	Sat Dec 16 02:56:32 2006 -0800
+++ b/src/adplug/Makefile	Sun Dec 17 07:06:34 2006 -0800
@@ -6,15 +6,15 @@
 
 LIBDIR = $(plugindir)/$(INPUT_PLUGIN_DIR)
 
-LIBADD = ./core/libadplugcore.a $(BINIO_LIBS) -lstdc++
+LIBADD = ./core/libadplugcore.a $(BINIO_LIBS) $(AUDACIOUS_LIBS) -lstdc++
 
 SOURCES = adplug-xmms.cc
 
 OBJECTS = ${SOURCES:.cc=.o}
 
-CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(BINIO_CFLAGS) \
+CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(BINIO_CFLAGS) $(AUDACIOUS_CFLAGS) \
 	-I../../intl -I../.. -I./core
-CXXFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(BINIO_CFLAGS) \
+CXXFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(BINIO_CFLAGS) $(AUDACIOUS_CFLAGS) \
 	-I../../intl -I../.. -I./core
 
 include ../../mk/objective.mk
--- a/src/alac/Makefile	Sat Dec 16 02:56:32 2006 -0800
+++ b/src/alac/Makefile	Sun Dec 17 07:06:34 2006 -0800
@@ -4,11 +4,12 @@
 OBJECTIVE_LIBS = libalac$(SHARED_SUFFIX)
 
 LIBDIR = $(plugindir)/$(INPUT_PLUGIN_DIR)
+LIBADD = $(AUDACIOUS_LIBS)
 
 SOURCES = alac.c demux.c plugin.c stream.c
 
 OBJECTS = ${SOURCES:.c=.o}
 
-CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) -I../../intl -I../.. -I../..
+CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(AUDACIOUS_CFLAGS) -I../../intl -I../.. -I../..
 
 include ../../mk/objective.mk
--- a/src/alarm/Makefile	Sat Dec 16 02:56:32 2006 -0800
+++ b/src/alarm/Makefile	Sun Dec 17 07:06:34 2006 -0800
@@ -7,11 +7,11 @@
 
 LIBDIR = $(plugindir)/$(GENERAL_PLUGIN_DIR)
 
-LIBADD += $(GTK_LIBS)
+LIBADD += $(GTK_LIBS) $(AUDACIOUS_LIBS)
 
 SOURCES = alarm.c interface.c
 
-CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(BEEP_DEFINES) -I../../intl -I../..
+CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(AUDACIOUS_CFLAGS) $(BEEP_DEFINES) -I../../intl -I../..
 
 OBJECTS = ${SOURCES:.c=.o}
 
--- a/src/alsa/Makefile	Sat Dec 16 02:56:32 2006 -0800
+++ b/src/alsa/Makefile	Sun Dec 17 07:06:34 2006 -0800
@@ -7,12 +7,12 @@
 
 LIBDIR = $(plugindir)/$(OUTPUT_PLUGIN_DIR)
 
-LIBADD = $(GTK_LIBS) $(ALSA_LIBS) -lpthread
+LIBADD = $(GTK_LIBS) $(ALSA_LIBS) $(AUDACIOUS_LIBS) -lpthread
 SOURCES = alsa.c about.c audio.c configure.c init.c
 
 OBJECTS = ${SOURCES:.c=.o}
 
-CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(ALSA_CFLAGS) \
+CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(ALSA_CFLAGS) $(AUDACIOUS_CFLAGS) \
 	-I../../intl -I../..
 
 include ../../mk/objective.mk
--- a/src/amidi-plug/Makefile	Sat Dec 16 02:56:32 2006 -0800
+++ b/src/amidi-plug/Makefile	Sun Dec 17 07:06:34 2006 -0800
@@ -14,7 +14,7 @@
 
 LIBDIR = $(plugindir)/$(INPUT_PLUGIN_DIR)
 
-LIBADD = $(GTK_LIBS) $(GMODULE_LIBS) -lpthread ./pcfg/libpcfg.a
+LIBADD = $(GTK_LIBS) $(GMODULE_LIBS) $(AUDACIOUS_LIBS) -lpthread ./pcfg/libpcfg.a
 SOURCES = amidi-plug.c i_vfslayer.c i_midi.c i_backend.c \
           i_configure.c i_configure-ap.c i_configure-alsa.c \
           i_configure-fluidsynth.c i_configure-dummy.c \
@@ -22,7 +22,7 @@
 
 OBJECTS = ${SOURCES:.c=.o}
 
-CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(GMODULE_CFLAGS) -DAMIDIPLUGBACKENDDIR=\"$(AMIDIPLUGBACKENDDIR)\" \
+CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(AUDACIOUS_CFLAGS) $(GMODULE_CFLAGS) -DAMIDIPLUGBACKENDDIR=\"$(AMIDIPLUGBACKENDDIR)\" \
           -I../../intl -I../..
 
 include ../../mk/objective.mk
--- a/src/arts/Makefile	Sat Dec 16 02:56:32 2006 -0800
+++ b/src/arts/Makefile	Sun Dec 17 07:06:34 2006 -0800
@@ -9,8 +9,8 @@
 
 LIBDIR = $(plugindir)/$(OUTPUT_PLUGIN_DIR)
 
-CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) -Wall $(ARTSC_CFLAGS) -I../../intl -I../..
-LIBADD = $(GTK_LIBS) $(ARTSC_LIBS) -lpthread
+CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) -Wall $(ARTSC_CFLAGS) $(AUDACIOUS_CFLAGS) -I../../intl -I../..
+LIBADD = $(GTK_LIBS) $(ARTSC_LIBS) $(AUDACIOUS_LIBS) -lpthread
 
 OBJECTS = ${SOURCES:.c=.o}
 
--- a/src/audiocompress/Makefile	Sat Dec 16 02:56:32 2006 -0800
+++ b/src/audiocompress/Makefile	Sun Dec 17 07:06:34 2006 -0800
@@ -5,11 +5,11 @@
 
 LIBDIR = $(plugindir)/$(EFFECT_PLUGIN_DIR)
 
-LIBADD = $(GTK_LIBS)
+LIBADD = $(GTK_LIBS) $(AUDACIOUS_LIBS)
 
 SOURCES = compress.c audacious-glue.c
 
-CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) -I../../intl -I../..
+CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(AUDACIOUS_CFLAGS) -I../../intl -I../..
 
 OBJECTS = ${SOURCES:.c=.o}
 
--- a/src/blur_scope/Makefile	Sat Dec 16 02:56:32 2006 -0800
+++ b/src/blur_scope/Makefile	Sun Dec 17 07:06:34 2006 -0800
@@ -5,12 +5,12 @@
 
 LIBDIR = $(plugindir)/$(VISUALIZATION_PLUGIN_DIR)
 
-LIBADD = $(GTK_LIBS)
+LIBADD = $(GTK_LIBS) $(AUDACIOUS_LIBS)
 
 SOURCES = blur_scope.c config.c
 
 OBJECTS = ${SOURCES:.c=.o}
 
-CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(ARCH_DEFINES) -I../../intl -I../..
+CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(AUDACIOUS_CFLAGS) $(ARCH_DEFINES) -I../../intl -I../..
 
 include ../../mk/objective.mk
--- a/src/cdaudio/Makefile	Sat Dec 16 02:56:32 2006 -0800
+++ b/src/cdaudio/Makefile	Sun Dec 17 07:06:34 2006 -0800
@@ -4,11 +4,12 @@
 OBJECTIVE_LIBS = libcdaudio$(SHARED_SUFFIX)
 
 LIBDIR = $(plugindir)/$(INPUT_PLUGIN_DIR)
+LIBADD = $(AUDACIOUS_LIBS)
 
 SOURCES = cdaudio.c cddb.c cdinfo.c configure.c http.c 
 
 OBJECTS = ${SOURCES:.c=.o}
 
-CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) -I../../intl -I../.. -I../..
+CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(AUDACIOUS_CFLAGS) -I../../intl -I../.. -I../..
 
 include ../../mk/objective.mk
--- a/src/console/Makefile	Sat Dec 16 02:56:32 2006 -0800
+++ b/src/console/Makefile	Sun Dec 17 07:06:34 2006 -0800
@@ -59,7 +59,7 @@
 
 OBJECTS = ${SOURCES:.cxx=.o}
 
-LIBADD += -lz $(GTK_LIBS) -lstdc++
-CXXFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(ARCH_DEFINES) -I../../intl -I../..
+LIBADD += -lz $(GTK_LIBS) $(AUDACIOUS_LIBS) -lstdc++
+CXXFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(AUDACIOUS_CFLAGS) $(ARCH_DEFINES) -I../../intl -I../..
 
 include ../../mk/objective.mk
--- a/src/cue/Makefile	Sat Dec 16 02:56:32 2006 -0800
+++ b/src/cue/Makefile	Sun Dec 17 07:06:34 2006 -0800
@@ -9,10 +9,10 @@
 
 OBJECTS = ${SOURCES:.c=.o}
 
-CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(ARCH_DEFINES) -I../../intl -I../..
+CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(AUDACIOUS_CFLAGS) $(ARCH_DEFINES) -I../../intl -I../..
 
 CXXFLAGS = $(CFLAGS)
 
-LIBADD = $(GTK_LIBS)
+LIBADD = $(GTK_LIBS) $(AUDACIOUS_LIBS)
 
 include ../../mk/objective.mk
--- a/src/disk_writer/Makefile	Sat Dec 16 02:56:32 2006 -0800
+++ b/src/disk_writer/Makefile	Sun Dec 17 07:06:34 2006 -0800
@@ -5,11 +5,11 @@
 
 LIBDIR = $(plugindir)/$(OUTPUT_PLUGIN_DIR)
 
-LIBADD = $(GTK_LIBS)
+LIBADD = $(GTK_LIBS) $(AUDACIOUS_LIBS)
 SOURCES = disk_writer.c
 
 OBJECTS = ${SOURCES:.c=.o}
 
-CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) -I../../intl -I../..
+CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(AUDACIOUS_CFLAGS) -I../../intl -I../..
 
 include ../../mk/objective.mk
--- a/src/echo_plugin/Makefile	Sat Dec 16 02:56:32 2006 -0800
+++ b/src/echo_plugin/Makefile	Sun Dec 17 07:06:34 2006 -0800
@@ -5,11 +5,11 @@
 
 LIBDIR = $(plugindir)/$(EFFECT_PLUGIN_DIR)
 
-LIBADD = $(GTK_LIBS)
+LIBADD = $(GTK_LIBS) $(AUDACIOUS_LIBS)
 
 SOURCES = echo.c gui.c
 
-CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) -I../../intl -I../..
+CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(AUDACIOUS_CFLAGS) -I../../intl -I../..
 
 OBJECTS = ${SOURCES:.c=.o}
 
--- a/src/esd/Makefile	Sat Dec 16 02:56:32 2006 -0800
+++ b/src/esd/Makefile	Sun Dec 17 07:06:34 2006 -0800
@@ -7,12 +7,12 @@
 
 LIBDIR = $(plugindir)/$(OUTPUT_PLUGIN_DIR)
 
-LIBADD = $(GTK_LIBS) $(ESD_LIBS) $(OSS_LIBS)
+LIBADD = $(GTK_LIBS) $(ESD_LIBS) $(OSS_LIBS) $(AUDACIOUS_LIBS)
 SOURCES = esd.c mixer.c about.c configure.c audio.c init.c
 
 OBJECTS = ${SOURCES:.c=.o}
 
-CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(ESD_CFLAGS) \
+CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(ESD_CFLAGS) $(AUDACIOUS_CFLAGS) \
 	-I../../intl -I../.. -I..
 
 include ../../mk/objective.mk
--- a/src/flac112/Makefile	Sat Dec 16 02:56:32 2006 -0800
+++ b/src/flac112/Makefile	Sun Dec 17 07:06:34 2006 -0800
@@ -18,7 +18,7 @@
 
 LIBDIR = $(plugindir)/$(INPUT_PLUGIN_DIR)
 
-LIBADD = $(LIBFLAC_LIBS)  -L./plugin_common -lplugin_common
+LIBADD = $(LIBFLAC_LIBS) $(AUDACIOUS_LIBS)  -L./plugin_common -lplugin_common
 
 SOURCES = \
 	charset.c \
@@ -34,6 +34,6 @@
 
 OBJECTS = ${SOURCES:.c=.o}
 
-CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) -I../../intl -I../.. $(LIBFLAC_CFLAGS)
+CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(AUDACIOUS_CFLAGS) -I../../intl -I../.. $(LIBFLAC_CFLAGS)
 
 include ../../mk/objective.mk
--- a/src/flac113/Makefile	Sat Dec 16 02:56:32 2006 -0800
+++ b/src/flac113/Makefile	Sun Dec 17 07:06:34 2006 -0800
@@ -18,7 +18,7 @@
 
 LIBDIR = $(plugindir)/$(INPUT_PLUGIN_DIR)
 
-LIBADD = $(LIBFLAC_LIBS)  -L./plugin_common -lplugin_common
+LIBADD = $(LIBFLAC_LIBS) $(AUDACIOUS_LIBS)  -L./plugin_common -lplugin_common
 
 SOURCES = \
 	charset.c \
@@ -34,6 +34,6 @@
 
 OBJECTS = ${SOURCES:.c=.o}
 
-CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) -I../../intl -I../.. $(LIBFLAC_CFLAGS)
+CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(AUDACIOUS_CFLAGS) -I../../intl -I../.. $(LIBFLAC_CFLAGS)
 
 include ../../mk/objective.mk
--- a/src/jack/Makefile	Sat Dec 16 02:56:32 2006 -0800
+++ b/src/jack/Makefile	Sun Dec 17 07:06:34 2006 -0800
@@ -7,8 +7,8 @@
 
 LIBDIR = $(plugindir)/$(OUTPUT_PLUGIN_DIR)
 
-CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) -Wall $(SAMPLERATE_CFLAGS) -I../../intl -I../..
-LIBADD = $(GTK_LIBS) $(JACK_LIBS) $(SAMPLERATE_LIBS) -lpthread
+CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) -Wall $(SAMPLERATE_CFLAGS) $(AUDACIOUS_CFLAGS) -I../../intl -I../..
+LIBADD = $(GTK_LIBS) $(JACK_LIBS) $(SAMPLERATE_LIBS) $(AUDACIOUS_LIBS) -lpthread
 
 OBJECTS = ${SOURCES:.c=.o}
 
--- a/src/ladspa/Makefile	Sat Dec 16 02:56:32 2006 -0800
+++ b/src/ladspa/Makefile	Sun Dec 17 07:06:34 2006 -0800
@@ -5,11 +5,11 @@
 
 LIBDIR = $(plugindir)/$(EFFECT_PLUGIN_DIR)
 
-LIBADD = $(GTK_LIBS)
+LIBADD = $(GTK_LIBS) $(AUDACIOUS_LIBS)
 
 SOURCES = ladspa.c
 
-CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) -I../../intl -I../..
+CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(AUDACIOUS_CFLAGS) -I../../intl -I../..
 
 OBJECTS = ${SOURCES:.c=.o}
 
--- a/src/lirc/Makefile	Sat Dec 16 02:56:32 2006 -0800
+++ b/src/lirc/Makefile	Sun Dec 17 07:06:34 2006 -0800
@@ -5,10 +5,10 @@
 
 LIBDIR = $(plugindir)/$(GENERAL_PLUGIN_DIR)
 
-LIBADD = -llirc_client
+LIBADD = -llirc_client $(AUDACIOUS_LIBS)
 SOURCES = about.c lirc.c
 
-CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) -I../../intl -I../..
+CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(AUDACIOUS_CFLAGS) -I../../intl -I../..
 
 OBJECTS = ${SOURCES:.c=.o}
 
--- a/src/m3u/Makefile	Sat Dec 16 02:56:32 2006 -0800
+++ b/src/m3u/Makefile	Sun Dec 17 07:06:34 2006 -0800
@@ -9,10 +9,10 @@
 
 OBJECTS = ${SOURCES:.c=.o}
 
-CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(ARCH_DEFINES) -I../../intl -I../..
+CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(AUDACIOUS_CFLAGS) $(ARCH_DEFINES) -I../../intl -I../..
 
 CXXFLAGS = $(CFLAGS)
 
-LIBADD = $(GTK_LIBS)
+LIBADD = $(GTK_LIBS) $(AUDACIOUS_LIBS)
 
 include ../../mk/objective.mk
--- a/src/metronom/Makefile	Sat Dec 16 02:56:32 2006 -0800
+++ b/src/metronom/Makefile	Sun Dec 17 07:06:34 2006 -0800
@@ -4,11 +4,12 @@
 OBJECTIVE_LIBS = libmetronom$(SHARED_SUFFIX)
 
 LIBDIR = $(plugindir)/$(INPUT_PLUGIN_DIR)
+LIBADD = $(AUDACIOUS_LIBS)
 
 SOURCES = metronom.c
 
 OBJECTS = ${SOURCES:.c=.o}
 
-CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) -I../../intl -I../..
+CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(AUDACIOUS_CFLAGS) -I../../intl -I../..
 
 include ../../mk/objective.mk
--- a/src/modplug/Makefile	Sat Dec 16 02:56:32 2006 -0800
+++ b/src/modplug/Makefile	Sun Dec 17 07:06:34 2006 -0800
@@ -6,8 +6,8 @@
 
 LIBDIR = $(plugindir)/$(INPUT_PLUGIN_DIR)
 
-CXXFLAGS += $(PICFLAGS) $(GTK_CFLAGS) -I.. -I../.. -I../../intl
-LIBADD  = $(GTK_LIBS) -lstdc++ ./archive/libarchive.a ./gui/libgui.a
+CXXFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(AUDACIOUS_CFLAGS) -I.. -I../.. -I../../intl
+LIBADD  = $(GTK_LIBS) $(AUDACIOUS_LIBS) -lstdc++ ./archive/libarchive.a ./gui/libgui.a
 SOURCES.plugin  = plugin.cxx modplugbmp.cxx
 SOURCES.core = tables.cxx         \
                sndmix.cxx         \
--- a/src/mpg123/Makefile	Sat Dec 16 02:56:32 2006 -0800
+++ b/src/mpg123/Makefile	Sun Dec 17 07:06:34 2006 -0800
@@ -13,9 +13,9 @@
 
 OBJECTS = ${SOURCES:.c=.o} tag_c_hacked.o
 
-CFLAGS   += -UPSYCHO $(PICFLAGS) $(GTK_CFLAGS) $(TAGLIB_CFLAGS) $(ARCH_DEFINES) $(LIBNMS_CFLAGS) -I../../intl -I../..
-CXXFLAGS += -UPSYCHO $(PICFLAGS) $(GTK_CFLAGS) $(TAGLIB_CFLAGS) $(ARCH_DEFINES) -I../../intl -I../..
+CFLAGS   += -UPSYCHO $(PICFLAGS) $(GTK_CFLAGS) $(AUDACIOUS_CFLAGS) $(TAGLIB_CFLAGS) $(ARCH_DEFINES) $(LIBNMS_CFLAGS) -I../../intl -I../..
+CXXFLAGS += -UPSYCHO $(PICFLAGS) $(GTK_CFLAGS) $(AUDACIOUS_CFLAGS) $(TAGLIB_CFLAGS) $(ARCH_DEFINES) -I../../intl -I../..
 
-LIBADD = -ltag_c $(GTK_LIBS) $(TAGLIB_LIBS) $(LIBNMS_LIBS)
+LIBADD = -ltag_c $(GTK_LIBS) $(AUDACIOUS_LIBS) $(TAGLIB_LIBS) $(LIBNMS_LIBS)
 
 include ../../mk/objective.mk
--- a/src/musepack/Makefile	Sat Dec 16 02:56:32 2006 -0800
+++ b/src/musepack/Makefile	Sun Dec 17 07:06:34 2006 -0800
@@ -7,10 +7,10 @@
 
 SOURCES = libmpc.cxx
 
-LIBADD = -lmpcdec $(TAGLIB_LIBS) $(GTK_LIBS)
+LIBADD = -lmpcdec $(TAGLIB_LIBS) $(GTK_LIBS) $(AUDACIOUS_LIBS)
 
 OBJECTS = ${SOURCES:.cxx=.o}
 
-CXXFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(TAGLIB_CFLAGS) -I../../intl -I../..
+CXXFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(AUDACIOUS_CFLAGS) $(TAGLIB_CFLAGS) -I../../intl -I../..
 
 include ../../mk/objective.mk
--- a/src/null/Makefile	Sat Dec 16 02:56:32 2006 -0800
+++ b/src/null/Makefile	Sun Dec 17 07:06:34 2006 -0800
@@ -4,12 +4,13 @@
 OBJECTIVE_LIBS = libnull${SHARED_SUFFIX}
 
 LIBDIR = ${plugindir}/${OUTPUT_PLUGIN_DIR}
+LIBADD = $(AUDACIOUS_LIBS)
 
 SOURCES = null.c
 
 OBJECTS = ${SOURCES:.c=.o}
 
-CFLAGS += ${PICFLAGS} \
+CFLAGS += ${PICFLAGS} $(AUDACIOUS_CFLAGS) \
 	-I../..
 
 include ../../mk/objective.mk
--- a/src/paranormal/Makefile	Sat Dec 16 02:56:32 2006 -0800
+++ b/src/paranormal/Makefile	Sun Dec 17 07:06:34 2006 -0800
@@ -7,7 +7,7 @@
 
 LIBDIR = $(plugindir)/$(VISUALIZATION_PLUGIN_DIR)
 
-LIBADD = $(GTK_LIBS) $(XML_LIBS) $(SDL_LIBS) libcalc/libcalc.a
+LIBADD = $(GTK_LIBS) $(XML_LIBS) $(SDL_LIBS) $(AUDACIOUS_LIBS) libcalc/libcalc.a
 
 SOURCES =			\
 	actuators.c		\
@@ -28,6 +28,6 @@
 
 OBJECTS = ${SOURCES:.c=.o}
 
-CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(ARCH_DEFINES) $(XML_CPPFLAGS) $(SDL_CFLAGS) -I../../intl -I../..
+CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(AUDACIOUS_CFLAGS) $(ARCH_DEFINES) $(XML_CPPFLAGS) $(SDL_CFLAGS) -I../../intl -I../..
 
 include ../../mk/objective.mk
--- a/src/pls/Makefile	Sat Dec 16 02:56:32 2006 -0800
+++ b/src/pls/Makefile	Sun Dec 17 07:06:34 2006 -0800
@@ -9,10 +9,10 @@
 
 OBJECTS = ${SOURCES:.c=.o}
 
-CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(ARCH_DEFINES) -I../../intl -I../..
+CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(AUDACIOUS_CFLAGS) $(ARCH_DEFINES) -I../../intl -I../..
 
 CXXFLAGS = $(CFLAGS)
 
-LIBADD = $(GTK_LIBS)
+LIBADD = $(GTK_LIBS) $(AUDACIOUS_LIBS)
 
 include ../../mk/objective.mk
--- a/src/projectm/Makefile	Sat Dec 16 02:56:32 2006 -0800
+++ b/src/projectm/Makefile	Sun Dec 17 07:06:34 2006 -0800
@@ -5,12 +5,12 @@
 
 LIBDIR = $(plugindir)/$(VISUALIZATION_PLUGIN_DIR)
 
-LIBADD = $(GTK_LIBS) $(SDL_LIBS) $(LIBPROJECTM_LIBS) -lprojectM
+LIBADD = $(GTK_LIBS) $(SDL_LIBS) $(AUDACIOUS_LIBS) $(LIBPROJECTM_LIBS) -lprojectM
 
 SOURCES = main.c video_init.c
 
 OBJECTS = ${SOURCES:.c=.o}
 
-CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(ARCH_DEFINES) $(XML_CPPFLAGS) $(SDL_CFLAGS) $(LIBPROJECTM_CFLAGS) -I../../intl -I../..
+CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(AUDACIOUS_CFLAGS) $(ARCH_DEFINES) $(XML_CPPFLAGS) $(SDL_CFLAGS) $(LIBPROJECTM_CFLAGS) -I../../intl -I../..
 
 include ../../mk/objective.mk
--- a/src/pulse_audio/Makefile	Sat Dec 16 02:56:32 2006 -0800
+++ b/src/pulse_audio/Makefile	Sun Dec 17 07:06:34 2006 -0800
@@ -5,11 +5,11 @@
 
 LIBDIR = $(plugindir)/$(OUTPUT_PLUGIN_DIR)
 
-LIBADD = $(GTK_LIBS) -lpulse
+LIBADD = $(GTK_LIBS) $(AUDACIOUS_LIBS) -lpulse
 SOURCES = pulse_audio.c
 
 OBJECTS = ${SOURCES:.c=.o}
 
-CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) -I../../intl -I../..
+CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(AUDACIOUS_CFLAGS) -I../../intl -I../..
 
 include ../../mk/objective.mk
--- a/src/rocklight/Makefile	Sat Dec 16 02:56:32 2006 -0800
+++ b/src/rocklight/Makefile	Sun Dec 17 07:06:34 2006 -0800
@@ -5,12 +5,12 @@
 
 LIBDIR = $(plugindir)/$(VISUALIZATION_PLUGIN_DIR)
 
-LIBADD = $(GTK_LIBS)
+LIBADD = $(GTK_LIBS) $(AUDACIOUS_LIBS)
 
 SOURCES = rocklight.c $(LEDCODE)
 
 OBJECTS = ${SOURCES:.c=.o}
 
-CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(ARCH_DEFINES) -I../../intl -I../..
+CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(AUDACIOUS_CFLAGS) $(ARCH_DEFINES) -I../../intl -I../..
 
 include ../../mk/objective.mk
--- a/src/scrobbler/Makefile	Sat Dec 16 02:56:32 2006 -0800
+++ b/src/scrobbler/Makefile	Sun Dec 17 07:06:34 2006 -0800
@@ -12,7 +12,7 @@
 
 LIBDIR = $(plugindir)/$(GENERAL_PLUGIN_DIR)
 
-LIBADD += $(GTK_LIBS) $(CURL_LIBS) $(MUSICBRAINZ_LIBS)
+LIBADD += $(GTK_LIBS) $(CURL_LIBS) $(MUSICBRAINZ_LIBS) $(AUDACIOUS_LIBS)
 
 SOURCES = 			\
 	fmt.c			\
@@ -24,7 +24,7 @@
 	hatena.c		\
 	plugin.c
 
-CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(BEEP_DEFINES) $(CURL_CFLAGS) -I../../intl -I../..
+CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(BEEP_DEFINES) $(AUDACIOUS_CFLAGS) $(CURL_CFLAGS) -I../../intl -I../..
 
 OBJECTS = ${SOURCES:.c=.o}
 
--- a/src/sexypsf/Makefile	Sat Dec 16 02:56:32 2006 -0800
+++ b/src/sexypsf/Makefile	Sun Dec 17 07:06:34 2006 -0800
@@ -19,11 +19,11 @@
 	spu/spu.c \
 	xmms.c
 
-LIBADD = -lz
+LIBADD = -lz $(AUDACIOUS_LIBS)
 
 OBJECTS = ${SOURCES:.c=.o}
 
-CFLAGS += -Wno-nonnull $(PICFLAGS) $(GTK_CFLAGS) -I../../intl -I../.. -Ispu/ -I.
+CFLAGS += -Wno-nonnull $(PICFLAGS) $(GTK_CFLAGS) $(AUDACIOUS_CFLAGS) -I../../intl -I../.. -Ispu/ -I.
 
 include ../../mk/objective.mk
 
--- a/src/sid/Makefile	Sat Dec 16 02:56:32 2006 -0800
+++ b/src/sid/Makefile	Sun Dec 17 07:06:34 2006 -0800
@@ -9,15 +9,15 @@
 EXTRA_DIST = xmms-sid-logo.xpm
 
 # Generals
-CFLAGS   += $(PICFLAGS) -D_REENTRANT $(PLUGIN_CFLAGS) $(SIDPLAY1_INCLUDES) $(SIDPLAY2_INCLUDES) $(BUILDERS_INCLUDES) $(GTK_CFLAGS) -I../../intl -I../..
-CXXFLAGS  += $(PICFLAGS) -D_REENTRANT $(PLUGIN_CFLAGS) $(SIDPLAY1_INCLUDES) $(SIDPLAY2_INCLUDES) $(BUILDERS_INCLUDES) $(GTK_CFLAGS) -I../../intl -I../..
+CFLAGS   += $(PICFLAGS) -D_REENTRANT $(PLUGIN_CFLAGS) $(AUDACIOUS_CFLAGS) $(SIDPLAY1_INCLUDES) $(SIDPLAY2_INCLUDES) $(BUILDERS_INCLUDES) $(GTK_CFLAGS) -I../../intl -I../..
+CXXFLAGS  += $(PICFLAGS) -D_REENTRANT $(PLUGIN_CFLAGS) $(AUDACIOUS_CFLAGS) $(SIDPLAY1_INCLUDES) $(SIDPLAY2_INCLUDES) $(BUILDERS_INCLUDES) $(GTK_CFLAGS) -I../../intl -I../..
 
 # Generated libraries
 
 LIBDIR = $(plugindir)/$(INPUT_PLUGIN_DIR)
 
 LDFLAGS += $(BUILDERS_LDFLAGS)
-LIBADD  = $(SIDPLAY1_LDADD) $(SIDPLAY2_LDADD) $(RESID_LDADD) $(HARDSID_LDADD) $(GTK_LIBS) -lstdc++
+LIBADD  = $(SIDPLAY1_LDADD) $(SIDPLAY2_LDADD) $(AUDACIOUS_LIBS) $(RESID_LDADD) $(HARDSID_LDADD) $(GTK_LIBS) -lstdc++
 SOURCES =	\
 	xs_init.c	\
 	xs_about.c	\
--- a/src/song_change/Makefile	Sat Dec 16 02:56:32 2006 -0800
+++ b/src/song_change/Makefile	Sun Dec 17 07:06:34 2006 -0800
@@ -5,12 +5,12 @@
 
 LIBDIR = $(plugindir)/$(GENERAL_PLUGIN_DIR)
 
-LIBADD = $(GTK_LIBS)
+LIBADD = $(GTK_LIBS) $(AUDACIOUS_LIBS)
 
 SOURCES = song_change.c
 
 OBJECTS = ${SOURCES:.c=.o}
 
-CFLAGS += $(PICFLAGS) $(BEEP_DEFINES) $(GTK_CFLAGS) -I../../intl -I../..
+CFLAGS += $(PICFLAGS) $(BEEP_DEFINES) $(GTK_CFLAGS) $(AUDACIOUS_CFLAGS) -I../../intl -I../..
 
 include ../../mk/objective.mk
--- a/src/spectrum/Makefile	Sat Dec 16 02:56:32 2006 -0800
+++ b/src/spectrum/Makefile	Sun Dec 17 07:06:34 2006 -0800
@@ -5,12 +5,12 @@
 
 LIBDIR = $(plugindir)/$(VISUALIZATION_PLUGIN_DIR)
 
-LIBADD = $(GTK_LIBS)
+LIBADD = $(GTK_LIBS) $(AUDACIOUS_LIBS)
 
 SOURCES = spectrum.c
 
 OBJECTS = ${SOURCES:.c=.o}
 
-CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(ARCH_DEFINES) -I../../intl -I../..
+CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(AUDACIOUS_CFLAGS) $(ARCH_DEFINES) -I../../intl -I../..
 
 include ../../mk/objective.mk
--- a/src/stdio/Makefile	Sat Dec 16 02:56:32 2006 -0800
+++ b/src/stdio/Makefile	Sun Dec 17 07:06:34 2006 -0800
@@ -10,10 +10,10 @@
 
 OBJECTS = ${SOURCES:.c=.o}
 
-CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(ARCH_DEFINES) -I../../intl -I../..
+CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(AUDACIOUS_CFLAGS) $(ARCH_DEFINES) -I../../intl -I../..
 
 CXXFLAGS = $(CFLAGS)
 
-LIBADD = $(GTK_LIBS)
+LIBADD = $(GTK_LIBS) $(AUDACIOUS_LIBS)
 
 include ../../mk/objective.mk
--- a/src/stereo_plugin/Makefile	Sat Dec 16 02:56:32 2006 -0800
+++ b/src/stereo_plugin/Makefile	Sun Dec 17 07:06:34 2006 -0800
@@ -5,11 +5,11 @@
 
 LIBDIR = $(plugindir)/$(EFFECT_PLUGIN_DIR)
 
-LIBADD = $(GTK_LIBS)
+LIBADD = $(GTK_LIBS) $(AUDACIOUS_LIBS)
 
 SOURCES = stereo.c
 
-CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) -I../../intl -I../..
+CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(AUDACIOUS_CFLAGS) -I../../intl -I../..
 
 OBJECTS = ${SOURCES:.c=.o}
 
--- a/src/sun/Makefile	Sat Dec 16 02:56:32 2006 -0800
+++ b/src/sun/Makefile	Sun Dec 17 07:06:34 2006 -0800
@@ -11,8 +11,8 @@
 LIBDIR = $(plugindir)/$(OUTPUT_PLUGIN_DIR)
 OBJECTIVE_LIBS = libsun$(SHARED_SUFFIX)
 
-CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) -I../../intl -I../..
-LIBADD = $(GTK_LIBS)
+CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(AUDACIOUS_CFLAGS) -I../../intl -I../..
+LIBADD = $(GTK_LIBS) $(AUDACIOUS_LIBS)
 SOURCES= $(sunsources)
 OBJECTS= ${SOURCES:.c=.o}
 
--- a/src/timidity/src/Makefile	Sat Dec 16 02:56:32 2006 -0800
+++ b/src/timidity/src/Makefile	Sun Dec 17 07:06:34 2006 -0800
@@ -5,7 +5,7 @@
 
 LIBDIR = $(plugindir)/$(INPUT_PLUGIN_DIR)
 
-LIBADD = ../libtimidity/libtimidity.a
+LIBADD = ../libtimidity/libtimidity.a $(AUDACIOUS_LIBS)
 
 SOURCES = \
 	callbacks.c \
@@ -14,6 +14,6 @@
 
 OBJECTS = ${SOURCES:.c=.o}
 
-CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) -I../../.. -I../libtimidity
+CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(AUDACIOUS_CFLAGS) -I../../.. -I../libtimidity
 
 include ../../../mk/objective.mk
--- a/src/tonegen/Makefile	Sat Dec 16 02:56:32 2006 -0800
+++ b/src/tonegen/Makefile	Sun Dec 17 07:06:34 2006 -0800
@@ -4,11 +4,12 @@
 OBJECTIVE_LIBS = libtonegen$(SHARED_SUFFIX)
 
 LIBDIR = $(plugindir)/$(INPUT_PLUGIN_DIR)
+LIBADD = $(AUDACIOUS_LIBS)
 
 SOURCES = tonegen.c
 
 OBJECTS = ${SOURCES:.c=.o}
 
-CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) -I../../intl -I../..
+CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(AUDACIOUS_CFLAGS) -I../../intl -I../..
 
 include ../../mk/objective.mk
--- a/src/tta/Makefile	Sat Dec 16 02:56:32 2006 -0800
+++ b/src/tta/Makefile	Sun Dec 17 07:06:34 2006 -0800
@@ -9,8 +9,8 @@
 
 OBJECTS = ${SOURCES:.c=.o}
 
-CFLAGS += -fPIC -DPIC $(GTK_CFLAGS) -I../../intl -I../..
+CFLAGS += -fPIC -DPIC $(GTK_CFLAGS) $(AUDACIOUS_CFLAGS) -I../../intl -I../..
 
-LIBADD = -lid3tag
+LIBADD = -lid3tag $(AUDACIOUS_LIBS)
 
-include ../../mk/objective.mk
\ No newline at end of file
+include ../../mk/objective.mk
--- a/src/voice_removal/Makefile	Sat Dec 16 02:56:32 2006 -0800
+++ b/src/voice_removal/Makefile	Sun Dec 17 07:06:34 2006 -0800
@@ -5,11 +5,11 @@
 
 LIBDIR = $(plugindir)/$(EFFECT_PLUGIN_DIR)
 
-LIBADD = $(GTK_LIBS)
+LIBADD = $(GTK_LIBS) $(AUDACIOUS_LIBS)
 
 SOURCES = voice_removal.c
 
-CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) -I../../intl -I../..
+CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(AUDACIOUS_CFLAGS) -I../../intl -I../..
 
 OBJECTS = ${SOURCES:.c=.o}
 
--- a/src/vorbis/Makefile	Sat Dec 16 02:56:32 2006 -0800
+++ b/src/vorbis/Makefile	Sun Dec 17 07:06:34 2006 -0800
@@ -9,8 +9,8 @@
 
 OBJECTS = ${SOURCES:.c=.o}
 
-LIBADD = $(OGG_VORBIS_LIBS)
+LIBADD = $(OGG_VORBIS_LIBS) $(AUDACIOUS_LIBS)
 
-CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) -I../../intl -I../.. -I../..
+CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(AUDACIOUS_CFLAGS) -I../../intl -I../.. -I../..
 
 include ../../mk/objective.mk
--- a/src/wav/Makefile	Sat Dec 16 02:56:32 2006 -0800
+++ b/src/wav/Makefile	Sun Dec 17 07:06:34 2006 -0800
@@ -7,9 +7,9 @@
 
 SOURCES = wav$(WAV_SNDFILE).c
 
-LIBADD = -L/usr/local/lib $(SNDFILE_LIBS)
+LIBADD = -L/usr/local/lib $(SNDFILE_LIBS) $(AUDACIOUS_LIBS)
 
-CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) -I../../intl -I../..
+CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(AUDACIOUS_CFLAGS) -I../../intl -I../..
 
 OBJECTS = ${SOURCES:.c=.o}
 
--- a/src/wavpack/Makefile	Sat Dec 16 02:56:32 2006 -0800
+++ b/src/wavpack/Makefile	Sun Dec 17 07:06:34 2006 -0800
@@ -7,9 +7,9 @@
 
 SOURCES = tags.cxx ui.cxx libwavpack.cxx
 
-LIBADD = -L/usr/local/lib $(WAVPACK_LIBS)
+LIBADD = -L/usr/local/lib $(WAVPACK_LIBS) $(AUDACIOUS_LIBS)
 
-CXXFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(WAVPACK_CFLAGS) -I../../intl -I../..
+CXXFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(AUDACIOUS_CFLAGS) $(WAVPACK_CFLAGS) -I../../intl -I../..
 
 LDFLAGS += -lstdc++
 
--- a/src/wma/Makefile	Sat Dec 16 02:56:32 2006 -0800
+++ b/src/wma/Makefile	Sun Dec 17 07:06:34 2006 -0800
@@ -7,12 +7,12 @@
 
 LIBDIR = $(plugindir)/$(INPUT_PLUGIN_DIR)
 
-LIBADD = ./libffwma/libffwma.a
+LIBADD = ./libffwma/libffwma.a $(AUDACIOUS_LIBS)
 
 SOURCES = wma.c
 
 OBJECTS = ${SOURCES:.c=.o}
 
-CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) -I../.. -I./libffwma -std=c99
+CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(AUDACIOUS_CFLAGS) -I../.. -I./libffwma -std=c99
 
 include ../../mk/objective.mk
--- a/src/xspf/Makefile	Sat Dec 16 02:56:32 2006 -0800
+++ b/src/xspf/Makefile	Sun Dec 17 07:06:34 2006 -0800
@@ -9,10 +9,10 @@
 
 OBJECTS = ${SOURCES:.c=.o}
 
-CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(ARCH_DEFINES) $(XML_CPPFLAGS) -I../../intl -I../..
+CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(AUDACIOUS_CFLAGS) $(ARCH_DEFINES) $(XML_CPPFLAGS) -I../../intl -I../..
 
 CXXFLAGS = $(CFLAGS)
 
-LIBADD = $(GTK_LIBS) $(XML_LIBS)
+LIBADD = $(GTK_LIBS) $(XML_LIBS) $(AUDACIOUS_LIBS)
 
 include ../../mk/objective.mk