changeset 1828:07c11537a0e8

blur_scope: MK2
author William Pitcock <nenolod@atheme.org>
date Mon, 24 Sep 2007 13:48:53 -0500
parents 82d4dc4978fe
children ea3c52c59deb
files src/blur_scope/Makefile src/blur_scope/blur_scope.c src/blur_scope/config.c
diffstat 3 files changed, 10 insertions(+), 20 deletions(-) [+]
line wrap: on
line diff
--- a/src/blur_scope/Makefile	Mon Sep 24 20:20:56 2007 +0200
+++ b/src/blur_scope/Makefile	Mon Sep 24 13:48:53 2007 -0500
@@ -1,16 +1,11 @@
-include ../../mk/rules.mk
-include ../../mk/init.mk
+PLUGIN = blur_scope${PLUGIN_SUFFIX}
+SRCS = blur_scope.c config.c
 
-OBJECTIVE_LIBS = libbscope$(SHARED_SUFFIX)
-
-LIBDIR = $(plugindir)/$(VISUALIZATION_PLUGIN_DIR)
+plugindir = audacious/${VISUALIZATION_PLUGIN_DIR}
 
-LIBADD = $(GTK_LIBS) $(GLIB_LIBS) $(PANGO_LIBS)
-
-SOURCES = blur_scope.c config.c
+include ../../buildsys.mk
+include ../../extra.mk
 
-OBJECTS = ${SOURCES:.c=.o}
-
-CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) $(ARCH_DEFINES) -I../../intl -I../..
-
-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}
--- a/src/blur_scope/blur_scope.c	Mon Sep 24 20:20:56 2007 +0200
+++ b/src/blur_scope/blur_scope.c	Mon Sep 24 13:48:53 2007 -0500
@@ -15,14 +15,11 @@
  *  GNU General Public License for more details.
  *
  *  You should have received a copy of the GNU General Public License
- *  w
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  */
 
-#ifdef HAVE_CONFIG_H
-#  include "config.h"
-#endif
+#include "config.h"
 
 #include <glib.h>
 #include <audacious/i18n.h>
--- a/src/blur_scope/config.c	Mon Sep 24 20:20:56 2007 +0200
+++ b/src/blur_scope/config.c	Mon Sep 24 13:48:53 2007 -0500
@@ -1,6 +1,4 @@
-#ifdef HAVE_CONFIG_H
-#  include "config.h"
-#endif
+#include "config.h"
 
 #include <glib.h>
 #include <audacious/i18n.h>