diff src/sun/Makefile @ 2006:a56a26a5f233

Revised the plugindir logic.
author Eugene Paskevich <eugene@raptor.kiev.ua>
date Wed, 10 Oct 2007 01:40:13 +0300
parents 95685713a865
children 1ad002ce1bd0
line wrap: on
line diff
--- a/src/sun/Makefile	Tue Oct 09 22:39:32 2007 +0300
+++ b/src/sun/Makefile	Wed Oct 10 01:40:13 2007 +0300
@@ -1,3 +1,4 @@
+PLUGIN = sun$(PLUGIN_SUFFIX)
 SRCS =	sun.c	    \
 	audio.c	    \
 	convert.c   \
@@ -5,13 +6,11 @@
 	configure.c \
 	about.c
 
-PLUGIN = sun$(PLUGIN_SUFFIX)
-plugindir = audacious/$(OUTPUT_PLUGIN_DIR)
-
 include ../../buildsys.mk
 include ../../extra.mk
 
+plugindir := $(plugindir)/$(OUTPUT_PLUGIN_DIR)
+
 CFLAGS += $(PLUGIN_CFLAGS)
 CPPFLAGS += $(PLUGIN_CPPFLAGS) $(MOWGLI_CFLAGS) $(DBUS_CFLAGS) $(GTK_CFLAGS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) -I../../intl -I../..
 LIBS += $(GTK_LIBS) $(GLIB_LIBS) $(PANGO_LIBS)
-