changeset 1775:c78a88954801

vtx: Mk2
author William Pitcock <nenolod@atheme.org>
date Mon, 24 Sep 2007 11:27:01 -0500
parents 126bd42ca8a7
children cd28934add64
files src/vtx/Makefile src/vtx/vtx.h
diffstat 2 files changed, 8 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- a/src/vtx/Makefile	Mon Sep 24 11:24:41 2007 -0500
+++ b/src/vtx/Makefile	Mon Sep 24 11:27:01 2007 -0500
@@ -1,16 +1,12 @@
-include ../../mk/rules.mk
-include ../../mk/init.mk
+include ../../extra.mk
 
-OBJECTIVE_LIBS = libvtx$(SHARED_SUFFIX)
-
-LIBDIR = $(plugindir)/$(INPUT_PLUGIN_DIR)
+PLUGIN = vtx$(SHARED_SUFFIX)
+plugindir = audacious/$(INPUT_PLUGIN_DIR)
 
-SOURCES = lh5dec.c ay8912.c about.c config.c info.c vtx.c vtxfile.c 
+SRCS = about.c  ay8912.c  config.c  info.c  lh5dec.c  vtx.c  vtxfile.c
 
-OBJECTS = ${SOURCES:.c=.o}
+include ../../buildsys.mk
 
-LIBADD = $(VTX_LIBS)
-
-CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) -I. -I../../intl -I../.. -I../..
-
-include ../../mk/objective.mk
+CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) $(ARCH_DEFINES) -I../../intl -I../.. -Wall
+CPPFLAGS = $(CFLAGS) -I.
+LIBS += $(GTK_LIBS) $(GLIB_LIBS) $(PANGO_LIBS)
--- a/src/vtx/vtx.h	Mon Sep 24 11:24:41 2007 -0500
+++ b/src/vtx/vtx.h	Mon Sep 24 11:27:01 2007 -0500
@@ -1,9 +1,7 @@
 #ifndef VTX_H
 #define VTX_H
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include <pthread.h>