changeset 1810:f1b594fa80ce

audiocompress: Mk2
author William Pitcock <nenolod@atheme.org>
date Mon, 24 Sep 2007 13:00:11 -0500
parents efa9fa7c699b
children 3e2480ad8cfc
files src/audiocompress/Makefile src/audiocompress/audacious-glue.c
diffstat 2 files changed, 9 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- a/src/audiocompress/Makefile	Mon Sep 24 12:55:56 2007 -0500
+++ b/src/audiocompress/Makefile	Mon Sep 24 13:00:11 2007 -0500
@@ -1,16 +1,13 @@
-include ../../mk/rules.mk
-include ../../mk/init.mk
+include ../../extra.mk
 
-OBJECTIVE_LIBS = libaudiocompress$(SHARED_SUFFIX)
+PLUGIN = audiocompress$(SHARED_SUFFIX)
+plugindir = audacious/$(EFFECT_PLUGIN_DIR)
 
-LIBDIR = $(plugindir)/$(EFFECT_PLUGIN_DIR)
+SRCS = compress.c audacious-glue.c
 
-LIBADD = $(GTK_LIBS) $(GLIB_LIBS) $(PANGO_LIBS)
-
-SOURCES = compress.c audacious-glue.c
+include ../../buildsys.mk
 
-CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) -I../../intl -I../..
+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)
 
-OBJECTS = ${SOURCES:.c=.o}
-
-include ../../mk/objective.mk
--- a/src/audiocompress/audacious-glue.c	Mon Sep 24 12:55:56 2007 -0500
+++ b/src/audiocompress/audacious-glue.c	Mon Sep 24 13:00:11 2007 -0500
@@ -2,9 +2,7 @@
 ** Audacious effect plugin for AudioCompress
 */
 
-#ifdef HAVE_CONFIG_H
-# include "../../config.h"
-#endif
+#include "../../config.h"
 
 #include <stdio.h>
 #include <stdlib.h>