changeset 4490:2e56a47e7a5d

Correctly check for USE_DBUS and USE_EGGSM.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 21 Apr 2008 07:32:45 +0300
parents d3b8b69d44c4
children 42575ed86c9f
files src/audacious/Makefile
diffstat 1 files changed, 7 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/audacious/Makefile	Mon Apr 21 07:32:14 2008 +0300
+++ b/src/audacious/Makefile	Mon Apr 21 07:32:45 2008 +0300
@@ -82,7 +82,7 @@
        volumecontrol.c					\
        sync-menu.c
 
-ifdef USE_DBUS
+ifeq ($(USE_DBUS),yes)
 SRCS += dbus.c
 endif
 
@@ -141,12 +141,15 @@
 
 CLEAN = build_stamp.c libaudacious.exe.a
 EXT_DEPS = ../libguess/libguess.a \
-           ../libSAD/libSAD.a \
-           ../libeggsmclient/libeggsmclient.a
+           ../libSAD/libSAD.a
+
+ifeq ($(USE_EGGSM),yes)
+EXT_DEPS += ../libeggsmclient/libeggsmclient.a
+endif
 
 include ../../buildsys.mk
 
-ifdef USE_DBUS
+ifeq ($(USE_DBUS),yes)
 CPPFLAGS += -I../libaudclient
 DBUS_BINDINGS = dbus-server-bindings.h dbus-client-bindings.h
 LIBS += -L../libaudclient -laudclient