changeset 4491:42575ed86c9f

Set eggsm flags conditionally.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 21 Apr 2008 07:40:14 +0300
parents 2e56a47e7a5d
children 55262ebeba2d
files src/audacious/Makefile
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/audacious/Makefile	Mon Apr 21 07:32:45 2008 +0300
+++ b/src/audacious/Makefile	Mon Apr 21 07:40:14 2008 +0300
@@ -145,6 +145,8 @@
 
 ifeq ($(USE_EGGSM),yes)
 EXT_DEPS += ../libeggsmclient/libeggsmclient.a
+EGGSM_LIBS += ../libeggsmclient/libeggsmclient.a ${SM_LIBS}
+EGGSM_CFLAGS +=  -I../libeggsmclient ${SM_CFLAGS}
 endif
 
 include ../../buildsys.mk
@@ -171,7 +173,7 @@
 	    ${SIMD_CFLAGS}			\
 	    -D_AUDACIOUS_CORE		\
 	    -I../libSAD				\
-	    -I../libeggsmclient	${SM_CFLAGS}	\
+	    ${EGGSM_CFLAGS}		\
 	    -I.. -I../..			\
 	    -I./intl
 
@@ -180,7 +182,7 @@
 	${SAMPLERATE_LIBS}								\
 	../libguess/libguess.a							\
 	../libSAD/libSAD.a								\
-	../libeggsmclient/libeggsmclient.a ${SM_LIBS}	\
+	${EGGSM_LIBS}				\
 	${GLIB_LIBS}				\
 	${GTHREAD_LIBS}					\
 	${GTK_LIBS}										\