changeset 1778:7c380a9b2fea

flacng: Mk2
author William Pitcock <nenolod@atheme.org>
date Mon, 24 Sep 2007 11:37:27 -0500
parents 4a200593472d
children 64d23e2cf6cc
files src/flacng/Makefile
diffstat 1 files changed, 8 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/src/flacng/Makefile	Mon Sep 24 11:33:35 2007 -0500
+++ b/src/flacng/Makefile	Mon Sep 24 11:37:27 2007 -0500
@@ -1,16 +1,15 @@
-include ../../mk/rules.mk
-include ../../mk/init.mk
+include ../../extra.mk
 
-OBJECTIVE_LIBS = libflacng$(SHARED_SUFFIX)
+PLUGIN = flacng$(SHARED_SUFFIX)
+plugindir = audacious/$(INPUT_PLUGIN_DIR)
 
-LIBDIR = $(plugindir)/$(INPUT_PLUGIN_DIR)
+SRCS = plugin.c tools.c seekable_stream_callbacks.c flac_compat112.c
 
-LIBADD = $(GTK_LIBS) $(GLIB_LIBS) $(PANGO_LIBS) $(LIBFLAC_LIBS)
+include ../../buildsys.mk
 
-SOURCES = plugin.c tools.c seekable_stream_callbacks.c flac_compat112.c
+LIBS += $(GTK_LIBS) $(GLIB_LIBS) $(PANGO_LIBS) $(LIBFLAC_LIBS)
 
 OBJECTS = ${SOURCES:.c=.o}
 
-CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) -I../../intl -I../.. $(LIBFLAC_CFLAGS) -Wall
-
-include ../../mk/objective.mk
+CFLAGS += $(PLUGIN_CFLAGS)
+CPPFLAGS += $(MOWGLI_CFLAGS) $(DBUS_CFLAGS) $(GTK_CFLAGS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) -I../../intl -I../.. $(LIBFLAC_CFLAGS) -Wall