diff src/vorbis/Makefile @ 1777:4a200593472d

vorbis: Mk2
author William Pitcock <nenolod@atheme.org>
date Mon, 24 Sep 2007 11:33:35 -0500
parents 0618841906ca
children eed7c270e8dd
line wrap: on
line diff
--- a/src/vorbis/Makefile	Mon Sep 24 11:30:40 2007 -0500
+++ b/src/vorbis/Makefile	Mon Sep 24 11:33:35 2007 -0500
@@ -1,16 +1,12 @@
-include ../../mk/rules.mk
-include ../../mk/init.mk
+include ../../extra.mk
 
-OBJECTIVE_LIBS = libvorbisplugin$(SHARED_SUFFIX)
-
-LIBDIR = $(plugindir)/$(INPUT_PLUGIN_DIR)
+PLUGIN = vorbis$(PLUGIN_SUFFIX)
+plugindir = audacious/$(INPUT_PLUGIN_DIR)
 
-SOURCES = configure.c  fileinfo.c  vcedit.c  vorbis.c
+SRCS = configure.c  fileinfo.c  vcedit.c  vorbis.c
 
-OBJECTS = ${SOURCES:.c=.o}
+include ../../buildsys.mk
 
-LIBADD = $(OGG_VORBIS_LIBS) $(GTK_LIBS) $(GLIB_LIBS) $(PANGO_LIBS)
-
-CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) -I../../intl -I../..
-
-include ../../mk/objective.mk
+LIBS += $(OGG_VORBIS_LIBS) $(GTK_LIBS) $(GLIB_LIBS) $(PANGO_LIBS)
+CFLAGS += $(PLUGIN_CFLAGS)
+CPPFLAGS += $(MOWGLI_CFLAGS) $(DBUS_CFLAGS) $(OGG_VORBIS_CFLAGS) $(GTK_CFLAGS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) -I../../intl -I../..