Mercurial > audlegacy-plugins
changeset 1833:15e7d3473974
paranormal: MK2
author | William Pitcock <nenolod@atheme.org> |
---|---|
date | Mon, 24 Sep 2007 13:57:28 -0500 |
parents | 8b5fbdd98c0e |
children | 9082ea1df2b9 |
files | src/paranormal/Makefile src/paranormal/cfg.c src/paranormal/libcalc/Makefile src/paranormal/paranormal.c src/paranormal/plugin.c |
diffstat | 5 files changed, 20 insertions(+), 37 deletions(-) [+] |
line wrap: on
line diff
--- a/src/paranormal/Makefile Mon Sep 24 13:50:19 2007 -0500 +++ b/src/paranormal/Makefile Mon Sep 24 13:57:28 2007 -0500 @@ -1,15 +1,7 @@ -include ../../mk/rules.mk -include ../../mk/init.mk - -OBJECTIVE_LIBS = libparanormal$(SHARED_SUFFIX) +PLUGIN = paranormal$(PLUGIN_SUFFIX) +plugindir = audacious/$(VISUALIZATION_PLUGIN_DIR) -SUBDIRS = libcalc presets - -LIBDIR = $(plugindir)/$(VISUALIZATION_PLUGIN_DIR) - -LIBADD = $(GTK_LIBS) $(GLIB_LIBS) $(PANGO_LIBS) $(XML_LIBS) $(SDL_LIBS) libcalc/libcalc.a - -SOURCES = \ +SRCS = \ actuators.c \ beatdetect.c \ builtins.c \ @@ -26,10 +18,14 @@ wave.c \ xform.c -OBJECTS = ${SOURCES:.c=.o} +EXT_DEPS = libcalc/libcalc.a -LIBDEP = libcalc/libcalc.a +include ../../buildsys.mk +include ../../extra.mk -CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) $(ARCH_DEFINES) $(XML_CPPFLAGS) $(SDL_CFLAGS) -I../../intl -I../.. +SUBDIRS = libcalc presets -include ../../mk/objective.mk +CFLAGS += $(PLUGIN_CFLAGS) +CPPFLAGS += $(MOWGLI_CFLAGS) $(DBUS_CFLAGS) $(GTK_CFLAGS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) $(ARCH_DEFINES) $(XML_CPPFLAGS) $(SDL_CFLAGS) -I../../intl \ + -I../.. -I. +LIBS += $(GTK_LIBS) $(GLIB_LIBS) $(PANGO_LIBS) $(XML_LIBS) $(SDL_LIBS) libcalc/libcalc.a
--- a/src/paranormal/cfg.c Mon Sep 24 13:50:19 2007 -0500 +++ b/src/paranormal/cfg.c Mon Sep 24 13:57:28 2007 -0500 @@ -1,9 +1,7 @@ /* FIXME: prevent the user from dragging something above the root actuator */ -#ifdef HAVE_CONFIG_H -# include <config.h> -#endif +#include <config.h> #include <glib.h> #include <gtk/gtk.h>
--- a/src/paranormal/libcalc/Makefile Mon Sep 24 13:50:19 2007 -0500 +++ b/src/paranormal/libcalc/Makefile Mon Sep 24 13:57:28 2007 -0500 @@ -1,16 +1,9 @@ -include ../../../mk/rules.mk -include ../../../mk/init.mk +STATIC_LIB_NOINST = libcalc.a -OBJECTIVE_LIBS_NOINST = libcalc.a - -LIBDIR = $(plugindir)/$(VISUALIZATION_PLUGIN_DIR) +SRCS = dict.c execute.c function.c parser.c storage.c -LIBADD = $(GTK_LIBS) $(XML_LIBS) $(SDL_LIBS) - -SOURCES = dict.c execute.c function.c parser.c storage.c +include ../../../extra.mk +include ../../../buildsys.mk -OBJECTS = ${SOURCES:.c=.o} - -CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(ARCH_DEFINES) $(XML_CPPFLAGS) $(SDL_CFLAGS) -I../../intl -I../.. - -include ../../../mk/objective.mk +CFLAGS += $(PLUGIN_CFLAGS) +CPPFLAGS += $(PLUGIN_CPPFLAGS) $(GTK_CFLAGS) $(ARCH_DEFINES) $(XML_CPPFLAGS) $(SDL_CFLAGS) -I../../intl -I../..
--- a/src/paranormal/paranormal.c Mon Sep 24 13:50:19 2007 -0500 +++ b/src/paranormal/paranormal.c Mon Sep 24 13:57:28 2007 -0500 @@ -1,8 +1,6 @@ /* FIXME: add fullscreen / screenshots */ -#ifdef HAVE_CONFIG_H -# include <config.h> -#endif +#include <config.h> #include <sys/types.h> #include <sys/stat.h>