changeset 1769:a7f2da557c38

wav: Mk2
author William Pitcock <nenolod@atheme.org>
date Mon, 24 Sep 2007 11:17:13 -0500
parents e75a4add2e4b
children af8c3e5a9f61
files src/wav/Makefile
diffstat 1 files changed, 8 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/src/wav/Makefile	Mon Sep 24 11:15:37 2007 -0500
+++ b/src/wav/Makefile	Mon Sep 24 11:17:13 2007 -0500
@@ -1,16 +1,13 @@
-include ../../mk/rules.mk
-include ../../mk/init.mk
+include ../../extra.mk
 
-OBJECTIVE_LIBS = libwav$(SHARED_SUFFIX)
+PLUGIN = libwav$(PLUGIN_SUFFIX)
+plugindir = audacious/$(INPUT_PLUGIN_DIR)
 
-LIBDIR = $(plugindir)/$(INPUT_PLUGIN_DIR)
+SRCS = wav$(WAV_SNDFILE).c
 
-SOURCES = wav$(WAV_SNDFILE).c
-
-LIBADD = -L/usr/local/lib $(SNDFILE_LIBS) $(GTK_LIBS) $(GLIB_LIBS) $(PANGO_LIBS)
+include ../../buildsys.mk
 
-CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) -I../../intl -I../.. -Wall
+CFLAGS += $(PLUGIN_CFLAGS)
+CPPFLAGS += $(MOWGLI_CFLAGS) $(GTK_CFLAGS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) -I../../intl -I../.. -Wall
+LIBS += -L/usr/local/lib $(MOWGLI_LIBS) $(SNDFILE_LIBS) $(GTK_LIBS) $(GLIB_LIBS) $(PANGO_LIBS)
 
-OBJECTS = ${SOURCES:.c=.o}
-
-include ../../mk/objective.mk