changeset 1779:64d23e2cf6cc

wavpack: Mk2
author William Pitcock <nenolod@atheme.org>
date Mon, 24 Sep 2007 11:40:08 -0500
parents 7c380a9b2fea
children 2c64b6d44a3c
files src/wavpack/Makefile
diffstat 1 files changed, 8 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/src/wavpack/Makefile	Mon Sep 24 11:37:27 2007 -0500
+++ b/src/wavpack/Makefile	Mon Sep 24 11:40:08 2007 -0500
@@ -1,18 +1,13 @@
-include ../../mk/rules.mk
-include ../../mk/init.mk
+include ../../extra.mk
 
-OBJECTIVE_LIBS = libwavpackplugin$(SHARED_SUFFIX)
-
-LIBDIR = $(plugindir)/$(INPUT_PLUGIN_DIR)
-
-SOURCES = tags.cxx ui.cxx libwavpack.cxx
+PLUGIN = wavpack$(PLUGIN_SUFFIX)
+plugindir = audacious/$(INPUT_PLUGIN_DIR)
+SRCS = tags.cxx ui.cxx libwavpack.cxx
 
-LIBADD = -L/usr/local/lib $(WAVPACK_LIBS) $(GTK_LIBS) $(GLIB_LIBS) $(PANGO_LIBS)
-
-CXXFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) $(WAVPACK_CFLAGS) -I../../intl -I../..
+include ../../buildsys.mk
 
-LDFLAGS += -lstdc++
+CPPFLAGS += $(DBUS_CFLAGS) $(MOWGLI_CFLAGS) $(GTK_CFLAGS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) $(WAVPACK_CFLAGS) -I../../intl -I../..
+CXXFLAGS += $(PLUGIN_CFLAGS)
 
-OBJECTS = ${SOURCES:.cxx=.o}
+LIBS += -L/usr/local/lib $(WAVPACK_LIBS) $(GTK_LIBS) $(GLIB_LIBS) $(PANGO_LIBS) -lstdc++
 
-include ../../mk/objective.mk