changeset 1783:95c7d02a2092

musepack: Mk2
author William Pitcock <nenolod@atheme.org>
date Mon, 24 Sep 2007 11:56:34 -0500
parents f1bebcb97ed6
children add71276abfc
files src/musepack/Makefile
diffstat 1 files changed, 8 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/src/musepack/Makefile	Mon Sep 24 11:54:41 2007 -0500
+++ b/src/musepack/Makefile	Mon Sep 24 11:56:34 2007 -0500
@@ -1,16 +1,13 @@
-include ../../mk/rules.mk
-include ../../mk/init.mk
+include ../../extra.mk
 
-OBJECTIVE_LIBS = libmpc$(SHARED_SUFFIX)
+PLUGIN = musepack$(PLUGIN_SUFFIX)
+plugindir = audacious/$(INPUT_PLUGIN_DIR)
 
-LIBDIR = $(plugindir)/$(INPUT_PLUGIN_DIR)
+SRCS = libmpc.cxx
 
-SOURCES = libmpc.cxx
-
-LIBADD = -lmpcdec $(TAGLIB_LIBS) $(GTK_LIBS) $(GLIB_LIBS) $(PANGO_LIBS)
+include ../../buildsys.mk
 
-OBJECTS = ${SOURCES:.cxx=.o}
+LIBS += -lmpcdec $(TAGLIB_LIBS) $(GTK_LIBS) $(GLIB_LIBS) $(PANGO_LIBS)
 
-CXXFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) $(TAGLIB_CFLAGS) -I../../intl -I../..
-
-include ../../mk/objective.mk
+CXXFLAGS += $(PLUGIN_CFLAGS)
+CPPFLAGS += $(MOWGLI_CFLAGS) $(DBUS_CFLAGS) $(GTK_CFLAGS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) $(TAGLIB_CFLAGS) -I../../intl -I../..