changeset 1859:3279ac89d0dc

CoreAudio: MK2
author William Pitcock <nenolod@atheme.org>
date Mon, 24 Sep 2007 14:33:45 -0500
parents 1c83fb938c89
children 7e57a32c53e4
files src/CoreAudio/Makefile
diffstat 1 files changed, 15 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- a/src/CoreAudio/Makefile	Mon Sep 24 14:30:46 2007 -0500
+++ b/src/CoreAudio/Makefile	Mon Sep 24 14:33:45 2007 -0500
@@ -1,17 +1,18 @@
-include ../../mk/rules.mk
-include ../../mk/init.mk
-
-OBJECTIVE_LIBS = libcoreaudio$(SHARED_SUFFIX)
-
-noinst_HEADERS = coreaudio.h
-
-LIBDIR = $(plugindir)/$(OUTPUT_PLUGIN_DIR)
+PLUGIN = CoreAudio${PLUGIN_SUFFIX}
+SRCS = about.c		\
+       configure.c	\
+       coreaudio.c	\
+       init.c		\
+       audio.c		\
+       convert.c	\
+       dbconvert.c	\
+       mixer.c
 
-LIBADD = $(GTK_LIBS) $(GLIB_LIBS) $(PANGO_LIBS) -Wl,-framework,CoreAudio
-SOURCES = coreaudio.c mixer.c about.c configure.c audio.c init.c convert.c dbconvert.c
+plugindir = audacious/${OUTPUT_PLUGIN_DIR}
 
-OBJECTS = ${SOURCES:.c=.o}
+include ../../buildsys.mk
+include ../../extra.mk
 
-CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) -I../..intl -I../..
-
-include ../../mk/objective.mk
+CPPFLAGS += ${PLUGIN_CPPFLAGS} ${MOWGLI_CFLAGS} -I../../intl -I../.. ${GTK_CFLAGS} ${GLIB_CFLAGS} ${PANGO_CFLAGS}
+CFLAGS += ${PLUGIN_CFLAGS}
+LIBS += ${GTK_LIBS} ${GLIB_LIBS} ${PANGO_LIBS}