# HG changeset patch # User William Pitcock # Date 1190662425 18000 # Node ID 3279ac89d0dc2fb794abea02d6ac2059195a384d # Parent 1c83fb938c890af18e839aeac88dbf180322f6cf CoreAudio: MK2 diff -r 1c83fb938c89 -r 3279ac89d0dc src/CoreAudio/Makefile --- 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}