changeset 1798:ef7894bd0c22

filewriter: Mk2
author William Pitcock <nenolod@atheme.org>
date Mon, 24 Sep 2007 12:36:53 -0500
parents c66d632520d1
children cae98a7eef82
files src/filewriter/Makefile
diffstat 1 files changed, 9 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/src/filewriter/Makefile	Mon Sep 24 12:33:34 2007 -0500
+++ b/src/filewriter/Makefile	Mon Sep 24 12:36:53 2007 -0500
@@ -1,15 +1,12 @@
-include ../../mk/rules.mk
-include ../../mk/init.mk
+include ../../extra.mk
 
-OBJECTIVE_LIBS = libfilewriter$(SHARED_SUFFIX)
-
-LIBDIR = $(plugindir)/$(OUTPUT_PLUGIN_DIR)
+PLUGIN = filewriter$(SHARED_SUFFIX)
+plugindir = audacious/$(OUTPUT_PLUGIN_DIR)
 
-LIBADD = $(GTK_LIBS) ${FILEWRITER_LIBS}
-SOURCES = filewriter.c wav.c mp3.c vorbis.c flac.c
+SRCS = filewriter.c wav.c mp3.c vorbis.c flac.c
+
+include ../../buildsys.mk
 
-OBJECTS = ${SOURCES:.c=.o}
-
-CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) -I../../intl -I../.. -Wall
-
-include ../../mk/objective.mk
+CFLAGS += $(PLUGIN_CFLAGS)
+CPPFLAGS += $(PLUGIN_CPPFLAGS) $(GLIB_CFLAGS) $(GTK_CFLAGS) $(PANGO_CFLAGS) $(MOWGLI_CFLAGS) $(DBUS_CFLAGS) -I../../intl -I../.. -Wall
+LIBS += $(GTK_LIBS) ${FILEWRITER_LIBS}