changeset 1861:cbcb6d2154bd

arts -> new buildsys.
author Jonathan Schleifer <js@h3c.de>
date Mon, 24 Sep 2007 22:35:27 +0200
parents 7e57a32c53e4
children d9d4b258fbf1
files src/arts/Makefile src/arts/arts_helper/Makefile src/jack/Makefile
diffstat 3 files changed, 21 insertions(+), 25 deletions(-) [+]
line wrap: on
line diff
--- a/src/arts/Makefile	Mon Sep 24 22:30:08 2007 +0200
+++ b/src/arts/Makefile	Mon Sep 24 22:35:27 2007 +0200
@@ -1,17 +1,16 @@
-include ../../mk/rules.mk
-include ../../mk/init.mk
-
 SUBDIRS = arts_helper
 
-SOURCES = arts.c configure.c audio.c convert.c
-
-OBJECTIVE_LIBS = libarts$(SHARED_SUFFIX)
-
-LIBDIR = $(plugindir)/$(OUTPUT_PLUGIN_DIR)
+PLUGIN = arts${PLUGIN_SUFFIX}
+SRCS = arts.c		\
+       configure.c	\
+       audio.c		\
+       convert.c
 
-CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) -Wall $(ARTSC_CFLAGS) -I../../intl -I../..
-LIBADD = $(GTK_LIBS) $(GLIB_LIBS) $(PANGO_LIBS) $(ARTSC_LIBS) -lpthread
+plugindir = audacious/${OUTPUT_PLUGIN_DIR}
 
-OBJECTS = ${SOURCES:.c=.o}
+include ../../buildsys.mk
+include ../../extra.mk
 
-include ../../mk/objective.mk
+CPPFLAGS += ${PLUGIN_CPPFLAGS} ${MOWGLI_CFLAGS} ${GTK_CFLAGS} ${GLIB_CFLAGS} ${PANGO_CFLAGS} ${ARTSC_CFLAGS} -I../../intl -I../..
+CFLAGS += ${PLUGIN_CFLAGS}
+LIBS += ${GTK_LIBS} ${GLIB_LIBS} ${PANGO_LIBS} ${ARTSC_LIBS} -lpthread
--- a/src/arts/arts_helper/Makefile	Mon Sep 24 22:30:08 2007 +0200
+++ b/src/arts/arts_helper/Makefile	Mon Sep 24 22:35:27 2007 +0200
@@ -1,15 +1,10 @@
-include ../../../mk/rules.mk
-include ../../../mk/init.mk
-
-SOURCES = arts_helper.c
-
-OBJECTIVE_BINS = audacious-arts-helper
+PROG = audacious-arts-helper
+SRCS = arts_helper.c
 
-LDFLAGS = -Wl,-export-dynamic
-LIBADD = $(ARTSC_LIBS)
+include ../../../buildsys.mk
+include ../../../extra.mk
 
-CFLAGS += $(ARTSC_CFLAGS) -I../../../intl -I../../..
+LDFLAGS += -Wl,-export-dynamic
+LIBS += ${ARTSC_LIBS}
 
-OBJECTS = ${SOURCES:.c=.o}
-
-include ../../../mk/objective.mk
+CPPFLAGS += ${ARTSC_CFLAGS} -I../../../intl -I../../..
--- a/src/jack/Makefile	Mon Sep 24 22:30:08 2007 +0200
+++ b/src/jack/Makefile	Mon Sep 24 22:35:27 2007 +0200
@@ -1,5 +1,7 @@
 PLUGIN = jackout${PLUGIN_SUFFIX}
-SRCS = jack.c configure.c bio2jack.c
+SRCS = jack.c		\
+       configure.c	\
+       bio2jack.c
 
 plugindir = audacious/${OUTPUT_PLUGIN_DIR}