changeset 1838:4f3fab9d1993

song_change: MK2
author William Pitcock <nenolod@atheme.org>
date Mon, 24 Sep 2007 14:03:20 -0500
parents 528877ebbea2
children 4e8ed7dff435
files src/song_change/Makefile
diffstat 1 files changed, 8 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/src/song_change/Makefile	Mon Sep 24 14:00:31 2007 -0500
+++ b/src/song_change/Makefile	Mon Sep 24 14:03:20 2007 -0500
@@ -1,16 +1,11 @@
-include ../../mk/rules.mk
-include ../../mk/init.mk
+PLUGIN = song_change${PLUGIN_SUFFIX}
+SRCS = song_change.c
 
-OBJECTIVE_LIBS = libsong_change$(SHARED_SUFFIX)
-
-LIBDIR = $(plugindir)/$(GENERAL_PLUGIN_DIR)
+plugindir = audacious/${GENERAL_PLUGIN_DIR}
 
-LIBADD = $(GTK_LIBS) $(GLIB_LIBS) $(PANGO_LIBS)
-
-SOURCES = song_change.c
+include ../../buildsys.mk
+include ../../extra.mk
 
-OBJECTS = ${SOURCES:.c=.o}
-
-CFLAGS += $(PICFLAGS) $(BEEP_DEFINES) $(GTK_CFLAGS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) -I../../intl -I../..
-
-include ../../mk/objective.mk
+CPPFLAGS += ${PLUGIN_CPPFLAGS} ${BEEP_DEFINES} ${MOWGLI_CFLAGS} ${GTK_CFLAGS} ${GLIB_CFLAGS} ${PANGO_CFLAGS} -I../../intl -I../..
+CFLAGS += ${PLUGIN_CFLAGS}
+LIBADD = ${GTK_LIBS} ${GLIB_LIBS} ${PANGO_LIBS}