changeset 1830:8b5fbdd98c0e

rocklight: MK2
author William Pitcock <nenolod@atheme.org>
date Mon, 24 Sep 2007 13:50:19 -0500
parents ea3c52c59deb
children 256f65a37e15 15e7d3473974
files src/rocklight/Makefile
diffstat 1 files changed, 8 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/src/rocklight/Makefile	Mon Sep 24 13:49:32 2007 -0500
+++ b/src/rocklight/Makefile	Mon Sep 24 13:50:19 2007 -0500
@@ -1,16 +1,11 @@
-include ../../mk/rules.mk
-include ../../mk/init.mk
+PLUGIN = rocklight${PLUGIN_SUFFIX}
+SRCS = rocklight.c sysled.c thinklight.c
 
-OBJECTIVE_LIBS = librocklight$(SHARED_SUFFIX)
-
-LIBDIR = $(plugindir)/$(VISUALIZATION_PLUGIN_DIR)
+plugindir = audacious/${VISUALIZATION_PLUGIN_DIR}
 
-LIBADD = $(GTK_LIBS) $(GLIB_LIBS) $(PANGO_LIBS)
-
-SOURCES = rocklight.c thinklight.c sysled.c
+include ../../buildsys.mk
+include ../../extra.mk
 
-OBJECTS = ${SOURCES:.c=.o}
-
-CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) $(ARCH_DEFINES) -I../../intl -I../..
-
-include ../../mk/objective.mk
+CPPFLAGS += ${PLUGIN_CPPFLAGS} ${MOWGLI_CFLAGS} ${GTK_CFLAGS} ${GLIB_CFLAGS} ${PANGO_CFLAGS} -I../../intl -I../..
+CFLAGS += ${PLUGIN_CFLAGS}
+LIBADD = ${GTK_LIBS} ${GLIB_LIBS} ${PANGO_LIBS}