diff src/Makefile @ 4488:8936675274ba

Conditionally include needed subdirectories.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 21 Apr 2008 07:31:45 +0300
parents c942eaef7bc6
children 5586782f9dfe
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