changeset 1776:cd28934add64

madplug: Mk2
author William Pitcock <nenolod@atheme.org>
date Mon, 24 Sep 2007 11:30:40 -0500
parents c78a88954801
children 4a200593472d
files src/madplug/Makefile
diffstat 1 files changed, 8 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/src/madplug/Makefile	Mon Sep 24 11:27:01 2007 -0500
+++ b/src/madplug/Makefile	Mon Sep 24 11:30:40 2007 -0500
@@ -1,11 +1,9 @@
-include ../../mk/rules.mk
-include ../../mk/init.mk
+include ../../extra.mk
 
-OBJECTIVE_LIBS = libmadplug$(SHARED_SUFFIX)
+PLUGIN = madplug$(PLUGIN_SUFFIX)
+plugindir = audacious/$(INPUT_PLUGIN_DIR)
 
-LIBDIR = $(plugindir)/$(INPUT_PLUGIN_DIR)
-
-SOURCES = \
+SRCS = \
   configure.c \
   dither.c \
   input.c \
@@ -15,11 +13,8 @@
   plugin.c \
   xing.c
 
-OBJECTS = ${SOURCES:.c=.o}
-
-CFLAGS   += $(PICFLAGS) $(GTK_CFLAGS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) $(ARCH_DEFINES) $(SIMD_CFLAGS) -I../../intl -I../.. -Wall
+include ../../buildsys.mk
 
-LDFLAGS += $(AUDLDFLAGS)
-LIBADD = -L/opt/local/lib -L$(libdir) -laudid3tag -lmad $(GTK_LIBS) $(GLIB_LIBS) $(PANGO_LIBS)
-
-include ../../mk/objective.mk
+CFLAGS   += $(PICFLAGS) $(SIMD_CFLAGS) -Wall
+CPPFLAGS += $(DBUS_CFLAGS) $(GTK_CFLAGS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) $(MOWGLI_CFLAGS) $(ARCH_DEFINES) -I../..
+LIBS += -L/opt/local/lib -L$(libdir) -laudid3tag -lmad $(GTK_LIBS) $(GLIB_LIBS) $(PANGO_LIBS)