changeset 1898:95685713a865

sun: transition to new buildsystem
author William Pitcock <nenolod@atheme.org>
date Wed, 26 Sep 2007 16:13:38 -0500
parents 65717457fcab
children 5af55c925d6e
files src/sun/Makefile
diffstat 1 files changed, 14 insertions(+), 16 deletions(-) [+]
line wrap: on
line diff
--- a/src/sun/Makefile	Wed Sep 26 13:29:15 2007 -0500
+++ b/src/sun/Makefile	Wed Sep 26 16:13:38 2007 -0500
@@ -1,19 +1,17 @@
-include ../../mk/rules.mk
-include ../../mk/init.mk
-
-sunsources =	sun.c	    \
-		audio.c	    \
-		convert.c   \
-		mixer.c	    \
-		configure.c \
-		about.c
+SRCS =	sun.c	    \
+	audio.c	    \
+	convert.c   \
+	mixer.c	    \
+	configure.c \
+	about.c
 
-LIBDIR = $(plugindir)/$(OUTPUT_PLUGIN_DIR)
-OBJECTIVE_LIBS = libsun$(SHARED_SUFFIX)
+PLUGIN = sun$(PLUGIN_SUFFIX)
+plugindir = audacious/$(OUTPUT_PLUGIN_DIR)
 
-CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) -I../../intl -I../..
-LIBADD = $(GTK_LIBS) $(GLIB_LIBS) $(PANGO_LIBS)
-SOURCES= $(sunsources)
-OBJECTS= ${SOURCES:.c=.o}
+include ../../buildsys.mk
+include ../../extra.mk
 
-include ../../mk/objective.mk
+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)
+