diff src/pulse_audio/Makefile @ 1853:56a0c3edc410

pulse_audio: MK2
author William Pitcock <nenolod@atheme.org>
date Mon, 24 Sep 2007 14:26:42 -0500
parents 550c9e382cf8
children a56a26a5f233
line wrap: on
line diff
--- a/src/pulse_audio/Makefile	Mon Sep 24 14:24:14 2007 -0500
+++ b/src/pulse_audio/Makefile	Mon Sep 24 14:26:42 2007 -0500
@@ -1,15 +1,11 @@
-include ../../mk/rules.mk
-include ../../mk/init.mk
+PLUGIN = pulse_audio${PLUGIN_SUFFIX}
+SRCS = pulse_audio.c
 
-OBJECTIVE_LIBS = libpulse_audio$(SHARED_SUFFIX)
-
-LIBDIR = $(plugindir)/$(OUTPUT_PLUGIN_DIR)
+plugindir = audacious/${OUTPUT_PLUGIN_DIR}
 
-LIBADD = $(GTK_LIBS) $(GLIB_LIBS) $(PANGO_LIBS) -lpulse
-SOURCES = pulse_audio.c
+include ../../buildsys.mk
+include ../../extra.mk
 
-OBJECTS = ${SOURCES:.c=.o}
-
-CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) -I../../intl -I../..
-
-include ../../mk/objective.mk
+CPPFLAGS += ${PLUGIN_CPPFLAGS} ${BEEP_DEFINES} ${MOWGLI_CFLAGS} ${GTK_CFLAGS} ${GLIB_CFLAGS} ${PANGO_CFLAGS} -I../../intl -I../..
+CFLAGS += ${PLUGIN_CFLAGS}
+LIBS += -lpulse ${GTK_LIBS} ${GLIB_LIBS} ${PANGO_LIBS}