changeset 1786:5a7c84857361

cdaudio-ng: Mk2
author William Pitcock <nenolod@atheme.org>
date Mon, 24 Sep 2007 12:11:14 -0500
parents d447ee6c8bc0
children f9b1498c06f4
files src/cdaudio-ng/Makefile
diffstat 1 files changed, 8 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/src/cdaudio-ng/Makefile	Mon Sep 24 12:06:17 2007 -0500
+++ b/src/cdaudio-ng/Makefile	Mon Sep 24 12:11:14 2007 -0500
@@ -1,15 +1,13 @@
-include ../../mk/rules.mk
-include ../../mk/init.mk
+include ../../extra.mk
 
-OBJECTIVE_LIBS = libcdaudio-ng$(SHARED_SUFFIX)
+PLUGIN = cdaudio-ng$(PLUGIN_SUFFIX)
+plugindir = audacious/$(INPUT_PLUGIN_DIR)
 
-LIBADD = $(GTK_LIBS) $(GLIB_LIBS) $(PANGO_LIBS) $(CDIO_LIBS) $(CDDB_LIBS)
-LIBDIR = $(plugindir)/$(INPUT_PLUGIN_DIR)
+SRCS = cdaudio-ng.c configure.c
 
-SOURCES = cdaudio-ng.c configure.c
-
-OBJECTS = ${SOURCES:.c=.o}
+include ../../buildsys.mk
 
-CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) $(CDIO_CFLAGS) $(CDDB_CFLAGS) -I../../intl -I../..
+CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) $(ARCH_DEFINES) -Wall
+CPPFLAGS = $(MOWGLI_CFLAGS) $(DBUS_CFLAGS) $(GTK_CFLAGS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) $(CDIO_CFLAGS) $(CDDB_CFLAGS) -I../..
+LIBS += $(GTK_LIBS) $(GLIB_LIBS) $(PANGO_LIBS) $(CDIO_LIBS) $(CDDB_LIBS)
 
-include ../../mk/objective.mk