changeset 1822:12dc11eabb3c

ladspa: Mk2
author William Pitcock <nenolod@atheme.org>
date Mon, 24 Sep 2007 13:18:22 -0500
parents eee1f51296ed
children 37d1f20643d2
files src/ladspa/Makefile
diffstat 1 files changed, 8 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/src/ladspa/Makefile	Mon Sep 24 13:12:17 2007 -0500
+++ b/src/ladspa/Makefile	Mon Sep 24 13:18:22 2007 -0500
@@ -1,16 +1,11 @@
-include ../../mk/rules.mk
-include ../../mk/init.mk
+PLUGIN = ladspa${PLUGIN_SUFFIX}
+SRCS = ladspa.c
 
-OBJECTIVE_LIBS = libladspa$(SHARED_SUFFIX)
-
-LIBDIR = $(plugindir)/$(EFFECT_PLUGIN_DIR)
+plugindir = audacious/${EFFECT_PLUGIN_DIR}
 
-LIBADD = $(GTK_LIBS) $(GLIB_LIBS) $(PANGO_LIBS)
-
-SOURCES = ladspa.c
+include ../../buildsys.mk
+include ../../extra.mk
 
-CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) -I../../intl -I../..
-
-OBJECTS = ${SOURCES:.c=.o}
-
-include ../../mk/objective.mk
+CPPFLAGS += ${PLUGIN_CPPFLAGS} ${MOWGLI_CFLAGS} ${GTK_CFLAGS} ${GLIB_CFLAGS} ${PANGO_CFLAGS} -I../../intl -I../..
+CFLAGS += ${PLUGIN_CFLAGS}
+LIBADD = ${GTK_LIBS} ${GLIB_LIBS} ${PANGO_LIBS}