changeset 1825:cec2ff45e255

echo_plugin: mk2
author William Pitcock <nenolod@atheme.org>
date Mon, 24 Sep 2007 13:20:45 -0500
parents 2391b1359971
children 82d4dc4978fe
files src/echo_plugin/Makefile src/echo_plugin/gui.c
diffstat 2 files changed, 9 insertions(+), 16 deletions(-) [+]
line wrap: on
line diff
--- a/src/echo_plugin/Makefile	Mon Sep 24 13:19:38 2007 -0500
+++ b/src/echo_plugin/Makefile	Mon Sep 24 13:20:45 2007 -0500
@@ -1,16 +1,11 @@
-include ../../mk/rules.mk
-include ../../mk/init.mk
+PLUGIN = echo${PLUGIN_SUFFIX}
+SRCS = echo.c gui.c
 
-OBJECTIVE_LIBS = libecho$(SHARED_SUFFIX)
-
-LIBDIR = $(plugindir)/$(EFFECT_PLUGIN_DIR)
+plugindir = audacious/${EFFECT_PLUGIN_DIR}
 
-LIBADD = $(GTK_LIBS) $(GLIB_LIBS) $(PANGO_LIBS)
-
-SOURCES = echo.c gui.c
+include ../../buildsys.mk
+include ../../extra.mk
 
-CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) -I../../intl -I../..
-
-OBJECTS = ${SOURCES:.c=.o}
-
-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}
--- a/src/echo_plugin/gui.c	Mon Sep 24 13:19:38 2007 -0500
+++ b/src/echo_plugin/gui.c	Mon Sep 24 13:20:45 2007 -0500
@@ -1,6 +1,4 @@
-#ifdef HAVE_CONFIG_H
-# include "config.h"
-#endif
+#include "config.h"
 
 #include <gtk/gtk.h>
 #include <audacious/i18n.h>