changeset 1787:f9b1498c06f4

tta: Mk2
author William Pitcock <nenolod@atheme.org>
date Mon, 24 Sep 2007 12:14:25 -0500
parents 5a7c84857361
children da78a435e90e 2d37dbee0d12
files src/tta/Makefile src/tta/libtta.c
diffstat 2 files changed, 8 insertions(+), 15 deletions(-) [+]
line wrap: on
line diff
--- a/src/tta/Makefile	Mon Sep 24 12:11:14 2007 -0500
+++ b/src/tta/Makefile	Mon Sep 24 12:14:25 2007 -0500
@@ -1,17 +1,12 @@
-include ../../mk/rules.mk
-include ../../mk/init.mk
+include ../../extra.mk
 
-OBJECTIVE_LIBS = libtta$(SHARED_SUFFIX)
-
-LIBDIR = $(plugindir)/$(INPUT_PLUGIN_DIR)
-
-SOURCES = libtta.c ttadec.c
+PLUGIN = tta$(PLUGIN_SUFFIX)
+plugindir = audacious/$(INPUT_PLUGIN_DIR)
 
-OBJECTS = ${SOURCES:.c=.o}
+SRCS = libtta.c ttadec.c
 
-CFLAGS += -fPIC -DPIC $(GTK_CFLAGS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) -I../../intl -I../..
+include ../../buildsys.mk
 
-LDFLAGS += $(AUDLDFLAGS)
-LIBADD = -L$(libdir) -laudid3tag $(GTK_LIBS) $(GLIB_LIBS) $(PANGO_LIBS)
-
-include ../../mk/objective.mk
+CFLAGS += $(PLUGIN_CFLAGS)
+CPPFLAGS += $(MOWGLI_CFLAGS) $(DBUS_CFLAGS) $(GTK_CFLAGS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) -I../../intl -I../..
+LIBS += -L$(libdir) -laudid3tag $(GTK_LIBS) $(GLIB_LIBS) $(PANGO_LIBS)
--- a/src/tta/libtta.c	Mon Sep 24 12:11:14 2007 -0500
+++ b/src/tta/libtta.c	Mon Sep 24 12:14:25 2007 -0500
@@ -28,9 +28,7 @@
  * information.
  */
 
-#ifdef HAVE_CONFIG_H
 #include "config.h"
-#endif
 
 #include <stdio.h>
 #include <stdlib.h>