changeset 1777:4a200593472d

vorbis: Mk2
author William Pitcock <nenolod@atheme.org>
date Mon, 24 Sep 2007 11:33:35 -0500
parents cd28934add64
children 7c380a9b2fea
files src/vorbis/Makefile src/vorbis/configure.c src/vorbis/fileinfo.c src/vorbis/vorbis.c
diffstat 4 files changed, 11 insertions(+), 21 deletions(-) [+]
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../..
--- a/src/vorbis/configure.c	Mon Sep 24 11:30:40 2007 -0500
+++ b/src/vorbis/configure.c	Mon Sep 24 11:33:35 2007 -0500
@@ -1,6 +1,4 @@
-#ifdef HAVE_CONFIG_H
-#  include "config.h"
-#endif
+#include "config.h"
 
 #include "vorbis.h"
 
--- a/src/vorbis/fileinfo.c	Mon Sep 24 11:30:40 2007 -0500
+++ b/src/vorbis/fileinfo.c	Mon Sep 24 11:33:35 2007 -0500
@@ -21,9 +21,7 @@
  *
  */
 
-#ifdef HAVE_CONFIG_H
-#  include "config.h"
-#endif
+#include "config.h"
 
 #include <glib.h>
 #include <gtk/gtk.h>
--- a/src/vorbis/vorbis.c	Mon Sep 24 11:30:40 2007 -0500
+++ b/src/vorbis/vorbis.c	Mon Sep 24 11:33:35 2007 -0500
@@ -31,9 +31,7 @@
  * thread-safe.
  */
 
-#ifdef HAVE_CONFIG_H
-#  include "config.h"
-#endif
+#include "config.h"
 
 #define DEBUG