changeset 1807:562e7f9bb661

audiocompress -> new buildsys.
author Jonathan Schleifer <js@h3c.de>
date Mon, 24 Sep 2007 19:54:22 +0200
parents ec6c92d79a16
children 7de4914cd8c8
files src/audiocompress/Makefile src/audiocompress/audacious-glue.c
diffstat 2 files changed, 10 insertions(+), 16 deletions(-) [+]
line wrap: on
line diff
--- a/src/audiocompress/Makefile	Mon Sep 24 19:51:27 2007 +0200
+++ b/src/audiocompress/Makefile	Mon Sep 24 19:54:22 2007 +0200
@@ -1,16 +1,12 @@
-include ../../mk/rules.mk
-include ../../mk/init.mk
+PLUGIN = baudiocompress${PLUGIN_SUFFIX}
+SRCS = compress.c	\
+       audacious-glue.c
 
-OBJECTIVE_LIBS = libaudiocompress$(SHARED_SUFFIX)
-
-LIBDIR = $(plugindir)/$(EFFECT_PLUGIN_DIR)
+plugindir = audacious/${EFFECT_PLUGIN_DIR}
 
-LIBADD = $(GTK_LIBS) $(GLIB_LIBS) $(PANGO_LIBS)
-
-SOURCES = compress.c audacious-glue.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/audiocompress/audacious-glue.c	Mon Sep 24 19:51:27 2007 +0200
+++ b/src/audiocompress/audacious-glue.c	Mon Sep 24 19:54:22 2007 +0200
@@ -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>