diff src/audacious/Makefile @ 2785:182aa34ae6c4 trunk

[svn] - implement some audacious-remote functions. - implement some audacious-drct functions. - make some command line options work. (this may incur very slow startup.) - suppress warnings.
author yaz
date Tue, 22 May 2007 15:17:15 -0700
parents 4585019eb82e
children 7035e35d4067
line wrap: on
line diff
--- a/src/audacious/Makefile	Sat May 19 16:59:48 2007 -0700
+++ b/src/audacious/Makefile	Tue May 22 15:17:15 2007 -0700
@@ -115,11 +115,16 @@
 	visualization.c \
 	xconvert.c
 
+LIBDEP = widgets/libwidgets.a ../libguess/libguess.a ../librcd/librcd.a
+
 ifdef USE_DBUS
 SOURCES += dbus.c
+CFLAGS += -I../libaudclient
 DBUS_BINDINGS = dbus-server-bindings.h dbus-client-bindings.h
 depend-prehook: $(DBUS_BINDINGS)
 OBJECTIVE_LIBS_NOINST += $(DBUS_BINDINGS)
+LIBDEP += ../libaudclient/libaudclient.so
+LDADD += -L../libaudclient -laudclient
 endif
 
 DBUS_BINDINGS_SOURCES = \
@@ -130,8 +135,6 @@
 
 OBJECTS = ${SOURCES:.c=.o}
 
-LIBDEP = widgets/libwidgets.a ../libguess/libguess.a ../librcd/librcd.a
-
 desktop_DATA = audacious.desktop
 desktopdir = $(datadir)/applications