changeset 4488:8936675274ba

Conditionally include needed subdirectories.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 21 Apr 2008 07:31:45 +0300
parents 171e3b90d718
children d3b8b69d44c4
files src/Makefile
diffstat 1 files changed, 7 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/Makefile	Mon Apr 21 07:31:27 2008 +0300
+++ b/src/Makefile	Mon Apr 21 07:31:45 2008 +0300
@@ -1,9 +1,13 @@
-SUBDIRS = libeggsmclient libguess libSAD audacious libid3tag
+SUBDIRS = libguess libSAD audacious libid3tag
 
 include ../extra.mk
 
-ifdef USE_DBUS
-SUBDIRS := libaudclient audtool $(SUBDIRS)
+ifeq ($(USE_EGGSM),yes)
+SUBDIRS := libeggsmclient ${SUBDIRS}
+endif
+
+ifeq ($(USE_DBUS),yes)
+SUBDIRS := libaudclient audtool ${SUBDIRS}
 endif
 
 include ../buildsys.mk